Apache Ant is a Java-based build tool. This chapter describes the basic mechanisms for constructing Java builds using Ant build scripts. I walk through the process of installing Ant, creating Ant build scripts, and invoking them. I also describe how to edit and invoke Ant build files from inside the Eclipse development environment.
To build any project, you must define the set of rules about how the project’s outputs should be constructed. For Java development environments, these rules typically are defined using the Apache Ant build tool. After reading this chapter, you will be able to
Create an Ant build script to compile and test a typical Java project.
Configure Eclipse to ...