ANT Overview

ANT is a Java-based build tool. ANT build scripts are written in XML and designed to be simple and extensible. The ANT scripting language is very robust and has many features that are beyond the scope of this book. [Hatcher 2003] is a good source for learning to use ANT. Because this book uses ANT in many places, we will provide a brief overview. The ANT language revolves around three constructs: task, targets, and projects:

  • An ANT task is the actual construct that does the work specified. For example, there is an ANT task called <javac>, which is responsible for compiling Java Source. Code Snippet A-1 illustrates an example of how you would use the <javac> task. In the example, the <javac> task takes in several inputs in the form ...

Get IBM WebSphere: Deployment and Advanced Configuration 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.