- 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 yourPATH
- Copy the
junit.jar
found when you unpack the junit distribution, into theANT_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