This is the 1.5.3 version of Ant. It is available in both
binary and source distributions.
JDK 1.1 Users:
Please note that the next major release of Ant, Ant 1.6, will require JDK 1.2 or
later. This release, Ant 1.5.3, will be the last Ant release from the Ant 1.5
codebase, barring any major bugs. As such, it is likely to be the last
release of Ant that will be JDK 1.1 compatible. Ant 1.6, of course, retains the
ability to generate 1.1 compatible code.
The tar files in the distribution use GNU tar extensions
and must be untarred with a GNU compatible version of tar. The version
of tar on Solaris and Mac OS X will not work with these files
The changes from Release 1.5.2 to this release are detailed below.
Please refer to the WHATSNEW file for more information.
Thank you for using Ant.
The Apache Ant Project
Many of the distribution kits have been digitally signed (using
PGP). If so, there will be an accompanying
distribution.asc file in the same directory as
the distribution. The PGP keys can be found in the distribution
directory at <http://www.apache.org/dist/ant/KEYS>.
Always test available signatures, e.g.,
> pgpk -a KEYS
> pgpv apache-ant-1.5.3-bin.tar.gz.asc
> pgp -ka KEYS
> pgp apache-ant-1.5.3-bin.tar.gz.asc
> gpg --import KEYS
> gpg --verify apache-ant-1.5.3-bin.tar.gz.asc
Changes from Ant 1.5.2 to Ant 1.5.3
Changes that could break older environments:
The <zip> task and friends have again changed a method signature
(sorry, was necessary to fix bug 17780). The return type of
getResourcesToAdd has changed.
<zipfileset>'s filemode would get ignored and the dirmode was used
for the included files as well. As a side effect, WinZIP was unable
to extract or display the files, so they seemed to be missing from
the archive. Bugzilla Report 17648.
<ftp> could use the wrong path separator when trying to change the
remote working directory. Bugzilla Report 17735.
<jar update="true"> would loose all original files if you didn't
specify any nested <(zip)fileset>s and the manifest had changed.
Bugzilla Report 17780.
If you used a value starting with \ on Windows for the appxml
attribute of <ear> or the webxml attribute of <war>, it would be
ignored. Bugzilla Report 17871.
Ant will no longer implicitly add Sun's rt.jar in <javac> when you
use jvc and don't specify a bootclasspath. Bugzilla Report 18055.
The prefix attribute of <zipfileset> would not generate directory
entries for the prefix itself. Bugzilla Report 18403..
- starteam checkout can now handle deleted labels. Bugzilla Report 17646.
- The Unix wrapper script failed if you invoked it as a relative
symlink and ANT_HOME has not been set. Bugzilla Report 17221.