I canot add Mobile SDK (Sun Wireless Toolkit) to IntelliJ IDEA - intellij-idea

I have IntelliJ IDEA 10.3 Community Edition installed along with JDK 1.6 which has been working fine for Android development.
Now that I am trying to develop J2ME applications, I installed Sun WTK 3.0, but I am unable to add it to IDEA since there is no "Add mobile SDK" option in Project Structure dialog.

Java ME plug-in is not available in the Community Edition. It is supposed to be available from Settings | Plugins, but for some reason it was not published there.
The solution would be to download and Ultimate Edition and copy IDEA_UE/plugins/j2meplugin into IDEA_CE/plugins.
There is an open issue for this problem.

Related

MobileFirst Studio 8.0 installation

I have install MobileFirst 8.0.0 studio plugin from eclipse marketplace. But I can not find option to create new MobileFirst project like which I used to find in version 7.1.0.
So there is no support in eclipse for 8.0 version? Only CLI is available for version 8.0? or is there any other way? Can some one help me in this.
In MobileFirst Foundation 8.0 you create either native apps (using Xcode, Android Studio, Visual Studio) and add the SDK to the project, or standard Cordova apps (using the Cordova CLI) and add the MobileFirst Cordova plug-in.
MobileFirst Studio 8.0 for Eclipse is meant to work in conjunction with the THyM plug-in for Eclipse as a way to create an IDE to develop your Cordova application.
Learn more about to get started with development in Eclipse, in this tutorial: https://mobilefirstplatform.ibmcloud.com/tutorials/en/foundation/8.0/application-development/using-mobilefirst-cli-in-eclipse/
You can still use MFP CLI to deploy the app/artifacts on to MFP server.
For more/clear details please refer the Migration Cook Book

Worklight 6.2 .wlapp deployment.data file format

I need to deploy an application to Worklight 6.2, but the latest IDE i have only targets for MobileFirst 7.1. I am trying to manually edit the meta/dployment.data file(pasted below). I updated the platform.version to 6.2 manually. Can someone help me with:
If someone can share a sample .wlapp archive targetted for WL 6.2, specifically iOSNative app with authentication disabled.
Or if someone can help me plug the right values into below file. Mainly this value "app.authenticity.obscuredata=23.507-9.852-31.807"
This is the content of XYZ.wlapp/meta/deployment.data file
#Deployment data.
#Tue Mar 01 14:06:35 PST 2016
app.build.time=1456869995617
app.displayname=RLReplen
platform.version=6.2.0.01.20141027-1531
app.target.category=UNDEFINED
app.ios.bundle.id=com.pr.RLReplen
app.version=1.0
app.environment=iOSnative
app.license.type=APPLICATION
app.description=A native iOS applicatio
app.native=true
app.authenticity.obscuredata=23.507-9.852-31.807
app.id=RLReplen
This is not possible, as explained in your previous question.
If you need the Studio for 6.2, then do not install Studio from Eclipse marketplace, as from there you get only the latest studio - 7.1. The latest is simply not backwards compatible, nor can it be as the product has changed significantly. You also cannot take a 7.1 project and open it in Studio 6.2 and expect it to work... or start altering it.
You need to create a new 6.2 project using Studio 6.2, and copy your implementation into it.
Please go to IBM Fix Central, download Studio for your build level (6.2), and install it manually into your Eclipse. And use that.
Only 6.2 studio will produce 6.2 server compatible projects, applications, adapters and any other artifacts.

configuring worklight with eclipse

I'm configuring my eclipse with the worklight with this steps while doing that i'm getting the above error as shown in the image.
1) Worklight is pretty specific to which editions and versions of eclipse are known to work. Running with other editions or versions can lead to unpredictable results. For the current version of IBM Worklight Studio (v6.2), which is on Eclipse Marketplace, double check to ensure you have:
Eclipse IDE for Java EE Developers
Juno SR2 (4.2.2), Kepler SR1 (4.3.1), Kepler SR2 (4.3.2), or Luna R (4.4).
as described in the Developer Edition overview. Also check the other system requirements listed there.
2) You cannot upgrade to Worklight Studio V6.2 from an earlier version of Worklight Developer Edition.
3) Google "MD5 Hash Eclipse". There are lots of suggestions (make sure you're running eclipse as administrator, check your firewall, check your java version, etc.)
4) Could be a corrupted download by eclipse. Try downloading the IBM Worklight Studio 6.2 zip file and installing it as a local archive within Eclipse.
I believe these are network problems. You should try later or in a different network connection.
By the way, I highly recommend to use an Eclipse Java EE version.

Using Worklight Studio Plugin with Rational Application Developer

Is it possible to use the Worklight Studio plugin for eclipse with IBM's Rational Application Developer IDE (8.5).
It depends on the Worklight Studio version you are trying to use.
If you try to install the latest available version from Eclipse marketplace (the developer edition which is 6.1.0.1), then it won't be possible, since RAD 8.5 uses Eclipse 3.6 while Worklight Studio needs to be installed on 4.2.2
An older version of Worklight Studio would allow you to do that combination, but if you are willing to do a migration, the best would be to get some flavor or RAD 9 (which is based on Eclipse 4.2, then compatible with Worklight Studio).
Regards
Orlando

Can Worklight Studio 6.0 and Worklight Studio 6.1 be installed on the same machine

I have a laptop running Windows 7 Pro. Is it safe to install both WL studio 6.0 and 6.1 on the same laptop? If it is safe to have both versions installed can the Android SDKs be shared between the installs or should each version of WL studio have its own install of the Android SDKs.
Thank you for any advice you can provide.
You can easily install multiple versions of WL studio on 1 machine, just use a fresh install of Eclipse for each version. Creating separate workspaces inside of eclipse will have the same version of WL across all workspaces so you will need multiple Eclipse instances to accomplish this. In regards to your Android SDK question you can point each eclipse instance to the same Android SDK, but you will need to install the android tools on each version in order to work properly.
Please make sure you are running the latest 6.0.0.x ifix when attempting to run at the same time as some issues were resolved in this version. If you are an IBM WL customer please request the latest fix pack containing this fix.
Also, ensure you install the right version of Eclipse for each Worklight Studio version. Worklight 6.0 only runs on eclipse 4.2.2 (Juno SR2), while Worklight 6.1 runs on either eclipse 4.2.2 or eclipse 4.3.1 (Kepler SR1). See System Requirements for detailed requirements for all Worklight versions.