Chapter 4. Defining Your Build and Release Scripts

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.

Aims of This Chapter

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 ...

Get IBM Rational ClearCase, Ant, and CruiseControl: The Java Developers Guide to Accelerating and Automating the Build Process now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.