Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




Eclipse Java ME (J2ME) Developer Guide
Previous Page Home Next Page

Packaging using Antenna


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.
  • - 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 in the same directory as the generated files. Properties defined in the will override the values in the
  • *.symbols - Files with a name "<Configuration_Name>.symbols", such as "DefaultColorPhone.symbols", "A910.symbols". These files contain symbols for each configurations for Antenna preprocessor to do preprocess. Do not change this files directly, if you want to change symbols for a configuration, please do that via Configuration Edit Dialog, and then re-export Antenna build files.

Right click on exported build.xml file, and select Run as -> Ant Build, then refresh the project. You will find packages in deployment folder.

  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire