You can create an integrated development environment (IDE) by installing the Eclipse IDE
and MobileFirst
Studio. You can use the IDE
to develop, test, and configure mobile apps before you deploy them to MobileFirst
Server or to mobile devices.
About this task
MobileFirst
Studio is
an Eclipse-based development environment that can be used to configure
the Maximo Anywhere apps.
You install MobileFirst
Studio from
the Eclipse integrated development environment (IDE) workbench. A
set of platform development tools are also required to build and deploy
the mobile apps.
You can use the mobile browser simulator, the Android Emulator,
or the iOS Simulator
to view and test the mobile apps.
You can customize the mobile apps when they are deployed. For more information, see Customizing Maximo Anywhere mobile apps.
Procedure
- Install Eclipse IDE:
- Go to Eclipse IDE for Java EE Developers and download Eclipse IDE
for Java EE Developers (Eclipse Kepler 2).
- Extract the compressed folder and run the Eclipse application.
- Set up your Eclipse development environment:
- Check whether the Eclipse JSDT plug-in is installed. The JavaScript Development
Tool (JSDT) plug-in helps you navigate through the Java™ Script code in Eclipse.
- Select and click the WTP icon (Eclipse Web Tools Platform).
- In the About Eclipse Features window, browse the Feature
Name list for Eclipse JavaScript Development
Tools.
- If the JavaScript Development
Tools plug-in is not already installed, complete the following steps:
- Select .
- In the Add Repository window, specify the
following URL in the Location field: http://download.eclipse.org/webtools/repository/kepler.
- In the Name field, specify Eclipse
WTP.
- Select and install the plug-in.
- Set Google Chrome as the default
web browser by selecting . If Chrome is not available in the External web
browsers window, click New, specify Chrome
in the Name field and browse to the Chrome.exe file
which is in the C:\Program Files (x86)\Google\Chrome\Application directory on
Windows systems. Click
OK to apply your changes. Alternatively, you can set your default web browser to Chrome.
- Install MobileFirst
Studio Consumer
Edition:
- In Eclipse, select .
- In the Add Repository window, click Archive.
- Browse to the MaxAny_763_MobileFirst_71/MobileFirstStudio.zip folder and
click .
- On the Available Software pane, select IBM MobileFirst Platform
Studio Development Tools. The following items are selected for installation: IBM Dojo Mobile Tools, IBM jQuery Mobile
Tools, and IBM MobileFirst® Platform Studio.
- Click .
- Restart Eclipse to apply the changes.
- Import the MaximoAnywhere project into MobileFirst
Studio.
- In Eclipse, click , select Existing Projects into Workspace and click
Next.
- Click Select root directory and specify the path to
\IBM\Anywhere.
- Select the MaximoAnywhere project and click Copy projects into workspace. Click
Finish.
- In the Project Explorer pane, expand all nodes. Right-click the
OSLCGenericAdapter folder and select .
- Right-click the application folder and click .
- To preview the app, right-click the application folder and click .
- To build apps for Android devices,
install the Android Development Tools (ADT)
plug-in:
- In Eclipse, select .
- In the Add Repository window, specify the following URL in the
Location field:
https://dl-ssl.google.com/android/eclipse/.
- In the Name field, specify Android Development
Tools and click OK.
- On the Available Software pane, click .
- Restart Eclipse and specify a workspace directory.
- Open the Eclipse Preferences window and specify the Android SDK path. Click to apply the changes.
- On the Welcome to Android Development pane, select Use existing
SDKs and browse to the SDK directory. Click .