Accepting request 1108214 from Java:packages

1.10.14 compatible with java 18+

OBS-URL: https://build.opensuse.org/request/show/1108214
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ant?expand=0&rev=91
This commit is contained in:
Ana Guerrero 2023-09-01 12:18:44 +00:00 committed by Git OBS Bridge
commit f89ceb5029
12 changed files with 247 additions and 23 deletions

View File

@ -1,3 +1,59 @@
-------------------------------------------------------------------
Thu Aug 31 06:49:53 UTC 2023 - Fridrich Strba <fstrba@suse.com>
- Update to 1.10.14:
* Changes that could break older environments:
+ Resource#compareTo now invokes getName rather than toString as
the later may be costly (for example in the case of a
StringResource).
+ When using Java 18 or higher, Ant will no longer use Java
SecurityManager because it has been deprecated for removal and
by default is disallowed to be set at runtime
https://openjdk.org/jeps/411.
This will mean that the "<permissions>" type is no longer
functional when using Java 18 or higher.
Furthermore, when using Java 18 or higher, if the build
executes tasks that call "java.lang.System.exit()" and if
those tasks aren't running in a forked VM of their own, then
such tasks will now kill the entire Ant build process. It is
recommended that such tasks be updated to launch in a forked
VM so that the System.exit() call will not impact the JVM in
which Ant process runs.
* Fixed bugs:
+ log only the stylesheet name in the xslt task.
+ junitlauncher task's "test" and "listener" elements which take
a "outputDir" property were incorrectly resolving the
outputDir against the current working directory instead of the
project's basedir.
+ regexmapper would, in some cases, incorrectly consume
backslash characters from the "to" attribute, resulting in
missing backslashes in the output.
+ <fixcrlf>, <replace> and <replaceregexp> now try to preserve
the file permissions of the files they modify.
+ junitlauncher task would fail if a forked test timed out even
if haltOnFailure was set to false.
+ fixes a bug in org.apache.tools.zip.ZipOutputStream where,
even when "zip64Mode" is set to "always", ZipOutputStream may
not create a CEN extra field data for the entry.
+ legacy-xml listener of junitlauncher task wouldn't report
certain failures involving junit jupiter dynamic tests.
+ allow.class which was introduced in Ant 1.10.13 release, has
been removed from this 1.10.14 release. This class was
introduced in context of the SecurityManager changes in
Ant 1.10.13, which have now been reverted in Ant 1.10.14,
since they caused several regressions.
* Other changes:
+ <fork> element of the junitlauncher task now has a new
optional "java" attribute which can be used to point to a
different Java installation for runnning the forked tests.
+ made sure <echoproperties> sorts the echoed properties on
JDK9+ as well.
+ org.apache.tools.ant.taskdefs.Recorder class now introduces a
setLogLevel(LogLevel level) method.
+ The <fork> element of junitlaunchertask now allows a
"forkMode" attribute. forkMode=perTestClass can now be used to
launch each test class in a separate forked JVM.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu May 4 12:48:37 UTC 2023 - Frederic Crozat <fcrozat@suse.com> Thu May 4 12:48:37 UTC 2023 - Frederic Crozat <fcrozat@suse.com>

View File

@ -24,7 +24,7 @@
%bcond_with junit5 %bcond_with junit5
%bcond_without antlr %bcond_without antlr
Name: ant-antlr Name: ant-antlr
Version: 1.10.13 Version: 1.10.14
Release: 0 Release: 0
Summary: Antlr Task for ant Summary: Antlr Task for ant
License: Apache-2.0 License: Apache-2.0

View File

@ -1,3 +1,59 @@
-------------------------------------------------------------------
Thu Aug 31 06:49:53 UTC 2023 - Fridrich Strba <fstrba@suse.com>
- Update to 1.10.14:
* Changes that could break older environments:
+ Resource#compareTo now invokes getName rather than toString as
the later may be costly (for example in the case of a
StringResource).
+ When using Java 18 or higher, Ant will no longer use Java
SecurityManager because it has been deprecated for removal and
by default is disallowed to be set at runtime
https://openjdk.org/jeps/411.
This will mean that the "<permissions>" type is no longer
functional when using Java 18 or higher.
Furthermore, when using Java 18 or higher, if the build
executes tasks that call "java.lang.System.exit()" and if
those tasks aren't running in a forked VM of their own, then
such tasks will now kill the entire Ant build process. It is
recommended that such tasks be updated to launch in a forked
VM so that the System.exit() call will not impact the JVM in
which Ant process runs.
* Fixed bugs:
+ log only the stylesheet name in the xslt task.
+ junitlauncher task's "test" and "listener" elements which take
a "outputDir" property were incorrectly resolving the
outputDir against the current working directory instead of the
project's basedir.
+ regexmapper would, in some cases, incorrectly consume
backslash characters from the "to" attribute, resulting in
missing backslashes in the output.
+ <fixcrlf>, <replace> and <replaceregexp> now try to preserve
the file permissions of the files they modify.
+ junitlauncher task would fail if a forked test timed out even
if haltOnFailure was set to false.
+ fixes a bug in org.apache.tools.zip.ZipOutputStream where,
even when "zip64Mode" is set to "always", ZipOutputStream may
not create a CEN extra field data for the entry.
+ legacy-xml listener of junitlauncher task wouldn't report
certain failures involving junit jupiter dynamic tests.
+ allow.class which was introduced in Ant 1.10.13 release, has
been removed from this 1.10.14 release. This class was
introduced in context of the SecurityManager changes in
Ant 1.10.13, which have now been reverted in Ant 1.10.14,
since they caused several regressions.
* Other changes:
+ <fork> element of the junitlauncher task now has a new
optional "java" attribute which can be used to point to a
different Java installation for runnning the forked tests.
+ made sure <echoproperties> sorts the echoed properties on
JDK9+ as well.
+ org.apache.tools.ant.taskdefs.Recorder class now introduces a
setLogLevel(LogLevel level) method.
+ The <fork> element of junitlaunchertask now allows a
"forkMode" attribute. forkMode=perTestClass can now be used to
launch each test class in a separate forked JVM.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu May 4 12:48:37 UTC 2023 - Frederic Crozat <fcrozat@suse.com> Thu May 4 12:48:37 UTC 2023 - Frederic Crozat <fcrozat@suse.com>

View File

@ -24,7 +24,7 @@
%bcond_with junit5 %bcond_with junit5
%bcond_with antlr %bcond_with antlr
Name: ant-junit Name: ant-junit
Version: 1.10.13 Version: 1.10.14
Release: 0 Release: 0
Summary: Optional junit tasks for ant Summary: Optional junit tasks for ant
License: Apache-2.0 License: Apache-2.0

View File

@ -1,3 +1,59 @@
-------------------------------------------------------------------
Thu Aug 31 06:49:53 UTC 2023 - Fridrich Strba <fstrba@suse.com>
- Update to 1.10.14:
* Changes that could break older environments:
+ Resource#compareTo now invokes getName rather than toString as
the later may be costly (for example in the case of a
StringResource).
+ When using Java 18 or higher, Ant will no longer use Java
SecurityManager because it has been deprecated for removal and
by default is disallowed to be set at runtime
https://openjdk.org/jeps/411.
This will mean that the "<permissions>" type is no longer
functional when using Java 18 or higher.
Furthermore, when using Java 18 or higher, if the build
executes tasks that call "java.lang.System.exit()" and if
those tasks aren't running in a forked VM of their own, then
such tasks will now kill the entire Ant build process. It is
recommended that such tasks be updated to launch in a forked
VM so that the System.exit() call will not impact the JVM in
which Ant process runs.
* Fixed bugs:
+ log only the stylesheet name in the xslt task.
+ junitlauncher task's "test" and "listener" elements which take
a "outputDir" property were incorrectly resolving the
outputDir against the current working directory instead of the
project's basedir.
+ regexmapper would, in some cases, incorrectly consume
backslash characters from the "to" attribute, resulting in
missing backslashes in the output.
+ <fixcrlf>, <replace> and <replaceregexp> now try to preserve
the file permissions of the files they modify.
+ junitlauncher task would fail if a forked test timed out even
if haltOnFailure was set to false.
+ fixes a bug in org.apache.tools.zip.ZipOutputStream where,
even when "zip64Mode" is set to "always", ZipOutputStream may
not create a CEN extra field data for the entry.
+ legacy-xml listener of junitlauncher task wouldn't report
certain failures involving junit jupiter dynamic tests.
+ allow.class which was introduced in Ant 1.10.13 release, has
been removed from this 1.10.14 release. This class was
introduced in context of the SecurityManager changes in
Ant 1.10.13, which have now been reverted in Ant 1.10.14,
since they caused several regressions.
* Other changes:
+ <fork> element of the junitlauncher task now has a new
optional "java" attribute which can be used to point to a
different Java installation for runnning the forked tests.
+ made sure <echoproperties> sorts the echoed properties on
JDK9+ as well.
+ org.apache.tools.ant.taskdefs.Recorder class now introduces a
setLogLevel(LogLevel level) method.
+ The <fork> element of junitlaunchertask now allows a
"forkMode" attribute. forkMode=perTestClass can now be used to
launch each test class in a separate forked JVM.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu May 4 12:48:37 UTC 2023 - Frederic Crozat <fcrozat@suse.com> Thu May 4 12:48:37 UTC 2023 - Frederic Crozat <fcrozat@suse.com>

View File

@ -24,7 +24,7 @@
%bcond_without junit5 %bcond_without junit5
%bcond_with antlr %bcond_with antlr
Name: ant-junit5 Name: ant-junit5
Version: 1.10.13 Version: 1.10.14
Release: 0 Release: 0
Summary: Optional junit tasks for ant Summary: Optional junit tasks for ant
License: Apache-2.0 License: Apache-2.0

View File

@ -1,3 +1,59 @@
-------------------------------------------------------------------
Thu Aug 31 06:49:53 UTC 2023 - Fridrich Strba <fstrba@suse.com>
- Update to 1.10.14:
* Changes that could break older environments:
+ Resource#compareTo now invokes getName rather than toString as
the later may be costly (for example in the case of a
StringResource).
+ When using Java 18 or higher, Ant will no longer use Java
SecurityManager because it has been deprecated for removal and
by default is disallowed to be set at runtime
https://openjdk.org/jeps/411.
This will mean that the "<permissions>" type is no longer
functional when using Java 18 or higher.
Furthermore, when using Java 18 or higher, if the build
executes tasks that call "java.lang.System.exit()" and if
those tasks aren't running in a forked VM of their own, then
such tasks will now kill the entire Ant build process. It is
recommended that such tasks be updated to launch in a forked
VM so that the System.exit() call will not impact the JVM in
which Ant process runs.
* Fixed bugs:
+ log only the stylesheet name in the xslt task.
+ junitlauncher task's "test" and "listener" elements which take
a "outputDir" property were incorrectly resolving the
outputDir against the current working directory instead of the
project's basedir.
+ regexmapper would, in some cases, incorrectly consume
backslash characters from the "to" attribute, resulting in
missing backslashes in the output.
+ <fixcrlf>, <replace> and <replaceregexp> now try to preserve
the file permissions of the files they modify.
+ junitlauncher task would fail if a forked test timed out even
if haltOnFailure was set to false.
+ fixes a bug in org.apache.tools.zip.ZipOutputStream where,
even when "zip64Mode" is set to "always", ZipOutputStream may
not create a CEN extra field data for the entry.
+ legacy-xml listener of junitlauncher task wouldn't report
certain failures involving junit jupiter dynamic tests.
+ allow.class which was introduced in Ant 1.10.13 release, has
been removed from this 1.10.14 release. This class was
introduced in context of the SecurityManager changes in
Ant 1.10.13, which have now been reverted in Ant 1.10.14,
since they caused several regressions.
* Other changes:
+ <fork> element of the junitlauncher task now has a new
optional "java" attribute which can be used to point to a
different Java installation for runnning the forked tests.
+ made sure <echoproperties> sorts the echoed properties on
JDK9+ as well.
+ org.apache.tools.ant.taskdefs.Recorder class now introduces a
setLogLevel(LogLevel level) method.
+ The <fork> element of junitlaunchertask now allows a
"forkMode" attribute. forkMode=perTestClass can now be used to
launch each test class in a separate forked JVM.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu May 4 12:48:37 UTC 2023 - Frederic Crozat <fcrozat@suse.com> Thu May 4 12:48:37 UTC 2023 - Frederic Crozat <fcrozat@suse.com>

View File

@ -23,7 +23,7 @@
%bcond_with junit5 %bcond_with junit5
%bcond_with antlr %bcond_with antlr
Name: ant Name: ant
Version: 1.10.13 Version: 1.10.14
Release: 0 Release: 0
Summary: Java-based build tool Summary: Java-based build tool
License: Apache-2.0 License: Apache-2.0

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2a3de6f5d52f7859e0a18f23d8dcdd64cde05ed262654b2286f74759cf0d68d4
size 3881100

View File

@ -1,16 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEChI8HtPxOmoBQOFmxx+3Zc2d4xMFAmO1UfwACgkQxx+3Zc2d
4xMZmBAAgyBgoYZGpbtt7bRlgxrBn9i2/ELTHfMR6Xy7mC8G6zAUM4vgrdlmiMia
lK0460lv1ACW2sQGIvAtDt277HY/aDGLxeGKLRd96RAzL95h96JZZy5RkPgjrsxf
aq2PM9W+XETcf+UfOe5JU3cPOrkn+om2dwf+jIVEuxxWr7SwGZwyB6ZaSOrr1iUr
tlhc4yaXEHRnDktBTuX2zZTkg6tFC1ZNwyKmRQ6OfZqqbmfGSTmi55GUPgk2t3Gl
A/hJ863lderqZwhsNtF+VhdR11IDxaMMuhDP1dHh3JRz4WJu9p3TTUTcLorzUD4n
nxfrB1AAm55vQCa969wecN2FuhcHgpWPe4ZMwUb3M8c9qV2MfS7gXUBWmryrciHQ
fycXrjh1W+ND9Yl5o3OxhTVQ4zijcSlN98BvVLxPZw3VelabuaYAqqC7XkLoMt9c
8/wqFV1/njD5rL+ChGvHcRKDyIk0XkW+3pIAPPIBbFj9cw+ufFnwdw5Zcq5LsnKY
ho8sAh6RavZTiTr4GvLCnvRO6TFxlbA5VPAwE3D6LCzmumH8YTHdjy7It1dToMsy
r0Hqj8YPUrf7q40BlyxQLeQfhI7nTS6LBTjnBfXWWDyTchks4eOdI2MxDLrTadwF
/xg3TmdFq8gRGEsXtwbXanuR3VCitW+CM7Y9rCQOieMuehDAHkk=
=qRxg
-----END PGP SIGNATURE-----

BIN
apache-ant-1.10.14-src.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEChI8HtPxOmoBQOFmxx+3Zc2d4xMFAmTcuDkACgkQxx+3Zc2d
4xPj/A//XXu00rd4H/NHRLt5AGyaF8ezlidNLpD+xfcG7CuviK6j3rhaCKKrA/fI
XLX1zLc01nWIeuY+3/hvnJjwP08IW7Zez7O6x0Els/DT7TK5idDFetdlR7WFdJy0
7awlo1GaVGJKOHvLy3ZjZtsYz4bTC+UiZK4sJ8kzuiTjEGarMqTESxbd9kvycC0M
NBHrEVVp2sUKSOgY2bsfzN30TFEmhEd/g4t+UGPGnVZMVqJwI+13w7iA00rKnaw0
p9A5IH7C/JpycWiP3pLAdx1E5Cg9tdJrl0lAxFf0ULe/9iPIVu3FYQQKrWJ0+VL1
vH1Odrr8X6vUy4KYVIUd+l5ShFxvImMlNdC3NHTU7FoialTJ/6r78W6drM0o/q/W
9XRuHvnTfIiLqf1sdqh7MOvDNkMMAZxiL/1wr8KTeWZAiwRjbQgrh0XKk3EYBhjS
7+N3FzDNHGjP0MWDEfM4EFmF7PEj0RhMj7AiPj2Wfm1Tjl9PXxhud/am0NsXsUQM
rUt1pLVsLClCGZ3bmhQXLS0SgaFtD9waDlCONT0jbHVdM163XQ0JrFhOUrSzlcs/
t3f/8oalG1OjH70iPLnanCxLFKDybWJtulxqbf9YyPreYdGfLkSuWzAqKfmsBQ2z
JEntRvps7oTGVRi3t9ALyYheTrXZz8DtcZuX/Zq6mvfEsZazp3Y=
=8m34
-----END PGP SIGNATURE-----