O'Reilly logo

IBM Rational ClearCase, Ant, and CruiseControl: The Java Developers Guide to Accelerating and Automating the Build Process by Kevin A. Lee

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required