You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bo...@apache.org on 2026/05/17 10:09:55 UTC
(ant-antlibs-common) branch master updated (635da12 -> 2a9972e)
This is an automated email from the ASF dual-hosted git repository.
asf-gitbox-commits pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/ant-antlibs-common.git
from 635da12 any Antlib we release in the future will likely require Ant 1.10.x
new 0466bce resolve before checking for JUnit
new 2a9972e more antunit typedef to make buildfile easier to use for AntUnit itself
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
build.xml | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
(ant-antlibs-common) 02/02: more antunit typedef to make buildfile easier to use for AntUnit itself
Posted by bo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
asf-gitbox-commits pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ant-antlibs-common.git
commit 2a9972ef3b45984824a23831857c95ba2a6518b6
Author: Stefan Bodewig <bo...@apache.org>
AuthorDate: Sun May 17 12:09:22 2026 +0200
more antunit typedef to make buildfile easier to use for AntUnit itself
---
build.xml | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/build.xml b/build.xml
index eac4b7f..635aa36 100644
--- a/build.xml
+++ b/build.xml
@@ -89,6 +89,7 @@
<metainf file="NOTICE"/>
<metainf file="${common.basedir}/LICENSE"/>
</jar>
+ <property name="antlib.location" location="${jarname}"/>
</target>
<target name="checksum-target-jar"
@@ -128,16 +129,20 @@
to the correct location.</fail>
</target>
- <target name="setup-for-antunit-tests" depends="setup,determine-test-types"
+ <target name="setup-for-antunit-tests" depends="setup,determine-test-types,resolve"
unless="skip-antunit">
<available classname="org.apache.ant.antunit.AntUnit"
property="antunit-present?"
classpathref="classpath.test"/>
<fail unless="antunit-present?">The AntUnit Ant library is not present.</fail>
+
+ <typedef uri="antlib:org.apache.ant.antunit"
+ resource="org/apache/ant/antunit/antlib.xml"
+ classpathref="classpath.test"/>
</target>
- <target name="compile-tests" depends="setup-for-junit-tests, antlib, resolve"
+ <target name="compile-tests" depends="setup-for-junit-tests, antlib"
unless="skip-junit">
<javac
srcdir="${src.junit}"
@@ -195,10 +200,6 @@
<property name="antunit.excludes" value="" />
<mkdir dir="${antunit.report.dir}" />
- <typedef uri="antlib:org.apache.ant.antunit"
- resource="org/apache/ant/antunit/antlib.xml"
- classpathref="classpath.test"/>
- <property name="antlib.location" location="${jarname}"/>
<au:antunit xmlns:au="antlib:org.apache.ant.antunit"
failOnError="false"
errorProperty="antunit.tests.failed"
(ant-antlibs-common) 01/02: resolve before checking for JUnit
Posted by bo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
asf-gitbox-commits pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ant-antlibs-common.git
commit 0466bce438a650d9346a90a6ed8487442bec9707
Author: Stefan Bodewig <bo...@apache.org>
AuthorDate: Sun May 17 12:08:54 2026 +0200
resolve before checking for JUnit
---
build.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/build.xml b/build.xml
index 5a17755..eac4b7f 100644
--- a/build.xml
+++ b/build.xml
@@ -111,7 +111,7 @@
</condition>
</target>
- <target name="setup-for-junit-tests" depends="setup,determine-test-types"
+ <target name="setup-for-junit-tests" depends="setup,determine-test-types,resolve"
unless="skip-junit">
<available classname="junit.framework.TestCase"
property="junit-present?"