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:
junittask: 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
cactus-ant.jarjar file ( found in the
lib/directory where you unpacked the Cactus distribution).
checkstyletask: 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.
ANT_HOMEthat points to the
PATHenvironment variable to include the
%ANT_HOME%\bindirectory (so that you'll be able to type
antin a DOS shell, in whatever directory and it will call the
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,