Buying Options
Ant: The Definitive Guide, Second Edition
Print $34.95
Add to Cart
Print+Ebook $38.45
Add to Cart
Ebook $27.99
Add to Cart
Safari Books Online
Add to Cart
What is this?
Print £26.99
Add to Cart
What is this?

Product Editions

  1. Ant: The Definitive Guide, Second Edition - April 2005
  2. Ant: The Definitive Guide - May 2002
Description
As the most widely used tool for cross-platform development, Ant has undergone a number of important changes in its functionality and use since its launch. Ant: The Definitive Guide, 2nd Edition has been reworked to reflect these changes for Java developers everywhere. Topics covered include everything from downloading and installing, to using Ant to build Web applications, to using Ant to test code.
Full Description
Table of Contents
  1. Chapter 1 Getting Started

    1. Ant's Origins

    2. Getting Ant

    3. Ant at Work

    4. Anatomy of a Build File

    5. Running Ant

  2. Chapter 2 Using Properties and Types

    1. Using Properties to Control Tasks

    2. Using Property Files

    3. Handling Data Using Types

  3. Chapter 3 Building Java Code

    1. Compiling Code

    2. Getting Input from the User

    3. Calling Other Ant Tasks

    4. Importing Other Build Files

    5. Documenting Code

    6. Creating JAR Files

    7. Setting Build Numbers

    8. Setting Timestamps

  4. Chapter 4 Deploying Builds

    1. Packaging Applications for Deployment

    2. Preparing to Deploy

    3. Deploying Applications

    4. Scheduling Automatic Builds

  5. Chapter 5 Testing Builds with JUnit

    1. Using JUnit

    2. Running Test Cases

    3. Testing in Batches

    4. Running the Build File

    5. Extending JUnit

  6. Chapter 6 Getting Source Code from CVS Repositories

    1. Source Control and Ant

    2. Logging In

    3. Working with the Server

    4. Getting Version Data

    5. Creating Change Logs

    6. Finding Changes Between Versions

    7. Creating Patches

  7. Chapter 7 Executing External Programs

    1. Executing Java Code

    2. Executing External Programs

    3. Performing Batch Execution

    4. Multithreading Tasks

    5. Setting Execution Order

  8. Chapter 8 Developing for the Web

    1. Creating WAR Archives

    2. Creating CAB Files

    3. Creating Simple Web Deployment

    4. Deploying with SCP

    5. Deploying to Tomcat

    6. Deploying to Tomcat

    7. Compiling JSPs

    8. Deploying to EJB Containers

  9. Chapter 9 XML and XDoclet

    1. Validating XML Documents

    2. Loading Properties from XML Files

    3. Creating Ant Task DTDs

    4. Transforming XML Using XSLT

    5. Using XDoclet

    6. Developing Enterprise JavaBeans

  10. Chapter 10 Optional Tasks

    1. Using Sound

    2. Creating Splash Screens

    3. Subtituting Text Using Regular Expressions

    4. Handling Dependencies

  11. Chapter 11 Integrating Ant with Eclipse

    1. Introducing Eclipse

    2. Running Ant Build Files

    3. Using a Different Version of Ant

    4. Using the Ant View

  12. Chapter 12 Extending Ant

    1. Creating a Simple Custom Ant Task

    2. Extending the Task Class

    3. Creating Custom Listeners

    4. Creating Custom Loggers

    5. Creating Custom Filters

    6. Creating Custom Selectors

    7. Creating New Types

  1. Colophon

View Full Table of Contents
Product Details
Title:
Ant: The Definitive Guide, Second Edition
By:
Steve Holzner
Publisher:
O'Reilly Media
Formats:
  • Print
  • Ebook
  • Safari Books Online
Print Release:
April 2005
Ebook Release:
February 2009
Pages:
336
Print ISBN:
978-0-596-00609-9
| ISBN 10:
0-596-00609-8
Ebook ISBN:
978-0-596-10444-3
| ISBN 10:
0-596-10444-8
Customer Reviews
About the Author
  1. Steve Holzner

    Steve Holzner is an award-winning author who has been writing about Java topics since Java first appeared. He's a former PC Magazine contributing editor, and his many books have been translated into 18 languages around the world. His books sold more than 1.5 million copies, and many of his bestsellers have been on Java. Steve graduated from MIT and got his PhD at Cornell; he's been a very popular member of the faculty at both MIT and Cornell, teaching thousands of students over the years and earning an average student evaluation over 4.9 out of 5.0. He also runs his own software company and teaches week-long classes to corporate programmers on Java around the country.

    View Steve Holzner's full profile page.

Colophon

Our look is the result of reader comments, our own experimentation, and feedback from distribution channels. Distinctive covers complement our distinctive approach to technical topics, breathing personality and life into potentially dry subjects. The animal on the cover of Ant: The Definitive Guide, Second Edition, is a horned lizard. There are 13 species of the horned lizard in North America. Horned lizards prefer a dry, warm climate, such as the desert or a dry woodland, and they can be found in Texas, Oklahoma, Kansas, and New Mexico. Adults grow to 3 5 inches. They depend on their environment to control their body temperature, and use burrows and shade to prevent overheating. The horned lizard has a wide, flat body ideal for desert camouflage, and a short neck and short legs. It has spines on its body and prominent horns on its head. It is also known as the horny "toad." Despite the horned lizards' fierce appearance, they are not aggressive. Their primary diet consists of ants, although they sometimes eat beetles, grasshoppers, and other insects, which they catch with their long tongues. The horned lizards' first line of defense from predators is their camouflage, but they are also known to hiss and inflate their bodies to appear more intimidating. As a last resort, they have the ability to squirt blood from the corners of their eyes in an attempt to confuse attackers. In Texas and Oklahoma, horned lizards are considered a threatened species. It is illegal to possess a horned lizard without a scientific permit. Matt Hutchinson was the production editor for Ant: The Definitive Guide, Second Edition . GEX, Inc. provided production services. Mary Brady, Sanders Kleinfeld, and Darren Kelly provided quality control.

Hanna Dyer designed the cover of this book, based on a series design by Edie Freedman. The cover image is a 19th-century engraving from the Dover Pictorial Archive. Karen Montgomery produced the cover layout with Adobe InDesign CS using Adobe's ITC Garamond font.

David Futato designed the interior layout. This book was converted by Keith Fahlgren to FrameMaker 5.5.6 with a format conversion tool created by Erik Ray, Jason McIntosh, Neil Walls, and Mike Sierra that uses Perl and XML technologies. The text font is Linotype Birka; the heading font is Adobe Myriad Condensed; and the code font is LucasFont's TheSans Mono Condensed. The illustrations that appear in the book were produced by Robert Romano, Jessamyn Read, and Lesley Borash using Macromedia FreeHand MX and Adobe Photoshop CS. The tip and warning icons were drawn by Christopher Bing. This colophon was written by Colleen Gorman.The production editors for Book Title, eMatter Edition were Ellie Cutler and Jeff Liggett. Linda Walsh was the product manager. Kathleen Wilson provided design support. Lenny Muellner, Mike Sierra, Erik Ray, and Benn Salter provided technical support. This eMatter Edition was produced with FrameMaker 5.5.6.

  • Book cover of Ant: The Definitive Guide