Skip to content

armgit / nutch

Public Imported from GitHub
0

Apache Nutch is an extensible and scalable web crawler

NUTCH-2899 Remove needless warning about missing o/a/rat/anttasks/antlib.xml - avoid needless warning by moving taskdef into task element

Sebastian Nagel9894096534cc
diff --git a/build.xml b/build.xml
index 1180dea49..05216b856 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">