Build Script Properties
The build script properties are properties you are required to put in your project’s build.xml file.
additional.device.profiles.dir.root
Specifies the location of a folder that contains custom device profiles for your project.
You might want to create your own custom device profiles, but you do not want to include them in Mobile Designer device database. In this situation, set up a separate folder to contain the your additional, custom device profiles, which must use the same XML format that Mobile Designer uses for the device profiles it provides.
To use the custom device profiles for a project, include this property in the project’s build.xml file. You must place it in the build.xml file before the following line that imports the targets.xml:
<importxmldirectory location="${basedir}/targets"/>
Platforms | All |
Value | Directory that contains custom device profiles For example: <property name="additional.device.profiles.dir.root" value="${basedir}/device_info"/> |
Default | None. Note: | Mobile Designer does not use custom profiles if you do not include this property. |
|
mobiledesigner.buildscript.version
Specifies the version of the Mobile Designer build scripting system to use when building your application. Define this property in the project’s build.xml file.
Platforms | All |
Value | v1.0.0 Note: | Currently the only supported value is v1.0.0.This property is for backward compatibility in the event Mobile Designer uses a different build scripting system in the future. |
|
Default | None. Note: | You must specify this property for a project. |
|
mobiledesigner.runtime.version
Specifies the version of the Mobile Designer run-time code to use for your application. Define this property in the project’s build.xml file.
Mobile Designer
Platforms | All |
Value | v1.0.0 Note: | Currently the only supported value is v1.0.0.This property is for backward compatibility in the event Mobile Designer uses a different run-time code in the future. |
|
Default | None. Note: | You must specify this property for a project. |
|
project.jar.name
Specifies a text name you want your application to have when installed on a device. Define this property in the project’s build.xml file.
Platforms | All |
Value | Name for your project. Valid characters are alphanumeric (A-Z, a-z, 0-9), period (.), and hyphen (-). For example: <property name="project.jar.name" value="HelloWorld"/> |
Default | None. Note: | You must specify this property for a project. |
|
project.java.midlet.name
Specifies the name of the root MIDlet/Application class of your project's run-time code. Typically this is the class that extends
com.softwareag.mobile.runtime.core.Application. Define this property in the project’s build.xml file.
Platforms | All |
Value | For example: <property name="project.java.midlet.name" value="com.softwareag.mobile.helloworld.MyApplication"/> |
Default | None. Note: | You must specify this property for a project. |
|