Test utility tasks for ant-antlr.
Provides
Requires
License
Apache-2.0
Changelog
* Tue Jul 15 2025 Fridrich Strba <fstrba@suse.com>
- Remove the stale pre_checkin.sh, a relict from before the
_multirelease spec
* Mon Nov 04 2024 Gus Kenion <gus.kenion@suse.com>
- Upgrade to version 1.10.15
* Bug fixes:
+ Fixes an regression, introduced in Ant 1.10.13, where
pathconvert would unintentionally trim the string output.
Bugzilla Report 67082
+ Fixes a bug in <depend> task which would throw a
ClassFormatError if it encountered constant pool entry type
17. Bugzilla Report 66552
+ Launching ant.bat from within a Java program using
java.lang.Runtime.exec() could result in an unexpected
failure. This has now been fixed. Bugzilla Report 67417
+ Fixes an issue in bootstrap.bat when trying to detect if the
"javac" command in the JDK supports the "--release" option.
Github Pull Request #205
+ Fixes a bug in
org.apache.tools.ant.taskdefs.email.EmailAddress which would
throw a java.lang.StringIndexOutOfBoundsException if the
email address passed to its constructor was an empty String.
Bugzilla Report 68462
+ legacy-xml reporter of junitlauncher task was using a
non-buffered outputstream when generating the report. This
introduces severe performance penalties since the writes
translate to native write system calls. This has been fixed
to use a BufferedOutputStream. Github Pull Request #207
* Other changes:
+ exec task now logs the process' non-zero exit code at INFO
level instead of the previous ERROR level. The following
message from exec task is the one who's level has been
changed:
Result: 1
Bugzilla Report 26453
+ Removes direct references to
com.sun.net.ssl.internal.ssl.Provider class from the mail
task, since that internal JDK class is no longer available in
recent versions of Java. Bugzilla Report 68460
+ <replaceregexp> has a new failOnError attribute which, when
enabled, makes the task throw a BuildException for certain
error cases that will only be logged otherwise. Github Pull
Request #206
+ <ftp> task now has a new "useSecureDataChannel" attribute
which can be set to true, when ftps is enabled, to enable
secure data channel. Bugzilla Report 68773
- Unify .spec files
* remove ant-antlr.changes
* remove ant-antlr.spec
* remove ant-junit.changes
* remove ant-junit.spec
* remove ant-junit5.changes
* remove ant-junit5.spec
* Sun Sep 29 2024 Fridrich Strba <fstrba@suse.com>
- Fix build after removal of the default %%{java_home} define
* Tue Sep 17 2024 Fridrich Strba <fstrba@suse.com>
- Modified patch:
* reproducible-jar-mtime.patch
+ try different approach to get bit-reproducible builds
* Tue Aug 13 2024 Fridrich Strba <fstrba@suse.com>
- Modified patches:
* reproducible-jar-mtime.patch
+ attempt more normalization of mtimes in jar files
* reproducible-javadoc.patch
+ fix the patch to work with custom doclets too
* Thu Jul 18 2024 Fridrich Strba <fstrba@suse.com>
- Added patches:
* reproducible-jar-mtime.patch
+ make the modification times of files in a jar file
reproducible
* reproducible-javadoc.patch
+ make javadoc generation reproducible: don't generate
timestamps, and normalize locale and encoding
* Sat May 04 2024 Anton Shvetz <shvetz.anton@gmail.com>
- Add forgotten open-test-reporting/events to
%{_sysconfdir}/ant.d/junitlauncher
* Sat Apr 27 2024 Fridrich Strba <fstrba@suse.com>
- Put hamcrest on the classpath of ant-junit module
* Tue Feb 20 2024 Fridrich Strba <fstrba@suse.com>
- Use %patch -P N instead of deprecated %patchN.
* Fri Jan 26 2024 Anton Shvetz <shvetz.anton@gmail.com>
- Add forgotten univocity-parsers to
%{_sysconfdir}/ant.d/junitlauncher (needed to run unit tests
annotated with @CsvSource and @CsvFileSource)
* Mon Sep 11 2023 Fridrich Strba <fstrba@suse.com>
- Added patch:
* reproducible-propertyfile-task.patch
+ Debian patch to improve propertyfile task in RPM builds by
using the date specified by the SOURCE_DATE_EPOCH variable
in the header of the .properties file generated
* Thu Aug 31 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 04 2023 Frederic Crozat <fcrozat@suse.com>
- Add _multibuild to define additional spec files as additional
flavors.
Eliminates the need for source package links in OBS.
* Thu Jan 26 2023 Fridrich Strba <fstrba@suse.com>
- Package and distribute the new ant-jakartamail
* Wed Jan 18 2023 David Anes <david.anes@suse.com>
- Update ant keyring with new developer keys.
- Update to 1.10.13:
* Breaking changes:
- <get> has a new attribute authenticateOnRedirect that can be
used to prevent Ant from sending the configured credentials
when following a redirect. It is false by default, which means
builds that rely on credentials being used on the redirected
URI may break.
* Fixed bugs:
- the PropertyEnumerator change introduced in 1.10.9 proved to
be not fully backwards compatible when combined with certain
custom PropertyHelper implementations - for example when using
AntXtras.
- legacy-xml reporter of the junitlauncher task no