This tutorial explains how to install Ant properly to be able to run the Sample application provided with the Cactus distribution and also build the Cactus distribution from the sources.
Cactus uses the following optional tasks of Ant:
junit task: it is used to run
the unit tests of Cactus itself and the Cactus unit tests of the
Sample application. This task is
normally found in the optional.jar Ant jar.
cactus-ant.jar jar file (
found in the lib/ directory where you unpacked the
Cactus distribution).
checkstyle task: it is used only
to build Cactus from the sources (i.e. not needed for building the
Cactus sample application). The version of
Checkstyle used is 3.0+.
jakarta-ant-<version>-bin.zip) from
here. We recommend version 1.5.3 or
above. Alternatively you can download the
prepackaged Ant version, as mentioned above.
antroot,
ANT_HOME that
points to the antroot directory,
PATH environment variable to include the
%ANT_HOME%\bin directory (so that you'll be able to type
ant in a DOS shell, in whatever directory and it will
call the %ANT_HOME%\bin\ant.bat script,
jakarta-ant-<version>-optional.jar) from
here
and put it in %ANT_HOME%\lib. Note that this step
is needed only if you haven't downloaded the prepackaged zip,
%ANT_HOME%\lib.