Java Ant Installation

Published: Wednesday, 11 August 2004
  • Visit the Apache Ant Project, download the binary (e.g. version 1.6.2) and extract the distribution.
  • Add the ANT_HOME/bin directory to your PATH
  • Copy the junit.jar found when you unpack the junit distribution, into the ANT_HOME/lib directory. This is needed so we can run unit tests as part of the ant build.
  • Verify that it is installed by typing ant at the command prompt:
$ ant
Buildfile: build.xml does not exist!
Build failed