Installing and using Mobile Suite : Using webMethods Mobile Designer : Building Mobile Applications : Building a Project from the Command Line
Building a Project from the Command Line
You can build your project from the command line using the +Target-Build Ant target. When using the +Target-Build Ant target, you can build for only a single device/language combination at a time. To execute the Ant target, from the command line navigate into the project's folder.
For information about the actions that Mobile Designer performs to build your project, 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.
Syntax
version=x.y.z [retain={true | false}] handset=device langgroup=language
platform=platform target=executable_type +Target-Build
Options
Option
Description
version=x.y.z
Required. Specifies the version number for the application your are building.
[retain={true | false}]
Optional. Specifies whether you want Mobile Designer to retain the cross-compiled code it generated from your original Java code, along with any platform-specific project it might have generated
The default is true.
handset=device
Required. Specifies the device for which you want Mobile Designer to build the application.
langgroup=language
Required. Specifies the language(s) for which you want Mobile Designer to build the application.
platform=platform
Required. Specifies the platform for which you want Mobile Designer to build the application.
target=executable_type
Required. Specifies the type of executable you are building. For example, you might specify release or debug.
Example
To build version 2.0.3 of your project for the IOS_Apple_iPhone5 device, which runs on the iOS platform, for the language group EFIGS to create an executable version for the Apple App Store.
ant -Dversion=2.0.3 -Dretain=true -Dhandset=IOS_Apple_iPhone5 -Dlanggroup=EFIGS
-Dplatform=IOS -Dtarget=appstore +Target-Build
Because retain is set to true, Mobile Designer retains the cross-compiled code it generated from your original Java code, along with any project (for example, Xcode project for iOS) it might have generated.
Copyright © 2007-2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback