Ant: The Definitive Guide, 2nd Edition View Larger Image | Steve Holzner O'Reilly Media, Paperback, 2nd edition, Published April 2005, 316 pages, ISBN 0596006098 | List Price: $34.95 Our Price: $21.95 You Save: $13.00 (37% Off)
| | | Availability: Out-Of-Stock |
Download an excerpt:
Chapter 6: Getting Source Code from CVS Repositories
Excerpt provided courtesy of O'Reilly and Associates.
|
Be the First to Write a Review and tell the world about this title!People who purchase this book frequently purchase: - Head First Design Patterns; Eric Freeman, et al, $28.50, 37% Off!
- Java in a Nutshell, 5th Edition; David Flanagan, $28.50, 37% Off!
- Hibernate in Action; Christian Bauer, et al, $27.95, 38% Off!
- JBoss: A Developer's Notebook; Norman Richards, et al, $18.50, 38% Off!
Books on similar topics, in best-seller order:Books from the same publisher, in best-seller order:
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.
Table of Contents
Preface
1. Getting Started
Ant's Origins
Getting Ant
Ant at Work
Anatomy of a Build File
Running Ant
2. Using Properties and Types
Using Properties to Control Tasks
Using Property Files
Handling Data Using Types
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
4. Deploying Builds
Packaging Applications for Deployment
Preparing to Deploy
Deploying Applications
Scheduling Automatic Builds
5. Testing Builds with JUnit
Using JUnit
Running Test Cases
Testing in Batches
Running the Build File
Extending JUnit
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
7. Executing External Programs
Executing Java Code
Executing External Programs
Performing Batch Execution
Multithreading Tasks
Setting Execution Order
8. Developing for the Web
Creating WAR Archives
Creating CAB Files
Creating Simple Web Deployment
Deploying with SCP
Deploying to Tomcat
Compiling JSPs
Deploying to EJB Containers
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
10. Optional Tasks
Using Sound
Creating Splash Screens
Subtituting Text Using Regular Expressions
Handling Dependencies
11. Integrating Ant with Eclipse
Introducing Eclipse
Running Ant Build Files
Using a Different Version of Ant
Using the Ant View
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
Index
About the Author
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.
|