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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.