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. For details, see the FAQ.
Nothing listed here is directly supported by the Ant developers, if you encounter any problems with them, please use the contact information.
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 |
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 |
Anteater is a set of Ant tasks for the functional testing of websites and web services (functional testing being; hit a URL and ensure the response meets certain criteria). Can test HTTP params, response codes, XPath, regexp and Relax NG expressions. Includes HTML reporting (based on junitreport) and a hierarchical grouping system for quickly configuring large test scripts.
| Compatibility: | Ant 1.5 and later |
|---|---|
| URL: | http://aft.sourceforge.net |
| Contact: | developer mailing list |
| License: | Apache Software License |
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. |
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 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. |
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 |
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 |
There are two Ant tasks 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 |
and
| Compatibility: | Ant 1.5 and later |
|---|---|
| URL: | http://ant-doxygen.sourceforge.net |
| Contact: | Karthik A Kumar |
| License: | Apache Software Foundation License |
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://genjar.sourceforge.net/ |
| Contact: | Jesse Stockall |
| License: | Apache Software Foundation License |
Greebo is an Ant-task for downloading dependency files (currently only jars) from a network to a specified directory, much like Maven. It supports multiple local and remote repositories with either flat or maven-like structures. It can read the dependency list from a Maven project file, a maven-like dependency file, or directly from the build.xml file.
| Compatibility: | Ant 1.5 |
|---|---|
| URL: | http://www.discore.com/oz/new/index.htm |
| Contact: | Ozben Evren |
| License: | Apache Software License |
Removes unnecessary import statements from a Java source code file.
| Compatibility: | Ant 1.3 |
|---|---|
| URL: | http://importscrubber.sourceforge.net/ |
| Contact: | Tom Copeland |
| License: | LGPL |
Task allowing to run a dialog within a build used to setup some properties. This way you can fill a property with the input of a user.
| Compatibility: | Ant 1.5.1 |
|---|---|
| URL: | http://www.kasisoft.de/build/ant/interactive/ |
| Contact: | Daniel Kasmeroglu |
| License: | LGPL |
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 |
There are three 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 |
With Antenna, you can compile, preverify, package, and obfuscate your MIDP applications, as well as convert them to PRC files designed to run on MIDP for PalmOS. The tasks are mostly built around the Wireless Toolkit and the free RetroGuard obfuscator, with some additional gimmicks like automatic version numbering.
| Compatibility: | Ant 1.4.1 or later |
|---|---|
| URL: | http://antenna.sourceforge.net/ |
| Contact: | Jörg Pleumann |
| License: | GNU Lesser General Public License |
Jacson is a configurable and plugable tool (much like Ant itself) to create filters for text (line based) files without programming.
| Compatibility: | Jacson has been used and tested with 1.5.1, should work with 1.4+ |
|---|---|
| URL: | http://jacson.sourceforge.net |
| Contact: | jacson-user@lists.sourceforge.de |
| License: | GNU Library or Lesser General Public License |
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. |
Java+ is an open source Java preprocessorthat adds these features to any Java compiler:
| Compatibility: | Ant 1.5.1 |
|---|---|
| URL: | http://virtualschool.edu/java+/ |
| Contact: | Brad Cox |
| License: | BSD-like License |
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 |
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 |
JCSC is a Java Coding Standard Checker which also features the generation of some code metrics. It is a command line tool with an Ant task to scan whole package trees. The result can viewed in an JavaDoc style web page.
| Compatibility: | Ant >= 1.5 |
|---|---|
| URL: | http://jcsc.sourceforge.net/ |
| Contact: | Ralph Jocham |
| License: | GNU General Public License |
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 |
jMetra is a tool for collecting code metrics across a project lifecycle and compiling the results into JavaDoc-styled documentation to analyze project metrics over time. jMetra is best utilized by integrating it with your project's scheduled build process.
It works from the command line or using several provided Ant tasks.
| Compatibility: | Ant 1.4 and higher |
|---|---|
| URL: | http://www.jmetra.com/ |
| Contact: | R Todd Newton |
| License: | Commercial, free licenses for open source projects and evaluations. |
JNI is a free toolkit that makes easy work of integrating Java and C through the Java Native Interface (JNI). It includes a code generator that generates both Java "proxy" classes to access C "peer" classes, and C "proxy" classes to access Java "peer" classes or interfaces. It also includes a core library with a simplified JVM interface as well as "helper" classes to ease working with the JNI data types. The code generation is driven by an XML project file that can be created with the assistance of the GUI Project Manager. The code generation can be invoked either from Ant or from the GUI. Includes a comprehensive printable PDF User Guide and plenty of examples.
| Compatibility: | Ant 1.4 |
|---|---|
| URL: | http://jnipp.sf.net/ |
| Contact: | Phillip E. Trewhella |
| License: | GNU LGPL |
JRun 4 SP1 ships with lib/jrun-ant-tasks.jar, which defines three Ant tasks: jrun, jrunapp, and jrunjmx. Documentation for the tasks can be found in JRun under docs/ant/jrun.html.
Note that the service pack must be installed on top of an existing JRun 4 installation.
| Compatibility: | Ant 1.4 or higher |
|---|---|
| URL: | http://dynamic.macromedia.com/bin/MM/software/trial/hwswrec.jsp?product=jrun_sp |
| Contact: | Brian Deitte |
| License: | Commercial |
A build-time architectural testing tool, designed to maintain clean layering / tiering / modularity. Macker works against compiled class files, checking dependencies between classes against a set of pattern-based access rules you specify for your project in an XML rules file. Macker doesn't presume anything about your architecture -- you write the rules, and Macker keeps you honest about them.
| Compatibility: | Ant 1.5 and higher (1.4 untested but may work) |
|---|---|
| URL: | http://innig.net/macker/ |
| Contact: | Paul Cantrell |
| License: | GNU GPL 2.0 |
pack is a task to build the smallest possible JAR to link and run one or more classes.
| Compatibility: | Ant 1.5 |
|---|---|
| URL: | http://sadun-util.sourceforge.net/pack.html |
| Contact: | Cristiano Sadun |
| License: | GNU Lesser General Public License |
PMD checks Java source code for unused variables, unnecessary object creation, etc
| Compatibility: | Ant 1.4 and higher |
|---|---|
| URL: | http://pmd.sf.net/ |
| Contact: | Tom Copeland |
| License: | Apache Software Foundation License |
Purge deletes all but the most recent few files from a fileset. For example: if you have generated files (logs, .ear, .war, .jar etc) accumulating in a directory, the purge task will allow you to delete the older files, keeping just the most recent ones.
| Compatibility: | Ant 1.4 or above |
|---|---|
| URL: | http://www.dallaway.com/ant/ |
| Contact: | Richard Dallaway |
| License: | LGPL |
SerialVer adds the Java serialver functionality to Apache Ant. This project adds Tasks and FilterReaders to get, to insert and to modify the serialVersionUID in the source code of a serializable class.
| Compatibility: | Ant 1.5.1 and later |
|---|---|
| URL: | http://serialver.sourceforge.net/ |
| Contact: | developer mailing list |
| License: | Apache Software License |
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:
| Compatibility: | Ant 1.4 |
|---|---|
| URL: | http://www.langdale.com.au/styler/ |
| Contact: | Arnold deVos |
| License: | LGPL |
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 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 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 |
A versioning tool for Ant.
| Compatibility: | Ant 1.5.1 |
|---|---|
| URL: | http://ant.ryangrier.com/ |
| Contact: | version_tool@ryangrier.com |
| License: | BSD license |
VPP provides general file preprocessing support based on the Velocity Template Engine. The core funtionality is provided as a filter for use with tasks that supports filter chains. Also included are replacement tasks for <copy> and <javac> that integrate support for preprocessing.
| Compatibility: | 1.5.1 and above |
|---|---|
| URL: | http://vpp.sourceforge.net/ |
| Contact: | vpp-user@lists.sourceforge.net |
| License: | BSD license |
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 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 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 |
yGuard is a free Java(TM) Bytecode Obfuscator Task that needs no external script or project files. It can completely be configured and run through the Ant build script. The task supports multiple Jar files at once and makes use of patternsets and regular expressions to specify elements, which should be left unobfuscated. Additionally it can be used to produce patches for obfuscated applications that have already been deployed.
| Compatibility: | Ant 1.5 and later |
|---|---|
| URL: | http://www.yworks.com/products/yguard |
| Contact: | yGuard@yWorks.com |
| License: | Library: LGPL, Task: Commercial |
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 |
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 |
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 |
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 |
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 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 |
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 |
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 |
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 |
A module that integrates Ant into the NetBeans or Sun ONE Studio (formerly Forte for Java) IDEs.
| Compatibility: | bundles Ant 1.5.1 |
|---|---|
| URL: | http://ant.netbeans.org/ |
| Contact: | nbdev@netbeans.org |
| License: | Sun Public License |
Java IDE with support for Ant.
| Compatibility: | Ant 1.5.1 |
|---|---|
| URL: | http://otn.oracle.com/products/jdev/ |
| Contact: | jdeveloperbeta_us@oracle.com |
| License: | Commercial |
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 |