ANT Build Utility
I prefer the ANT build utility when developing Java, JSP and Servlet based
applications. The main reason for this is because I develop on a diverse
assortment of environments and operating systems. Which, if not for ANT,
would force me to acquaint myself with the capabilities of a different IDE per
application. Another benefit of using a build utility like ANT is the
ability to add functionality such as Unit Testing to the build process.
-
The sample build files below have all been tested using ANT version 1.2.
I originally created and tested the sample files with version 1.1 of
ANT but had to upgrade to 1.2 because of minor bugs within the 1.1 version
of ANT.
-
Sample ANT build file for JSP/Servlets. You can view both a
TEXT version or if your browser attempts to
interpret the build file (it is xml) a
HTML version is also available.
Along with this build file, you will need a properties file that
specifies the class paths and file paths required by the application.
Once again, I have included both a
TEXT version and a
HTML version.
-
More to come....
-
Links to relevant sites:
ANT home page
ANT Manual