Book description
Ant has emerged as the preferred building tool for Java developers, automating tedious compilation, test, and code management. Many Java developers are aware of Ant but there is little documentation to assist in getting started with the Ant tool. Even experienced developers who already use some of the features of the Ant tool, struggle with the more advanced aspects. This book will educate those devlopers in these more advanced topics, and help them get more out of the tool. The Ant Developer's Handbook begins with a rapid introduction to obtaining, installing, and configuring Ant and covers all major feature sets and use practices.
Ant is a cross-platform build and configuration management tool. It is written in Java, and uses XML as its file format, thereby allowing entire development teams to share Ant build files, regardless of the operating system each developer is using. Ant can perform nearly any common configuration management function, including:
compiling application source code.
running test suites and building archive files.
moving/copying files to server machines.
interacting with source control systems.
Table of contents
- Copyright
- About the Authors
- Acknowledgments
- We Want to Hear from You!
- Introduction
- Introduction to Ant
- Preliminaries
- Global Concepts
-
Built-In Tasks
- Common Attributes of All Tasks
- <ant>
- <antcall>
- <antstructure>
- <apply>/<execon>
- <available>
- <basename>
- <buildnumber>
- <Bunzip2>
- <BZip2>
- <checksum>
- <chmod>
- <concat>
- <condition>
- <Copy>
- <copydir>
- <copyfile>
- <cvs>
- <cvschangelog>
- <cvspass>
- <cvstagdiff>
- <delete>
- <deltree>
- <dependset>
- <dirname>
- <ear>
- <echo>
- <exec>
- <fail>
- <filter>
- <fixcrlf>
- <genkey>
- <get>
- <gunzip>
- <gzip>
- <input>
- <jar>
- <java>
- <javac>
- <javadoc> and <javadoc2>
- <loadFile>
- <loadproperties>
- <mail>
- <manifest>
- <mkdir>
- <move>
- <parallel> and <sequential>
- <patch>
- <pathconvert>
- <property>
- <record>
- <rename>
- <replace>
- <rmic>
- <sequential>
- <signjar>
- <sleep>
- <sql>
- <style>
- <tar>
- <taskdef>
- <touch>
- <tstamp>
- <typedef>
- <Unjar>, <Untar>, <Unwar>, <Unzip>
- <uptodate>
- <waitfor>
- <war>
- <xmlproperty>
- <xslt>
- <zip>
- Summary
- Optional Tasks
- Extending Ant with Custom Tasks, Data Types, and Listeners
- Troubleshooting Ant Build Scripts
- Performing End to End Builds on a Nightly Basis
-
Ant in the Real World
- The Large Sample Application
- A Standard Build Environment
- Decomposing the Build
- Ant Properties
- Standard Build Targets
- Building the Channel Component
- Building the Common Layer
- Building the Chat Server
- Building the Chat Client
- A One-Shot Build of the ChatRoom Application
- Some Benefits of Chaining Builds
- Summary
- The Future Direction of Ant
- Tool Support for Ant
- Index
Product information
- Title: Ant Developer’s Handbook
- Author(s):
- Release date: October 2002
- Publisher(s): Sams
- ISBN: 0672324261
You might also like
book
Ant: The Definitive Guide
Ant is the premiere build management tool for use in Java environments. Unlike traditional build management …
book
Ant in Action
Ant in Action is a complete guide to using Ant to build, test, redistribute and deploy …
book
J2EE™ Applications and BEA™ WebLogic Server™
Authoritative guidance and high-performance code—straight from BEA WebLogic's product team! Step-by-step, example-rich coverage of every major …
book
Ant: The Definitive Guide, 2nd Edition
Soon after its launch, Ant succeeded in taking the Java world by storm, becoming the most …