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-antunit.git
commit 1d98715cab4201056110073c3ef95d60726342b6 Author: Stefan Bodewig <[email protected]> AuthorDate: Sun Apr 26 22:45:01 2026 +0200 document changes mad by Matt four years ago --- changes.xml | 7 +++++++ docs/antunit.html | 14 ++++++++++++++ 2 files changed, 21 insertions(+) diff --git a/changes.xml b/changes.xml index f939d5a..a100c2b 100644 --- a/changes.xml +++ b/changes.xml @@ -38,6 +38,13 @@ </properties> <release version="1.5" date="unreleased"> + <action type="add"> + Allow the AntUnit task to use a different classloader when + running the test by means of a nested classpath or a + classpathrefid attribute. + + Only works properly with Ant 1.10.13 or later. + </action> </release> <release version="1.4.1" date="2021-07-07"> <action type="fix" issue="65315"> diff --git a/docs/antunit.html b/docs/antunit.html index b7e35af..5c9bc55 100644 --- a/docs/antunit.html +++ b/docs/antunit.html @@ -145,6 +145,14 @@ <h3>Parameters</h3> attribute is set to false.</td> <td align="center">No.</td> </tr> + <tr> + <td valign="top">classpathrefid</td> + <td valign="top">Specify the classpath to use when running the + tests - specified as a reference to an existing path.<br/> + <em>since AntUnit 1.5</em> + </td> + <td align="center">No.</td> + </tr> </table> <h3>Parameters specified as nested elements</h3> @@ -224,6 +232,12 @@ <h4>reference</h4> </pre> </p> + <h4>classpath</h4> + + <p>Nested path-like structure. Specifies the classpath to use + when running the tests. Requires Ant 1.10.13 or later to work + properly. <em>since AntUnit 1.5</em>.</p> + <h3>Examples</h3> <p>This build file snippet (from src/etc/testcases/antunit/base.xml)</p>
