This is an automated email from the ASF dual-hosted git repository.

bodewig pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ant-antlibs-antunit.git


The following commit(s) were added to refs/heads/master by this push:
     new 2d2e4d0  we should do as we say, use ant:current in antlib descriptor
2d2e4d0 is described below

commit 2d2e4d0dabc61be3db5c3dd886eda1baf82366d9
Author: Stefan Bodewig <bode...@apache.org>
AuthorDate: Sun May 23 10:59:02 2021 +0200

    we should do as we say, use ant:current in antlib descriptor
    
    https://bz.apache.org/bugzilla/show_bug.cgi?id=65315
---
 NOTICE                                     | 2 +-
 changes.xml                                | 5 +++++
 src/main/org/apache/ant/antunit/antlib.xml | 2 +-
 3 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/NOTICE b/NOTICE
index 7b021a9..e8e650c 100644
--- a/NOTICE
+++ b/NOTICE
@@ -1,5 +1,5 @@
 Apache AntUnit
-Copyright 2005-2018 The Apache Software Foundation
+Copyright 2005-2018,2021 The Apache Software Foundation
 
 This product includes software developed at
 The Apache Software Foundation (https://www.apache.org/).
diff --git a/changes.xml b/changes.xml
index 4a9351e..9ce4cbb 100644
--- a/changes.xml
+++ b/changes.xml
@@ -38,6 +38,11 @@
   </properties>
 
   <release version="1.5" date="unreleased">
+    <action type="fix" issue="65315">
+      We didn't follow our own best practice and hard-coded the
+      AntUnit URI inside the Antlib descriptor instead of using
+      ant:current.
+    </action>
   </release>
   <release version="1.4" date="2018-06-25">
     <action type="update" breaks-bwc="true">
diff --git a/src/main/org/apache/ant/antunit/antlib.xml 
b/src/main/org/apache/ant/antunit/antlib.xml
index 36f12d4..87327bf 100644
--- a/src/main/org/apache/ant/antunit/antlib.xml
+++ b/src/main/org/apache/ant/antunit/antlib.xml
@@ -17,7 +17,7 @@ KIND, either express or implied.  See the License for the
 specific language governing permissions and limitations
 under the License.
 -->
-<antlib xmlns:au="antlib:org.apache.ant.antunit">
+<antlib xmlns:au="ant:current">
   <taskdef name="antunit"
     classname="org.apache.ant.antunit.AntUnit"/>
 

Reply via email to