CARVIEW |
Ant: The Definitive Guide, Second Edition
- By
- Steve Holzner
- Publisher:
- O'Reilly Media
- Released:
- April 2005
- Pages:
- 336
Product Editions
- Ant: The Definitive Guide, Second Edition - April 2005
- Ant: The Definitive Guide - May 2002
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.
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
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.
-
Chapter 1 Getting Started
-
Ant's Origins
-
Getting Ant
-
Ant at Work
-
Anatomy of a Build File
-
Running Ant
-
-
Chapter 2 Using Properties and Types
-
Using Properties to Control Tasks
-
Using Property Files
-
Handling Data Using Types
-
-
Chapter 3 Building Java Code
-
Compiling Code
-
Getting Input from the User
-
Calling Other Ant Tasks
-
Importing Other Build Files
-
Documenting Code
-
Creating JAR Files
-
Setting Build Numbers
-
Setting Timestamps
-
-
Chapter 4 Deploying Builds
-
Packaging Applications for Deployment
-
Preparing to Deploy
-
Deploying Applications
-
Scheduling Automatic Builds
-
-
Chapter 5 Testing Builds with JUnit
-
Using JUnit
-
Running Test Cases
-
Testing in Batches
-
Running the Build File
-
Extending JUnit
-
-
Chapter 6 Getting Source Code from CVS Repositories
-
Source Control and Ant
-
Logging In
-
Working with the Server
-
Getting Version Data
-
Creating Change Logs
-
Finding Changes Between Versions
-
Creating Patches
-
-
Chapter 7 Executing External Programs
-
Executing Java Code
-
Executing External Programs
-
Performing Batch Execution
-
Multithreading Tasks
-
Setting Execution Order
-
-
Chapter 8 Developing for the Web
-
Creating WAR Archives
-
Creating CAB Files
-
Creating Simple Web Deployment
-
Deploying with SCP
-
Deploying to Tomcat
-
Deploying to Tomcat
-
Compiling JSPs
-
Deploying to EJB Containers
-
-
Chapter 9 XML and XDoclet
-
Validating XML Documents
-
Loading Properties from XML Files
-
Creating Ant Task DTDs
-
Transforming XML Using XSLT
-
Using XDoclet
-
Developing Enterprise JavaBeans
-
-
Chapter 10 Optional Tasks
-
Using Sound
-
Creating Splash Screens
-
Subtituting Text Using Regular Expressions
-
Handling Dependencies
-
-
Chapter 11 Integrating Ant with Eclipse
-
Introducing Eclipse
-
Running Ant Build Files
-
Using a Different Version of Ant
-
Using the Ant View
-
-
Chapter 12 Extending Ant
-
Creating a Simple Custom Ant Task
-
Extending the Task Class
-
Creating Custom Listeners
-
Creating Custom Loggers
-
Creating Custom Filters
-
Creating Custom Selectors
-
Creating New Types
-
-
Colophon

- Title:
- Ant: The Definitive Guide, Second Edition
- By:
- Steve Holzner
- Publisher:
- O'Reilly Media
- Formats:
-
- 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
-
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.
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
![]() ©2010, O'Reilly Media, Inc. (707) 827-7000 / (800) 998-9938 All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners. |
About O'Reilly
Academic Solutions Authors Contacts Customer Service Jobs Newsletters O'Reilly Labs Press Room Privacy Policy RSS Feeds Terms of Service User Groups Writing for O'Reilly |
Content Archive Business Technology Computer Technology Microsoft Mobile Network Operating System Digital Photography Programming Software Web Web Design |
More O'Reilly Sites
O'Reilly Radar Ignite Tools of Change for Publishing Digital Media Inside iPhone makezine.com craftzine.com hackszine.com perl.com xml.com Partner Sites InsideRIA java.net O'Reilly Insights on Forbes.com |