Installing and using Mobile Suite : Using webMethods Mobile Designer : Customizing the Build Process : Setting Properties at Build Time Using a Custom JPanel : Setting JPanel Properties
Setting JPanel Properties
This section lists the JPanel properties to specify when you want to use a custom JPanel for your project. Include these properties in your project’s build.xml file.
project.uses.defined.jpanel
Specifies whether you want to include a custom JPanel in the Multi Build and Activate Handset dialogs.
Platforms
All
Value
*true if you are using a custom JPanel.
*false if you are not using a custom JPanel.
Default
false
Use the following format to add the Ant property to your project’s build.xml file:
<property name="project.uses.defined.jpanel" value="value"/>
For example to indicate that you are using a custom JPanel:
<property name="project.uses.defined.jpanel" value="true"/>
project.jpanel.src.path
Specifies the Ant path to the source code for the custom JPanel. The source code for your custom JPanel must be called MyJPanel.java.
Platforms
All
Value
Path to the MyJPanel.java file.
Default
null
Use the following format to add the Ant path to your project’s build.xml file:
<path id="project.jpanel.src.path">
<pathelement path="path"/>
</path>
For example:
<path id="project.jpanel.src.path">
<pathelement path="${basedir}/jpanel"/>
</path>
project.jpanel.additional.libs.path
Specifies the Ant path to additional libraries that your custom JPanel requires.
Platforms
All
Value
Path to the libraries
Default
null
Use the following format to add the Ant path to your project’s build.xml file:
<path id="project.jpanel.additional.libs.path">
<pathelement path="path"/>
</path>
For example:
<path id="project.jpanel.additional.libs.path">
<pathelement path="${basedir}/jpanel/libs"/>
</path>
Copyright © 2007-2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback