Apache Ant site Apache Ant logo

the Apache Ant site
Home
Projects
 

Binary Distributions

Downloading Ant

Use the links below to download a binary distribution of Ant from one of our mirrors. It is good practice to verify the integrity of the distribution files, especially if you are using one of our mirror sites. In order to do this you must use the signatures from our main distribution directory.

Ant is distributed as zip, tar.gz and tar.bz2 archives - the contents are the same. Please note that the tar.* archives contain file names longer than 100 characters and have been created using GNU tar extensions. Thus they must be untarred with a GNU compatible version of tar.

In addition the JPackage project provides RPMs at their own distribution site.

If you do not see the file you need in the links below, please see the master distribution directory or, preferably, its mirror.

Mirror

You are currently using [preferred]. If you encounter a problem with this mirror, please select another mirror. If all mirrors are failing, there are backup mirrors (at the end of the mirrors list) that should be available.

Other mirrors:

Current Release of Ant

Currently, Apache Ant 1.6.5 is the best available version, see the release notes.

Note
Ant 1.6.5 has been released on 02-Jun-2005 and may not be available on all mirrors for a few days.

Tar files may require gnu tar to extract
Tar files in the distribution contain long file names, and may require gnu tar to do the extraction.

Nightly Builds

Are currently not available, we hope to restore that service soon.

If you want to build Ant from sources, you can use a CVS snapshot.

Old Ant Releases

Older releases of Ant can be found here. Those releases are only provided as zip archives that can be extracted by jar xf archive.zip - we highly recommend to not use those releases but upgrade to Ant's latest release.

Verify Releases

It is essential that you verify the integrity of the downloaded files using the PGP signature or the SHA1 or MD5 checksums. The checksums are not as strong indicators as the PGP signature.

The PGP signatures can be verified using PGP or GPG. First download the KEYS as well as the asc signature file for the particular distribution. Make sure you get these files from the main distribution directory, rather than from a mirror. Then verify the signatures using

% pgpk -a KEYS
% pgpv apache-ant-1.6.5-bin.tar.gz.asc
or
% pgp -ka KEYS
% pgp apache-ant-1.6.5-bin.tar.gz.asc
or
% gpg --import KEYS
% gpg --verify apache-ant-1.6.5-bin.tar.gz.asc

Alternatively, you can verify the checksums on the files. Unix programs called md5/sha1 or md5sum/sha1sum are included in many unix distributions. *sum is also available as part of GNU Textutils. Windows users can get binary md5 programs from here, here. fsum supports MD5 and SHA1.

We highly recommend to verify the PGP signature, though.