Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


Soon after its launch, Ant succeeded in taking the Java world by storm, becoming the most widely used tool for building applications in Java environments. Like most popular technologies, Ant quickly went through a series of early revision cycles. With each new version, more functionality was added, and more complexity was introduced. Ant evolved from a simple-to-learn build tool into a full-fledged testing and deployment environment. Ant: The Definitive Guide has been reworked, revised and expanded upon to reflect this evolution. It documents the new ways that Ant is being applied, as well as the array of optional tasks that Ant supports. In fact, this new second edition covers everything about this extraordinary build management tool from downloading and installing, to using Ant to test code. Here are just of a few of the features you'll find detailed in this comprehensive, must-have guide:

  • Developing conditional builds, and handling error conditions

  • Automatically retrieving source code from version control systems

  • Using Ant with XML files

  • Using Ant with JavaServer Pages to build Web applications

  • Using Ant with Enterprise JavaBeans to build enterprise applications

Far exceeding its predecessor in terms of information and detail, Ant: The Definitive Guide, 2nd Edition is a must-have for Java developers unfamiliar with the latest advancements in Ant technology. With this book at your side, you'll soon be up to speed on the premiere tool for cross-platform development. Author Steve Holzner is an award-winning author who s been writing about Java topics since the language first appeared; his books have sold more than 1.5 million copies worldwide.

Subscriber Reviews

Average Rating: 4 out of 5 rating Based on 1 Rating

"A good tutorial and reference for using Ant" - by Christopher on 20-MAR-2011
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
This book really helped me get off the ground with Ant.  I've been to the Apache Ant site which is necessary as a reference.  But when you aren't sure where to start, it isn't the best source of information.

This book starts with a good "getting started" intro, then step-by-step gets deeper into its usage.  It even covers how Ant is integrated with Eclipse, was immensely useful.

I will also be able to go back to it when I need a refresher, as it also has detailed tables and descriptions of many Ant tasks.

Report as Inappropriate

Table of Contents



The publisher has provided additional content related to this title.


Visit the catalog page for Ant: The Definitive Guide, 2nd Edition

  • Catalog Page

Visit the errata page for Ant: The Definitive Guide, 2nd Edition

  • Errata

Download the supplemental electronic content for Ant: The Definitive Guide, 2nd Edition

  • Supplemental Content