Building Mobile Enterprise Applications : Using webMethods Mobile Designer : Building Mobile Applications : Using Native Tools to Create the Final Binary
Using Native Tools to Create the Final Binary
If you want to use platform-specific, native tools to create the final binary and package your application, you can use the Mobile Designer +Multi-Build or +Target-Build Ant target to build your project, but have Mobile Designer skip compiling your project into binary and packaging your application for the target device. You can move the cross-compiled code and platform-specific project that Mobile Designer creates to the platform-specific tool to create the final binary.
For information about the actions that Mobile Designer performs to build your project, including the actions that Mobile Designer skips when you perform the following procedure, see Build Process Overview.
Note:  
Before you build your project, be sure you have completed the required setup. See Before You Can Build a Mobile Application Project.
To use native tools to create the final binary for your project
1. Set the project.handset.skip.compilation property to true to indicate that you want Mobile Designer to skip compiling your project into binary and packaging your application for the target device. For instructions for how to set a property, see Setting Project Properties.
2. Start the build using one of the following Ant targets:
*+Multi-Build Ant target. For instructions, see Building a Project for Multiple Target Devices.
Be sure you select the Retain output build files in the Multi Build dialog.
*+Target-Build Ant target. For instructions, see Building a Project from the Command Line.
Be sure you set the retain option to true.
3. After the build is complete, locate the cross-compiled code and platform-specific project.
When Mobile Designer builds your project, it adds a Builds folder to your project folder. Within the Builds folder, Mobile Designer creates a _temp_ folder for each device. The cross-compiled code and the platform-specific project reside within the _temp_ folder:
project/Builds/x.y.z/device/_temp_
In the folder location above:
*project is the name of your project.
*x.y,z is the version number you specified for the build.
*device is the name of a device for which Mobile Designer built your application.
You can find the cross-compiled code and the platform-specific project in the _temp_/_language_ folder. If you created a patch file for the application, you can find the patched versions in the _temp_/_language_edit_ folder. For example, for an Android build, you can find the cross-compiled code in the _temp_/_java_ folder, and if a patch was applied, the patched version of the code is in the _temp_/_java_edit_ folder.
4. Copy the files you need to create the final binary to the platform-specific, native tool. Then use the native tool to create the final binary.
Copyright © 2007-2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback