Apache Ant

Apache Ant

Download

Jakarta

Get Involved

External Tools and Tasks

This page lists external resources for Apache Ant: tasks, IDE integration tools, loggers, you name it. If you've written something that should be included, please post all relevant information to one of the mailing lists.

Nothing listed here is directly supported by the Ant developers, if you encounter any problems with them, please use the contact information.

Tasks
AJC

AspectJ is an aspect-oriented extension to Java. This task compiles a source tree using the AspectJ compiler -- AJC.

Compatibility: Ant 1.3
URL: http://aspectj.org/dl
Contact: support@aspectj.org
License: Apache Software License
Anakia

Actually, Anakia is more than just an Ant task, it is a an XML transformation tool based on JDOM, Velocity and Ant.

Compatibility: Ant 1.2 and later
URL: http://jakarta.apache.org/velocity/anakia.html
Contact: Velocity mailing lists
License: Apache Software License
Checkstyle

Checkstyle is a development tool to help programmers write Java code that adheres to a coding standard. Its purpose is to automate the process of checking Java code, and to spare humans of this boring (but important) task.

Checkstyle can be run via an Ant task or a command line utility.

Compatibility: Ant 1.2 to 1.4.1
URL: http://checkstyle.sourceforge.net/
Contact: Oliver Burn
License: Starting with release 2.0 the license is the GNU Lesser General Public License. Prior releases were under the GNU General Public License.
CleanImports

Removes unneeded imports. Formats your import sections. Flags ambiguous imports.

Compatibility: Ant 1.3
URL: http://www.euronet.nl/users/tomb/cleanImports/index.html
Contact: Tom Brus
License: Apache Software License
Clover

Clover is an Ant-based Code Coverage tool. It can be used seamlessly with Ant-based projects. It provides method, statement, and branch coverage analysis, and has rich reporting in XML, HTML or via a Swing GUI.

Compatibility: Ant 1.4.1 or greater
URL: http://www.thecortex.net/clover
Contact: clover-support@cortexebusiness.com.au
License: Commercial, free licenses available for open source projects.
Configure

Recursive build support (call ant on every package level, and only build files in that package or in that package and everything below) with seperation of source and output.

The task generates build files in any subdirectory (except for CVS-directories) for you. Only place one build.xml file in the top and call target 'setup' or 'rescan'.

Compatibility: Ant 1.2 and 1.3
URL: http://www.dsdelft.nl/~lemval/ant/
Contact: M.J.P. van Leeuwen
License: License derived from Apache Software License
CVSGrab

A little CVS client that can be useful when people are behind corporate firewall that blocks any cvs communications. It uses the ViewCVS web interface to access the CVS repository via standard http, and downloads all the files present in it.

It works from the command line or as an Ant task.

Compatibility: Ant 1.3 or higher
URL: http://cvsgrab.sourceforge.net/
Contact: CVSGrab user mailing list
License: LGPL
Doxygen task

Ant task for running the Doxygen documentation system.

Compatibility: Ant 1.1 and later
URL: http://www.bgw.org/projects/java/ant/
Contact: Kyle R. Burton
License: Apache Software Foundation License
GenJar

Builds a JAR file based on class dependencies rather than simply the contents of a directory

Compatibility: Ant 1.4 alpha (built after 2001/08/04) and later
URL: http://www.riggshill.com/projects/genjar/
Contact: John Kohler
License: Apache Software Foundation License
Importscrubber

Removes unnecessary import statements from a Java source code file.

Compatibility: Ant 1.3
URL: http://importscrubber.sourceforge.net/
Contact: Tom Copeland
License: LGPL
IsDirValidator

Checks whether a given directory structure conforms to certain rules that are defined via nested elements of the task.

Compatibility: Ant 1.4
URL: http://isvalidator.sourceforge.net/en/isDirValidator.htm
Contact: Iņigo Serrano
License: GNU General Public License
Jalopy

An Ant Plug-in for the Java Source Code Formatter Jalopy.

Compatibility: Ant 1.4 (or higher)
URL: http://jalopy.sourceforge.net
Contact: http://jalopy.sf.net/contact.html
License: Starting with release 1.0 Beta 6 the license is the BSD License. Prior releases were under the GNU General Public License.
Javamake

A task to compile Java sources and manage class file dependencies. Functionality is equivalent to that of standard Javac and Depend tasks combined, with improved dependency checking.

Compatibility: Ant 1.4.1
URL: http://www.experimentalstuff.com/Technologies/JavaMake/index.html
Contact: Mikhail Dmitriev
License: BSD-like License
J2ME Ant Tasks

There are two different sets of tasks to help build Java 2 Platform, Micro Edition (J2ME) applications.

This set supports CLDC and the K Virtual Machine (KVM):

Compatibility: Ant 1.3
URL: http://www.dribin.org/dave/j2me_ant/
Contact: Dave Dribin
License: Apache Software License

And this set works with the J2ME Wireless Toolkit and MIDP for PalmOS:

Compatibility: Ant 1.3
URL: http://www.stampysoft.com/ant/
Contact: Josh Eckels
License: MIT License
javarec

Ant tasks that generate record classes for VisualAge for Java from Cobol copy books.

Compatibility: Ant 1.4
URL: http://glezen.org/javarec/
Contact: Paul Glezen
License: Apache Software License
Styler

The styler task makes useful combinations of XSLT transformations easy to specify in an Ant build file. Like the built-in Ant task style, styler can apply a single transformation to a set of XML files. But it can also:

  • handle multiple transformations, in parallel or pipelined.
  • enable transformations that split or merge files
  • process non-XML files, especially HTML (based on JTidy)
  • apply non-XSLT transformation, especially "regular fragmentations"
  • use any custom XMLReader or XMLFilter class to handle new file formats and transformation techniques.
Compatibility: Ant 1.4
URL: http://www.langdale.com.au/styler/
Contact: Arnold deVos
License: LGPL
Tidy Imports (Tim)

Tim is a handy utility that can be executed on the command line or via Ant that automatically formats your import declarations. Tim is capable of removing unused imports, expanding or collapsing imports and even organising them into pre-determined groups.

Compatibility: Ant 1.3 and later
URL: http://www.chive.com/tim.htm
Contact: support@chive.com
License: Commercial
TiniAnt

TiniAnt is an Ant task to support building applications for the TINI.

Compatibility: Ant 1.2 to 1.4.1
URL: http://tiniant.sourceforge.net/
Contact: Sean Kelly
License: BSD-like license
Venus Application Publisher's (Vamp) Ant Task Suite

Venus Application Publisher's (Vamp) Ant Task Suite allows you to sign and package your applications into relocatable Web Archives that you can drop into your web server for single-click launching using Java Web Start or into single Java Archive installers that serve up their content through a built-in, multi-threaded, ultra light-weight web server.

Compatibility: Ant 1.2 and 1.3
URL: http://www.geocities.com/vamp201/ant.html
Contact: Gerald Bauer
License: GNU General Public License
WOProject

WOProject provides a set of tools to work with WebObjects 5.1 independent from platform and IDE. It significantly improves developer productivity and makes complex project structures more flexible compared to traditional Makefile-based approach.

Compatibility: Ant 1.4
URL: http://objectstyle.org/woproject/
Contact: Andrus Adamchik
License: Apache license
XDoclet

XDoclet is an extended Javadoc Doclet engine for use in Ant. It lets you create custom Javadoc @tags and based on those tags generates source code or other files (such as xml-ish deployment descriptors). Templates and matching tasks are provided to generate EJB and web application deployment descriptors.

Compatibility: Ant 1.4
URL: http://sourceforge.net/projects/xdoclet/
License: BSD license
XmlTask

XmlTask provides a simple means to modify XML documents without having to learn XSLT. A simple path reference to an XML node specifies the node you want to change, and how you want to allow XML insertion and removal, or attribute changes. The emphasis is on providing the simplest means to perform common XML replacements

Compatibility: Ant 1.4 and later
URL: http://www.oopsconsultancy.com/software/xmltask.html
Contact: xmltask@oopsconsultancy.com
License: GNU General Public License
Jing Task

Validates XML files against the RELAX NG alternative to XML Schema. The Jing task for Ant allows you to efficiently validate multiple files against multiple RELAX NG patterns and integrate RELAX NG validation with other XML processing.

Compatibility: Ant 1.4 and later
URL: http://www.thaiopensource.com/relaxng/jing-ant.html
License: BSD-like
Compiler Implementations
miniRMI <rmic> implementation

miniRMI is a freeware opensource library that serves as a lightweight replacement for the original java.rmi packages and is suitable especially for applets. Ant 1.4+ <rmic> adapter included.

Compatibility: Ant 1.4 and later
URL: http://dione.zcu.cz/~toman40/miniRMI/
Contact: Petr Toman
License: Gnu Lesser Public License
IDE and Editor Integration
AntFarm

A plugin that integrates Ant into the jEdit editor.

Compatibility: bundles Ant 1.3
URL: http://plugins.jedit.org/plugins/AntFarm
Contact: jEdit developers mailinglist
License: Apache Software License
AntMan

An AddIn that integrates Ant with the JDeveloper IDE

Compatibility: Ant 1.4.1
URL: http://www.erudra.com/antman/index.html
Contact: Ashok Sridhar
License: GNU General Public License
AntRunner

An OpenTool that integrates Ant into the JBuilder IDE.

Compatibility: Ant 1.2 and 1.3
URL: http://www.dieter-bogdoll.de/java/AntRunner/
Contact: Dieter Bogdoll
License: GNU General Public License
AntWork

A plugin that integrates Ant into the Jext editor.

Compatibility: Ant 1.2 and 1.3
URL: ftp://jext.sourceforge.net/pub/jext/plugins/AntWork.zip
Contact: Klaus Hartlage
License: GNU General Public License
Eclipse

Eclipse is a universal tool platform with Ant integration.

Compatibility: Ant 1.3 - 1.4.1
URL: http://www.eclipse.org
Contact: news://news.eclipse.org/eclipse.tools
License: Common Public License Version 1.0
IntelliJ IDEA 2.0

Java IDE with refactoring support and Ant integration.

Compatibility: bundles Ant 1.3
URL: http://www.intellij.com/idea/
Contact: support@intellij.com
License: Commercial
JDE(E) 2.2.8

The Java Development Environment for Emacs (JDEE) supports Apache Ant as one of three built-in ways to build your applications.

Compatibility: Ant 1.2 and later
URL: http://jde.sunsite.dk/
Contact: JDEE Mailing list.
License: GNU General Public License
NetBeans / Forte for Java

A module that integrates Ant into the NetBeans or Forte for Java IDEs.

Compatibility: bundles Ant 1.4.1
URL: http://ant.netbeans.org/
Contact: nbdev@netbeans.org
License: Sun Public License
HP RadPak

RadPak comes with the (free) HP Bluestone HPAS J2EE server, and is primarily a GUI tool for packaging and deploying java web and EJB applications as WAR and EAR files. The tool is ant based, and can be used with as a GUI for general ant development, providing form based entry of task attributes, and an animated display of task execution.

Compatibility: bundles Ant 1.3 and docs; adds a jar of extra tasks to any existing ant installation under ANT_HOME
URL: http://www.bluestone.com/products/hp-as/
License: Proprietary but free to download
WebSphere Studio Application Developer

WSAD features Ant integrate by virtue of being built on the Eclipse tools platform.

Compatibility: bundles Ant 1.4.1
Article: Ant Integration Part1
License: Commercial

Copyright © 2000-2002, Apache Software Foundation