Apache Ant tutorials.
Options present to build source, from Apache Ant are:
• Installation of the Ant source distribution
• Checking out of the Ant module, from SVN
Your installation directory shall be changed after the installation is done.
JAVA_HOME environment variable shall be set, to the JDK installation directory.
These commands are used to build by the help of Ant:
build -Ddist.dir=<directory_to_contain_Ant_distribution> dist