Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Buy Now $35.99
Standard view
Full view
of .
Look up keyword or section
Like this
8Activity

Table Of Contents

Getting Started
Ant’s Origins
Getting Ant
Ant at Work
Anatomy of a Build File
Running Ant|23
Running Ant
Using Properties to Control Tasks
Using Property Files|39
Using Property Files
Handling Data Using Types
Building Java Code
Compiling Code
Documenting Code
Creating JAR Files|81
Creating JAR Files
Setting Build Numbers
Setting Timestamps|85
Setting Timestamps
Deploying Builds
Packaging Applications for Deployment
Preparing to Deploy
Deploying Applications
Scheduling Automatic Builds
Testing Builds with JUnit
Using JUnit
Running Test Cases|137
Running Test Cases
Testing in Batches
Running the Build File
Extending JUnit
Getting Source Code from CVS Repositories
Source Control and Ant
Logging In
Working with the Server
Creating Change Logs|161
Getting Version Data
Creating Change Logs
Finding Changes Between Versions
Creating Patches
Executing External Programs
Executing Java Code
Performing Batch Execution | 179
Performing Batch Execution
Multithreading Tasks
Setting Execution Order
Developing for the Web
Creating WAR Archives
Creating CAB Files|187
Creating CAB Files
Creating Simple Web Deployment
Deploying with SCP|189
Deploying with SCP
Deploying to Tomcat
Compiling JSPs
Validating XML Documents
Loading Properties from XML Files|211
Loading Properties from XML Files
Creating Ant Task DTDs|213
Creating Ant Task DTDs
Transforming XML Using XSLT
Using XDoclet
Developing Enterprise JavaBeans
Optional Tasks
Using Sound
Creating Splash Screens | 235
Creating Splash Screens
Subtituting Text Using Regular Expressions
Handling Dependencies
Integrating Ant with Eclipse
Introducing Eclipse
Running Ant Build Files|247
Running Ant Build Files
Extending the Task Class
Creating Custom Listeners
Creating Custom Loggers
Creating Custom Filters
Creating Custom Selectors
Creating New Types
Index
P. 1
Ant: The Definitive Guide

Ant: The Definitive Guide

Ratings:

3.03

(16)
|Views: 1,524 |Likes:

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.

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.

More info:

Publish date: Apr 1, 2005
Added to Scribd: May 16, 2009
Copyright:Traditional Copyright: All rights reservedISBN:9780596523152
List Price: $35.99 Buy Now

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
This book can be read on up to 6 mobile devices.
See more
See less

11/20/2014

336

9780596523152

$35.99

USD

You're Reading a Free Preview
Pages 14 to 41 are not shown in this preview.
You're Reading a Free Preview
Pages 55 to 81 are not shown in this preview.
You're Reading a Free Preview
Pages 95 to 214 are not shown in this preview.
You're Reading a Free Preview
Pages 228 to 269 are not shown in this preview.
You're Reading a Free Preview
Pages 283 to 336 are not shown in this preview.

Activity (8)

You've already reviewed this. Edit your review.
veroamore_1 reviewed this
Rated 2/5
assumes significant java programming knowledge and experience. geared towards java developers, not necessarily buildmeisters. there was less about ANT and more about things that interact with ANT than i expected (probably because a book restricted to ANT only would be about 40 pages long) and those other things that ANT interacts with are heavily influenced by the author's preferences (ie, java, junit, CVS). assumes junit knowledge - i had trouble executing the junit examples; the code in the examples seemed bad. at least i couldn't get it to work as written. i managed to figure out how to run it with several hours of googling, but the book wasn't helpful.
tongqg reviewed this
Rated 5/5
A good ant reference from software development scenario bases.
1 hundred reads
1 thousand reads
awright261934mi liked this
user1230 liked this
jayavardhankoti liked this
ramu reddy liked this

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->