You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Stefan Bodewig <bo...@apache.org> on 2026/04/01 15:50:29 UTC
[ANN] Apache Ant 1.10.16 Released
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The Apache Ant Team is pleased to announce the release of Apache Ant
1.10.16.
Apache Ant is a Java library and command-line tool that helps building
software.
Ant 1.10.16 is a bugfix release with a few added features. The biggest
change is the handling of symbolic links on the Windows platform and
Windows junctions. Java prior to version 24 didn't resolve either when
providing the canonical path of a file on Windows but does so with Java
24 onwards. This may make Ant builds behave differently on Java 23 and
24. With Ant 1.10.16 both should behave the same - and it should be
similar to Ant 1.10.15 running with Java 24 or newer.
Source and binary distributions are available for download from the
Apache Ant download site:
https://ant.apache.org/bindownload.cgi
When downloading, please verify signatures using the KEYS file available
at the above location when downloading the release.
Changes in 1.10.16 include:
==========================
Changes that could break older environments:
- -------------------------------------------
* <xslt> now uses the same logic to compare file timestamps when
determining whether a target file is out-of-date with respect to
the source file or stylesheet that most other tasks use. This means
it will assume a default timestamp granularity that depends on the
current operating system.
A new granularity attribute allows you to override the assumed
granularity.
Under certain edge cases this means xslt will now not process files
it would have processed before (when the timestamps of source or
stylesheet are very close or even equal to the timestamp of the
target). In this case you can set granularity to 0 to get back to
the behavior of 1.10.15.
Bugzilla Report 65756
* the <mail> task as well as MailLogger will now check the server
identity as specified by RFC 2595 when JavaMail is used in
combination with TLS (plain TLS or StartTLS).
The check can be disabled with a new MailLogger property
MailLogger.tls.checkserveridentity or a new <mail> task attribute
checkServerIdentity.
Bugzilla Report 69416
* Ant now recognizes Windows junctions and treats them just like
symbolic links in general. With this builds on Windows that use
followSymlinks="false" and rely on Ant following Windows junctions
will break. In order to get the old behavior you need to set
followSymlinks to true and exclude real symbolic links via the
<symlink> selector.
Bugzilla Report 66293
Fixed bugs:
- -----------
* <scp> now properly handles IPv6 addresses as hostnames.
Bugzilla Report 59160
* javac task has been fixed to generate the "-classpath" option
only when there are any classpath elements present.
Bugzilla Report 69586
* URLResource#getName could strip the first character of a resource
path even if it was not a file separator.
Bugzilla Report 69680
* ant.bat now exits with a non-zero exit code if ANT_HOME is not set.
Github Pull Request #222
* A regression in ftp task caused some files to not be downloaded.
That has been fixed now.
Bugzilla Report 69485
Other changes:
- --------------
* Ant will no longer set a java.lang.SecurityManager at runtime
if the "java.security.manager" system property is set to
"disallow".
Github Pull Request #216
* <mail> and MailLogger can now enforce the use of STARTLS rather
than silently fall back to unencrypted authentication via a new
MailLogger property and a new <mail> task attribute.
Bugzilla Report 69416
* added a Windows specific <mklink> task that can be used to create
hard links, symbolic links and junctions.
* added <delete link="..."> that can be used delete symbolic links or
Windows junctions. For symbolic links this duplicates what
<symlink action="delete" ...> does - it has been introduced to
handle symlinks and junctions via a single API.
* added <canCreateSymlink> condition that evaluates to true if the
current Ant process can create symbolic links.
* added <windowsjunction> file selector which only selects directories
that are Windows junctions.
* added a new actOnLinkTargets attribute to <setpermissions> to
control whether the permissions apply to a symbolic link or Windows
junction or the target of the respective links. The old behavior
of changing the link's target remains as default.
* a new combination of attributes allows <sshexec> to mask sensitive
data specified for the command line to execute.
Github Pull Request #124
For complete information on Ant, including instructions on how to submit
bug reports, patches, or suggestions for improvement, see the Apache Ant
website:
https://ant.apache.org/
Stefan Bodewig, on behalf of the Apache Ant community
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iEYEARECAAYFAmnNPsUACgkQohFa4V9ri3K+6QCdFOsyVSLUUkWyjynfQWSYEHC4
CG4Ani60DIsMUHzb0tyzaQZdoPCDlt2j
=1HRl
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org