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

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


The following commit(s) were added to refs/heads/master by this push:
     new 9894096  NUTCH-2899 Remove needless warning about missing 
o/a/rat/anttasks/antlib.xml - avoid needless warning by moving taskdef into 
task element
     new 80ac3b5  Merge pull request #701 from sebastian-nagel/NUTCH-2899
9894096 is described below

commit 9894096534cc2e49f64a82d5af738a485814d5bb
Author: Sebastian Nagel <sna...@apache.org>
AuthorDate: Fri Oct 22 17:26:43 2021 +0200

    NUTCH-2899 Remove needless warning about missing o/a/rat/anttasks/antlib.xml
    - avoid needless warning by moving taskdef into task element
---
 build.xml | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

diff --git a/build.xml b/build.xml
index 1180dea..05216b8 100644
--- a/build.xml
+++ b/build.xml
@@ -1063,16 +1063,15 @@
     <delete file="${ivy.dir}/apache-rat-${apache-rat.version}-bin.tar.gz" />
   </target>
 
-  <taskdef
-      uri="antlib:org.apache.rat.anttasks"
-      resource="org/apache/rat/anttasks/antlib.xml">
-    <classpath>
-      <pathelement location="${apache-rat.jar}" />
-    </classpath>
-  </taskdef>
-
   <target name="rat-sources" depends="init, apache-rat-download"
     description="--> runs RAT tasks over src/java">
+    <taskdef
+        uri="antlib:org.apache.rat.anttasks"
+        resource="org/apache/rat/anttasks/antlib.xml">
+      <classpath>
+        <pathelement location="${apache-rat.jar}" />
+      </classpath>
+    </taskdef>
     <rat:report
         reportFile="${build.dir}/apache-rat-report.txt">
       <fileset dir="src">

Reply via email to