Installing Apache Ant

 Install Apache Ant

Download the binary package apache-ant-1.5.4-bin.tar from the class website at:

Use the following command to unpack the .tar package:

gtar xvf apache-ant-1.5.4-bin.tar

You should delete apache-ant-1.5.4-bin.tar which is no longer needed. Also you should delete the subdirectory "docs" to conserve space.

In your root directory (/home/scf-xx/YOUR-USERNAME/), set new environment variables, by appending the following lines to the file .cshrc:

setenv ANT_HOME ~/apache-ant-1.5.4

setenv PATH ${ANT_HOME}/bin:${PATH}

Copy the file $CATALINA_HOME/server/lib/catalina-ant.jar from your Tomcat 4 installation into the "lib" directory of your Ant installation.