Building
From Ratwiki
The packages that J2Menace is composed of require all have an ant based build process. This decision was taken so that the packages are not tied to one specific IDE.
Dependencies
To build any of the packages of the box you'll need the following components installed and working on your system:
- Sun's wireless toolkit - http://java.sun.com/products/sjwtoolkit/
- Apache ant - http://ant.apache.org/
- Antenna - http://antenna.sourceforge.net/
- Proguard - http://proguard.sourceforge.net/
Building
- Go to the root directory of the package you want to build
- Edit build.system.properties to have the correct paths to Antena, Wireless Toolkit and Proguard
- To build a library or application type ant clean build package
Jar files (and jad files if building an application) will be found in the build/jar directory
Additional ant tasks
If you want to see what other build options are available type ant or ant help in the package root directory
To build the documentation, type ant javadoc
To build and run an application, type ant clean build package run