

We also include the class files present in the build.dir in the master class path.

We also define the master class path, which contains the JAR files present in the WEB-INF/lib folder of the project. javadoc.dir is the folder for storing the java documentation, and build.dir is the path for storing the build output files.Īfter that, we declare the name of the web application, which is fax in our case. Then, we declare the source folder for the web files in the web.dir variable. We also declare the source folder for the java files in the src.dir variable. We first declare the path to the webapps folder in Tomcat in the build properties file as the deploy.path variable. The file is given below for build.properties. Now, it is time to put everything together to create a full and complete build.xml file.Consider build.properties and build.xml files as follows − build.properties We have learnt the different aspects of Ant using the Hello World Fax web application in bits and pieces.
