Apache Ant

Apache Ant

Download

Jakarta

Get Involved

FAQs
At Ant's website

Starting with the release of Ant 1.4 the Ant's FAQ is bundled with the distribution, the most recent version can always be found at the website.

FAQ: http://jakarta.apache.org/ant/faq.html
jGuru

jGuru hosts an interactive Ant discussion forum and FAQ system

Forum: http://www.jguru.com/forums/home.jsp?topic=Ant
FAQ: http://www.jguru.com/faq/home.jsp?topic=Ant
Books
Java Tools for eXtreme Programming

This book covers the following XP subjects:

  • Automated unit and functional testing
  • Continuous integration through build and deployment automation
  • The value of refactoring and continuous integration
  • How Ant, JUnit, JUnitPerf, Cactus, HTTPUnit, and JMeter can be used to achieve the goals of the XP methodology

Authors: Richard Hightower and Nicholas Lesiecki
URL: http://www.wiley.com/cda/product/0,,047120708X,00.html
Articles and Presentations

The following sections list articles and presentations written about Apache Ant. If you've written something that should be included, please post it to one of the mailing lists.

Articles
Ant in Anger: Using Ant in a Production Development System

This document describes strategies and some basic examples of how to use Ant in larger team development projects.

Author: Steve Loughran
URL: http://jakarta.apache.org/ant/ant_in_anger.html
Ant Task Guidelines

This document describes how to write custom Ant tasks, and how to submit them to potentially be included in Ant.

Author: Steve Loughran
URL: http://jakarta.apache.org/ant/ant_task_guidelines.html
Automating the build and test process

This article demonstrates an approach to the automated build and test process. Working with Ant 1.3 and the JUnit test framework, it shows how to automate a process that captures pertinent information about each test suite run, generates an attractive report, and e-mails the report.

Author: Erik Hatcher
URL: http://www.ibm.com/developerworks/java/library/j-junitmail/
Incremental development with Ant and JUnit

This article explores the benefits of unit testing with Ant and JUnit, detailing how to develop automated unit tests and integrate them into your build process.

Author: Malcolm Davis
URL: http://www-106.ibm.com/developerworks/library/j-ant/?dwzone=java
Automate your build process using Java and Ant

This article provides an introduction to using Ant with some basic examples and by highlighting some of the important tasks.

Author: Michael Cymerman
URL: http://www.javaworld.com/javaworld/jw-10-2000/jw-1020-ant.html
Short tutorial in Cactus' (formerly J2EEUnit) documentation

There is a short tutorial on how to use Ant in Cactus' documentation. It has a slant towards build files that will be used with Cactus.

Author: Cactus development team
URL: http://jakarta.apache.org/cactus/howto_ant_primer.html
Developing custom Ant tasks with VisualAge for Java

This article outlines how to integrate Ant into VisualAge for Java, and how to write and debug custom tasks using the IDE and the integrated debugger.

Author: Glenn McAllister
URL: http://www7.software.ibm.com/vad.nsf/data/document2366?OpenDocument&p=1&BCT=1&Footer=1
Automated builds with VisualAge for Java and Ant

This article shows how you can perform command line builds with a VisualAge for Java repository.

Author: Glenn McAllister
URL: http://www7.software.ibm.com/vad.nsf/Data/Document4366?OpenDocument&p=1&BCT=3&Footer=1
Ant: A Build Tool from the Jakarta Project

This article is from the "Best Practices" section of Sun's Dot-Com Builder Site.

Author: Laura Geele Wang
URL: http://dcb.sun.com/practices/profiles/ant.jsp
Making a Mountain Out of an Anthill

This article is from the June 2001 issue of the Java Developer' Journal. You need to be a registered JDJ subscriber to view this article.

Author: Neal Ford
URL: http://www.sys-con.com/java/archivesa.cfm?volume=06&issue=06
Using Ant and Weblogic EJBs

This article describes how to use Ant to create Weblogic EJBs, and some workarounds for issues you may encounter.

Author: Jesse E. Tilly
URL: http://www.onjava.com/pub/a/onjava/2001/06/25/antejb.html
An Introduction to Ant

This article is a short introduction into the basic concepts of Ant.

Author: Jayakrishnan Nair
URL: http://varnam.org/articles/ant.html
Using JavaScript with Ant

A tutorial about using JavaScript and XSLT with Ant.

Author: Dylan Schiemann
URL: http://www.sitepen.com/ant/javascript.html
Building with Ant

Series of articles that describe a framework for web application development based on Ant and JUnit.

Author: Alex Chaffee
URL: Introduction: http://softwaredev.earthweb.com/sdtech/article/0,,12065_989631,00.html
Directory Structure: http://softwaredev.earthweb.com/sdtech/article/0,,12082_994991,00.html
Deployment and Distribution: http://softwaredev.earthweb.com/sdtech/article/0,,12077_998241,00.html
Developing with JAXB and Ant

Series of articles that shows how to use Ant together with the Java API for XML Binding (JAXB).

Author: Joseph Shelby
URL: http://www.onjava.com/pub/a/onjava/2002/03/06/jaxant1.html
http://www.onjava.com/pub/a/onjava/2002/03/13/jaxbant2.html
Presentations
Ant - presented to the Tucson Java Users Group

A PowerPoint technical overview presentation on Ant. Comes complete with a straightforward example demonstrating code compilation, JAR'ing, JUnit testing, JUnit reporting, and Zipping a distribution. A few advanced topics are touched upon like property immutabality and using <antcall> to get around it, build listeners, and writing custom tasks.

Author: Erik Hatcher
URL: http://erik.hatcher.net/ant-jug.zip
Ant Build Tool

A PowerPoint presentation on Ant 1.2. It provides a basic overview of Ant's capabilities.

Author: Patrick Chanezon
URL: http://people.netscape.com/chanezon/tech/ant/ant_preso.ppt
Ant

A detailed Ant 1.3 PowerPoint presentation, made at the St. Louis Java Users Group meeting in March 2001. Includes a detailed build file and basic descriptions of all the built in and optional tasks. Updated for Ant 1.4 in October 2001. Available in PDF format now.

Author: Mark Volkmann
URL: http://www.ociweb.com/downloads/Ant.pdf
Modern Development Crises

This presentation is an overview of the current state of software development today. There are a couple of slides that briefly cover Ant.

Author: Steve Loughran
URL: http://www.iseran.com/Steve/modern_development_processes.html
When Web Services Go Bad

A presentation from the Web Services DevCon in March 2002.

Author: Steve Loughran
URL: http://www.iseran.com/Steve/papers/when_web_services_go_bad.html

Copyright © 2000-2002, Apache Software Foundation