Ant — Build Control

Introduction

I’ve mentioned that for larger projects/examples on thinkmiddleware.com, Ant would be used. The Java Security Manager article was the first time it was used. Although, the full details of the source code were not included, Ant was used.

Ant is a Java-based version of Make.

Build script

Ant builds are controlled by a build script. The default name of build scripts are build.xml in the local directory. The build.xml file used in the Java Security Manager project in the last post can be found here. References

Feel free to use this build.xml file as a base for your own projects, if you find it useful.

The Internet is already littered with articles and tutorials for using Ant.

Reference

[1] http://ant.apache.org/
[2] http://www.gnu.org/software/make/