Building Mobile Enterprise Applications : Using webMethods Mobile Designer : Project Properties Reference : Resource Handler Properties
Resource Handler Properties
The resource handler properties provide information about the project’s resource handler. For more information about how you define the resource handler for a project, see Defining Resources for a Mobile Application Project.
debug.remember.resource.names
Specifies whether you want the Mobile Designer to record the names of the resources included in the build.
Platforms
All
Value
*true if you want to record the names of the resources.
When the property is set to true, the Mobile Designer run-time debug output references these names directly, instead of the ID numbers.
Setting the property to true results in extra code and a larger data pool resulting from all the resource names that are stored in the final binary.
*false if you do not want to record the names of the resources.
You should set the property to false when preparing a release build.
Default
false
mobiledesigner.run.reshandler.with.beanshell
Deprecated. Specifies whether to use the BeanShell provided with Mobile Designer.
Platforms
All
Value
*true if you want to use the BeanShell provided with Mobile Designer. You do not have to use this if you are not using Software AG Designer to develop your mobile applications.
*false if you do not want to use a BeanShell. The resource handler code is compiled, and then run with the normal Java executable.
Default
false
project.audio.file.extensions
Specifies the file extension required for the audio files that a device supports.
Platforms
All
Value
File extension for the audio, for example .mp3, .wav, or .mid.
Default
The default is based on the specific device and is set in the device’s device profile. You can find the device profiles in the following location:
Mobile Designer_directory /Devices
project.audio.spec
Specifies the style of audio that a device supports.
Platforms
All
Value
Style of audio, for example mp3, wav, or midi.
Default
The default is based on the specific device and is set in the device’s device profile. You can find the device profiles in the following location:
Mobile Designer_directory /Devices
project.compiled.resources.info.format
Specifies the file format that you want Mobile Designer to use for the _compiled_resources file. Mobile Designer saves this file in a project’s _temp_ directory.
Note:  
Set this property in the project’s _default_.xml file, and not in a specific target device file, target_name.xml.
Platforms
All
Value
*txt if you want Mobile Designer to create a text format compiled_resources file (_temp_\_compiled_resources.txt).
*xml if you want Mobile Designer to create an XML format compiled_resources file (_temp_\_compiled_resources.xml).
Default
txt
project.jar.midlet.icon.spec
Specifies the icon(s) to use for the application’s MIDlet-icon for a specific device.
Platforms
All
Value
Name of the portable network graphic (.png) file(s) to use for the application’s MIDlet-icon.
Use this property to include the required icon(s) so that the icon for your application when it is installed on the target devices meets your company and/or application branding requirements. A best practice is to name the icons so that the name includes the size of the icon, for example icon-64x64-24bit.png. Store the image files in a subfolder that your resource handler can easily reference.
Default
The default is based on the specific device and is set in the device’s device profile. You can find the device profiles in the following location:
Mobile Designer_directory /Devices
In the device profiles that Mobile Designer provides, the provided icons are Software AG and Mobile Designer icons.
project.java.reshandler.name
Specifies the Java package/class name of the resource handler class you created for your project. For more information about creating a resource handler for your project, see Coding the Resource Handler.
Platforms
All
Value
Name the Resource Handler class name.
Default
None.
Note:  
You must specify this property for a project.
project.reshandler.additional.libs.path
Specifies the Ant path to additional libraries that your project’s resource handler requires. This is not an Ant property. Use the following format to specify the Ant path:
<path id="project.reshandler.additional.libs.path">
<pathelement path="path"/>
</path>
For example:
<path id="project.reshandler.additional.libs.path">
<pathelement path="${basedir}/reshandler/libs"/>
</path>
Platforms
All
Value
Path to the additional libraries for the project’s resource handler
Default
None.
Note:  
If you use additional libraries for the resource handler, you must specify this Ant path for a project.
project.reshandler.src.path
Specifies the path to the project’s resource handler script and any associated classes. In other words, the path to the Java class you specify with the project.java.reshandler.name property.
This is not an Ant property. Use the following format to specify the Ant path:
<path id="project.reshandler.src.path">
<pathelement path="path"/>
</path>
For example:
<path id="project.reshandler.additional.libs.path">
<pathelement path="${basedir}/reshandler"/>
</path>
Platforms
All
Value
Path to the Java class specified by the project.java.reshandler.name property
Default
None.
Note:  
You must specify this Ant path for a project.
project.resource.dir.root
Specifies the path to the top-level folder that contains the resources (audio files, image files, etc.) for your project. For example, you might have a resources folder that contains subfolders with the resources:
MyProject
resources
audio
graphics
icons
text
For this example, set the property to point to the top-level folder, "${basedir}/resources". For more information about how to specify resources for your project, see Setting Project Properties for the Resource Handler.
Platforms
All
Value
Path to the top-level folder that contains the project resource files.
Default
None.
Note:  
You must specify this property for a project.
Copyright © 2007-2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback