

Property - shows how to use an Ant property.Depends - shows how to use the targets depends attribute.Ant Cookbook - A set of small complete working example programs that demonstrate examples of how to use Apache Ant.Local File Systems - removing local file system dependencies.Local Property Files - how to use a local property file.Standard Targets - A list of standard targets such as init and clean.Ant Best Practices - Best practices such as how to set up an Ant file.Build File Structure- The structure of a build file.Terminology - Terminology (projects, targets and tasks).Core Concepts - Core Terms and Concepts useful to Ant developers.Hello World How to run a small ant program that prints "Hello World!".Installation How to download and install Apache Ant.This section can easily be skipped by users that already know about XML file structure. XML Summary - A short review of XML syntax for people that are not familiar with XML.Adoption - How and why organizations should adopt Apache Ant.Background - History and motivation for Apache Ant.Mostly hello world information to get a flavor for what Ant is and how it is used. This document has an introduction page for people just getting started. This wikibook is also designed to work with other XML-related programming wikibooks such as XML Schema and XForms. This material covers some of the material you need to know about XML to build Ant scripts.

At the same time the introductory material assumed that the reader was familiar with XML. The introductory material also did not contain full examples with complete sample build files and expected output.


For example in the Apache documentation, advanced concepts such as token filters were placed directly in the introduction for beginners. The existing Ant documentation, although useful for advanced Ant users, did not meet the needs of most beginners. Dan felt strongly that a gentle introduction to Ant was necessary for new people to easily learn Ant. This wikibook was based on a presentation created by Dan McCreary for the Minnesota Java Open Source User Group. Ant automates tasks such as compiling source code, building deployment packages and automatically checking dependencies of what items need to be updated in a build set. ( edit it)Īpache Ant (or simply Ant) is an XML-based build scripting language used heavily by the Open Source community. A printable version of Apache Ant is available.
