2.3. Ant

Apache Ant is a Java-based build tool. It can be used to automate tasks.

  1. Download the Ant distribution from the internet (http://ant.apache.org).

  2. Unzip the file to c:\software

  3. Add c:\software\jakarta-ant-1.5\bin to the path.

  4. Add a new enviroment variable, JAVA_HOME pointing to your installation of the Java Development Kit, e.g. c:\program files\java\jdk1.5.0_05.

The BMFO distribution contains 3 ANT build files:

build.xml - used to build the sourcecode distribution
doc/build.xml - used to build the documentation from the DocBook sources
script/test/build.xml - used to run the Canoo webtest
servlet/build.xml - used to build the bmfo_reports.war web application archive