Building Hecl: Ant Targets

Since Hecl can be built for many different platforms, with many different capabilities, it requires a fairly complex build system, based on Ant, Antenna, and for Java ME, Proguard.. However, it's not necessary to understand the intricacies of this system unless you're doing more advanced hacking: in that case, you should ask on the mailing list if you need help.

The most important build targets are the following:

ant build: Build everything. This is a time-consuming process, but is the best way to make sure you have built everything with the latest code.
ant packageCommandline: Builds the jars/j2se/Hecl.jar file for the j2se/command line version of Hecl.
ant -propertyfile ./cldc11midp20.properties midlet: Builds the MIDP 2.0 version of Hecl.
ant -propertyfile ./cldc10midp10.properties midlet: Builds the MIDP 1.0 version of Hecl.
ant installAndroidPackage: Builds the Android version of Hecl and installs it on the Android emulator, which must be running for the final step to work.
ant docs: Creates both the DocBook documentation and runs Javadoc.