[ANNOUNCE] Apache Ant 1.10.10 released
Jaikiran Pai <[email protected]> Mon, 19 Apr 2021 12:55:02 +0530
| Newsgroups | gmane.comp.jakarta.ant.user |
|---|---|
| Message-ID | <[email protected]> |
The Apache Ant Team is pleased to announce the release of Apache Ant 1.10.10. Apache Ant is a Java library and command-line tool that helps building software. The Apache Ant team currently maintains two lines of development. The 1.9.x releases require Java 5 at runtime and 1.10.x requires Java 8 at runtime. Both lines are based off of Ant 1.9.7 and the 1.9.x releases are mostly bug fix releases while additional new features are developed for 1.10.x. We recommend using 1.10.10 unless you are required to use versions of Java prior to Java 8 during the build process. Ant 1.10.10 contains various bug fixes as well as some enhancements. The complete set of changes is listed at the end of this mail. Source and binary distributions are available for download from the Apache Ant download site: https://ant.apache.org/bindownload.cgi https://ant.apache.org/srcdownload.cgi When downloading, please verify signatures using the KEYS file available at the above location when downloading the release. Changes in 1.10.10 are as follows: Fixed bugs: ----------- * SCP (with sftp=true) task would fail if fetching file located in root directory Bugzilla Report 64742 * javac task would fail if the arguments file it (internally) created didn't quote the # character. This has now been fixed. Bugzilla Reports 64912, 64790 * made sure LegacyXmlResultFormatter encodes characters illegal in XML the same way JUnit5's built-in formatter would. Bugzilla Report 65030 * LegacyXmlResultFormatter no longer double-encodes <>& in system-err and system-out Bugzilla Report 63436 * Fixes a bug in junitlauncher task's legacy-xml formatter, where the testcase representing a @Parameterized JUnit4 test wasn't being reported in the XML. Bugzilla Report 64952 * Fixes a bug where the ant-testutil-sources.jar that gets published to Maven central repository didn't contain any source files. Bugzilla Report 65110 * The <http> condition didn't follow redirects from http to https. Bugzilla Report 65105 * ZipOutputStream now overrides write(int) in order to make sure single byte writes get the same treatment as array writes. Github Pull Request #145 * Fixes a potential deadlock in junitlauncher task when using legacy-xml reporter. Bugzilla Report 64733 Other changes: -------------- * javaversion condition now has a new "atmost" attribute. See the javaversion manual for more details * The "listener" nested element of the "junitlauncher" task now has a new "useLegacyReportingName" attribute which can be used to control the test identifiers names that get reported by the listener. See the junitlauncher manual for more details. Note that this change also introduces a new "setUseLegacyReportingName" method on the org.apache.tools.ant.taskdefs.optional.junitlauncher.TestResultFormatter interface. This will break backward compatibility with any of your custom result formatters which implemented this interface and such implementations are now expected to implement this new method. * a new attribute preserveduplicates allows <resourcelist> to return the same resource multiple times when set to true. Bugzilla Report 64854 * a new attribute filterbeforeconcat in <concat> can be used to decide whether the filterchain should be applied to the concatenated content (the default) or each nested resource individually before concatenating them. Bugzilla Report 64855 * the ssh tasks now share a new nested element additionalConfig that can be used to set config values for the jsch Session used by the task. Bugzilla Report 65089 * added new discardOutput and discardError properties to redirector and the exec, apply and java tasks which can be used to completely discard any (error) output. This is a platform independent alternative to directiong output to any kind of null device. * junitlauncher now prints a more useful and instantaneous summary of tests being run, closely matching the junit task's summary. Bugzilla Report 64836 -Jaikiran (on behalf of Apache Ant team)