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

jaikiran pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ant.git


The following commit(s) were added to refs/heads/master by this push:
     new 5f8c637  bz-65110 Fix the ant-testutil-sources.jar generation
5f8c637 is described below

commit 5f8c6370a50e405793b8882ff05c0d65d89618c6
Author: Jaikiran Pai <[email protected]>
AuthorDate: Thu Jan 28 16:17:35 2021 +0530

    bz-65110 Fix the ant-testutil-sources.jar generation
---
 WHATSNEW  | 4 ++++
 build.xml | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/WHATSNEW b/WHATSNEW
index 9473c71..be98daa 100644
--- a/WHATSNEW
+++ b/WHATSNEW
@@ -23,6 +23,10 @@ Fixed bugs:
    representing a @Parameterized JUnit4 test wasn't being reported in the XML.
    Bugzilla Report 64952
 
+ * Fixes a bug where the ant-testutil-sources.jar that gets published to Maven
+   central repository didn't contain any source files.
+   Bugzilla Report 65110
+
 Other changes:
 --------------
 
diff --git a/build.xml b/build.xml
index 21260f9..2e93125 100644
--- a/build.xml
+++ b/build.xml
@@ -980,7 +980,7 @@
           description="--> creates the Apache Ant Test Utilities source jar">
     <mkdir dir="${build.lib-src}"/>
     <jar destfile="${build.lib-src}/${name}-testutil.jar"
-         basedir="${java.dir}">
+         basedir="${src.junit}">
       <patternset refid="useful.tests"/>
       <metainf dir="${build.dir}">
         <include name="LICENSE.txt"/>

Reply via email to