- Update to 1.10.10
* SCP (with sftp=true) task would fail if fetching file located
in root directory.
* Fixed: javac task would fail if the arguments file it
(internally) created didn't quote the # character.
* Make sure LegacyXmlResultFormatter encodes characters illegal
in XML the same way JUnit5's built-in formatter would.
* LegacyXmlResultFormatter no longer double-encodes <>& in
system-err and system-out.
* 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.
* Fixes a bug where the ant-testutil-sources.jar that gets
published to Maven central repository didn't contain any
source files.
* The <http> condition didn't follow redirects from http to https.
* ZipOutputStream now overrides write(int) in order to make sure
single byte writes get the same treatment as array writes.
* Fixes a potential deadlock in junitlauncher task when using
legacy-xml reporter.
* 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
OBS-URL: https://build.opensuse.org/request/show/897253
OBS-URL: https://build.opensuse.org/package/show/Java:packages/ant?expand=0&rev=163
- Update to 1.10.9
* Security fix: [bsc#1177180, CVE-2020-11979]
- Insecure temporary file vulnerability
* Fixed bugs:
- The ftp task could throw a NullPointerException if an
error occured.
- Propertyset now also sees in-scope local properties.
- Replaced ReaderInputStream with the version of Apache
Commons IO due to problems with surrogate pairs.
- <fixcrlf> will no longer remove the temporary file it
just created before writing to it.
- <sshexec> and <scp> didn't deal with wildcard hostnames
in shs config files properly.
* Other changes:
- Ant will no longer log a warning if it doesn't find tools.jar.
- The <jar> task accepts now a nested <indexjarsmapper>
element that can be used to perform custom filename
transformations for the <indexjars> archives.
- Added a new PropertyEnumerator interface that extensions can
provide if they are managing properties unknown to the Ant project.
- Added some special code to support GraalVM JavaScript as
javax.script scripting engine for JavaScript. In particular we
relax some security settings of GraalVM so that scripts can access
Ant objects.
- Also Ant enables Nashorn compatibility mode by default, you can
disable that by setting the magic Ant property
ant.disable.graal.nashorn.compat to true.
- If the magic property ant.tmpdir hasn't been set and Ant can
control the permissions of directories it creates it will create an
owner-owned temporary directory unaccessible to others as default
OBS-URL: https://build.opensuse.org/request/show/838992
OBS-URL: https://build.opensuse.org/package/show/Java:packages/ant?expand=0&rev=161
- Update to 1.10.8
* Security fix: [CVE-2020-1945, bsc#1171696]
- A new property ant.tmpdir provides improved control over the
location Ant uses to create temporary files
* sshexec failed to write output to a file if the file didn't exist
* Fixes a regression in javac task involving command line argument files.
* sshexec, sshsession and scp now support a new sshConfig parameter.
It specified the SSH configuration file (typically ${user.home}/.ssh/config)
defining the username and keyfile to be used per host.
* "legacy-xml" formatter of junitlauncher task wasn't writing out
exceptions that happen in @BeforeAll method of a test.
* Fixes a potential ConcurrentModificationException in XMLLogger.
* Fixes a bug in junitlauncher task in forked mode, where if a listener element
was used as a sibling element for either the test or testclasses element,
then the forked mode launch would fail.
* Fixes an issue in AntStructure where an incorrect DTD was being generated.
* Fixes an incorrect variable name usage in junit-frames-xalan1.xsl.
* The runant.py script should now work with Python 3.
* rmic has been removed from Java 15. The task will now throw an
exception if you try to use it while running Java 15 or newer.
- Remove ant-python3.patch fixed upstream
- Update to 1.10.8
* Security fix: [CVE-2020-1945, bsc#1171696]
- A new property ant.tmpdir provides improved control over the
location Ant uses to create temporary files
* sshexec failed to write output to a file if the file didn't exist
* Fixes a regression in javac task involving command line argument files.
* sshexec, sshsession and scp now support a new sshConfig parameter.
It specified the SSH configuration file (typically ${user.home}/.ssh/config)
OBS-URL: https://build.opensuse.org/request/show/805655
OBS-URL: https://build.opensuse.org/package/show/Java:packages/ant?expand=0&rev=159
- Add rhino to the ant-apache-bsf optional tasks [bsc#1134001]
- Remove jakarta-commons-* dependencies [bsc#1133997]
* Use apache-commons-logging and apache-commons-net in optional tasks
- Add rhino to the ant-apache-bsf optional tasks [bsc#1134001]
- Remove jakarta-commons-* dependencies [bsc#1133997]
* Use apache-commons-logging and apache-commons-net in optional tasks
- Add rhino to the ant-apache-bsf optional tasks [bsc#1134001]
- Remove jakarta-commons-* dependencies [bsc#1133997]
* Use apache-commons-logging and apache-commons-net in optional tasks
- Add rhino to the ant-apache-bsf optional tasks [bsc#1134001]
- Remove jakarta-commons-* dependencies [bsc#1133997]
* Use apache-commons-logging and apache-commons-net in optional tasks
OBS-URL: https://build.opensuse.org/request/show/800825
OBS-URL: https://build.opensuse.org/package/show/Java:packages/ant?expand=0&rev=157