Packaging using Antenna
Prerequisites:
If the appropriate prerequisites are not met, an error dialog will be
displayed.
Export the Antenna build files from the Mobiles Tools for Java project menu. Choose "Export
Antenna Build Files". The following files will be generated:
- build.xml - The root build file that may be executed using standard Ant
execution. This file is a skeleton that wraps the mtj-build.xml file.
This file may be modified and will not be overwritten during subsequent
export operations.
- mtj-build.xml - This build file handles the calls to the Antenna
library and contains all of the classpath information generated from the
Eclipse projects involved in the export. This file should not be altered, as
it will be overwritten during each subsequent export operation. This file
should be regenerated whenever the project classpath is updated.
- mtj-build.properties - This file contains a set of properties that
define the locations and preferences concerning the build. This file should
not be altered, as it will be overwritten during each subsequent export
operation. The properties in this file may be overridden by creating a
user-build.properties in the same directory as the generated files. Properties
defined in the user-build.properties will override the values in the
mtj-build.properties.