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
Learn Linux Shell Scripting - Fundamentals of Bash 4.4
Create and maintain powerful Bash scripts for automation and administration. Key Features Get up and running …
book
40 Algorithms Every Programmer Should Know
Learn algorithms for solving classic computer science problems with this concise guide covering everything from fundamental …
book
Building Event-Driven Microservices
Organizations today often struggle to balance business requirements with ever-increasing volumes of data. Additionally, the demand …
book
Java Coding Problems
Develop your coding skills by exploring Java concepts and techniques such as Strings, Objects and Types, …