Apache Ant is a Java library and command-line tool whose mission is to drive processes described in build files as targets and extension points dependent upon each other. The main known usage of Ant is the build of Java applications. Ant supplies a number of built-in tasks allowing to compile, assemble, test and run Java applications. Ant can also be used effectively to build non Java applications, for instance C or C++ applications. More generally, Ant can be used to pilot any type of process which can be described in terms of targets and tasks.
Ant is written in Java. Users of Ant can develop their own "antlibs" containing Ant tasks and types, and are offered a large number of ready-made commercial or open-source "antlibs".
Ant is extremely flexible and does not impose coding conventions or directory layouts to the Java projects which adopt it as a build tool.
Software development projects looking for a solution combining build tool and dependency management can use Ant in combination with Apache Ivy.
The Apache Ant project is part of the Apache Software Foundation.
Ant 1.10.0 - which hasn't been released, yet - requires Java8 at build and run time. The Ant developers intend to backport bug fixes to future releases of the 1.9.x series which will remain compatible with Java5.
See the FAQ for a full history that shows which version of Ant can be used with which version of Java.
Apr 12, 2016 - Apache Ant 1.9.7 Released
Apache Ant 1.9.7 is now available for download as source or binary from http://ant.apache.org/bindownload.cgi.
Ant 1.9.7 contains several bug fixes and improvements compared to Ant 1.9.6.
December 26, 2014 - Apache Ivy 2.4.0 Released
Apache Ivy 2.4.0 is now available for download as source or binary (with and without dependencies) from http://ant.apache.org/ivy/download.cgi.
Key features of the 2.4.0 release are
- some new Ant tasks
- improved OSGI support
- a Bintray resolver
- numerous bug fixes as documented in Jira and in the release notes
For more information see the Ivy home page.
November 22, 2013 - Apache IvyDE 2.2.0 Released
The Apache IvyDE project is pleased to announce its 2.2.0 release.
The Apache IvyDE Eclipse plugin integrates Apache Ivy's dependency management into Eclipse. It lets you manage your dependencies declared in an ivy.xml in your Java Eclipse projects, or any other kind of project which needs dependency management. Apache IvyDE will contribute to the classpath of your Java project or you can make it retrieve your dependencies directly into your project. Last but not least Apache IvyDE offer editors of ivy.xml and ivysettings.xml files with completion. Get some preview here: http://ant.apache.org/ivy/ivyde/screenshots.html
Major changes in this release
- The API of IvyDE has been stabilized so that third party plugins can rely on it,
- while still not complete, and still not advertised as stable in Ivy, support of OSGi has been added,
- javadoc and source attachement can be edited now one by one,
- improved stability of the resolve process,
- improved logging for easier debugging.
- This release is expected to work with every version of Ivy 2.1 or superior. The OSGi features require Ivy 2.3.0 or superior though.
This release is considered as stable. The beta of 2.2.0 has been out for a (too) long time.
A more detailed release notes can be read there:
Download the 2.2.0 release at: http://ant.apache.org/ivy/ivyde/download.cgi
Or use directly the Apache IvyDE's updatesite: http://www.apache.org/dist/ant/ivyde/updatesite
Issues should be reported to: https://issues.apache.org/jira/browse/IVYDE
More information can be found on the Apache IvyDE website: http://ant.apache.org/ivy/ivyde/
January 21, 2013 - Apache Ivy 2.3.0 Released
Apache Ivy 2.3.0 is now available for download as source or binary (with and without dependencies) from http://ant.apache.org/ivy/download.cgi.
Key features of the 2.3.0 release are
- improved Ant support with some new Ant tasks and enhancements to existing tasks
- improved Maven2 compatibility
- some new resolvers
- numerous bug fixes and improvements as documented in Jira and in the release notes
In addition, experimental OSGI support has been added to the Ivy core.
For more information see the Ivy home page.
May 14, 2014 - Apache AntUnit 1.3 Released
This release adds new assertions that deal with non-file resources better than the existing ones and provides additional access to the log created during tests.
You can view the documentation for the current release (Apache Ant 1.9.7) online
Comprehensive documentation is included in the source and binary distributions.