MobileFirst Studio 8.0 installation - ibm-mobilefirst

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

Related

Targeting build for Worklight 6.2

I am developing on Eclipse Juno SR2 with MobileFirst 7.x installed from Eclipse Market Place.
However, my target server is Worklight 6.2. How do I create a .wlapp build for targeting to 6.2 version? There doesn't seem to be a target version to choose from in eclipse.
The build I create has a platformversion 7.x which is failing to install in Worklight 6.2 console.
There is no backwards compatibility for what you are attempting.
You cannot run MobileFirst 7.1 apps on Worklight 6.2; these are very very different releases that are simply not compatible.
If you develop using 7.1, use 7.1.

MobileFirst Studio Upgrade Issue

I just upgrade my current mobilefirst studio to latest version. After the Update i can't able to open the my projects.It's showing the following error when tried to open the project.
"Migrating the ProjectName project from version 7.0.0.00.20150610-1353
to version 7.1.0.00.20150807-0630 has failed because There is no
available migration path. Use the latest MobileFirst Studio or the
latest "IBM MobileFirst Studio Upgrader" from IBM Fix Central site
http://www.ibm.com/support/fixcentral/ "
This question is useless without providing a project that demonstrates the failure in upgrade in MobileFirst Studio.
As such, the only alternative I can offer is for you to create a new project in MobileFirst Studio, and copy over into it your web resources to the corresponding folders: the JavaScript, CSS and HTML, as well any custom classes you may have implemented.

Building And deploying app to MobileFirst using ANT script

i have a eclipse with mobile first plugin installed. is it possible to build and deploy the app and adapters using ANT scripts to the mobile first server?..or do i need a standalone MobileFirst server installation(Mobile First with WAS liberty profile) to do this?..
If you have Eclipse with MobileFirst Studio, then you are not supposed to use ANT for building and deploying - you have the Eclipse UI for it.
You must not use the MobileFirst Studio for anything else other than development purposes.
Make sure you have bought MobileFirst Platform so that you could deploy it to a WAS/Liberty/Tomcat instance, where you can then also use Ant to deploy artifacts to the MobileFirst Server.
I suggest reading here: https://www-01.ibm.com/support/knowledgecenter/#SSHS8R_6.3.0/wl_welcome.html

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.

IBM Worklight 6.1 - Build and Deploy not available?

I have used Worklight 5 for Eclipse Juno multiple times and had great success when building hybrid apps for Android and iOS. However, I just recently installed a new version of Eclipse Juno on a new computer and later installed Android ADT and Worklight.
Eclipse works as normal for non-Worklight apps. When I create a Worklight 6.1 project and right-click the common folder, select "Run-As", I am not presented with any options to do just that. I am only seeing the options for "Preview and Run configurations" but should be seeing these mentioned options and "Build and Deploy".
Is there something corrupted in Worklight that I need to change to make these options re-appear? Are these options no longer used? If they are not used, how do I deploy a hybrid to Android, iOS, or any other platform?
In Worklight 6.1 they have re-swizzled the options a bit, but if you want the equivalent of "Build all and Deploy," select: "Run on Worklight Development Server." You need to select the App, not the common folder to get that option.
Since you say you've been using Worklight 5 and have now switched to Worklight 6.1.0, I suggest that you will review the following:
What's New in Worklight 6.0.0.0
What's New in Worklight 6.1.0.0
IBM Worklight training modules
The Run As > Build and Deploy action was renamed to Run As > Run on Worklight Development Server and additional actions were added as well. You will want to take some time to re-familiarize yourself with the production...
Tip: no need to re-build after every web resource change you make; just refresh your previewed app and the change will be there.
In the image:
Run on Worklight Development Server = build and deploy
Build Android Environment = build only, don't deploy
Run on Android Studio = if you've installed Android Studio, the built project will open there
Build Settings and Deploy Target = configurations for minification/concatenation/other as well as changing the server the app will be deployed to, etc.
If you do not see these actions, I think it'd be best if you will get a fresh copy of Eclipse Java EE (4.2.2 ("Juno" SR2) or 4.3.1 ("Kepler" SR1)) and re-install Worklight Developer Edition from the Eclipse Marketplace (or your Consumer/Enterprise Edition if you're a Business Partner/Customer).