You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nutch.apache.org by si...@apache.org on 2009/02/18 09:11:46 UTC
svn commit: r745416 - /lucene/nutch/trunk/build.xml
Author: siren
Date: Wed Feb 18 08:11:46 2009
New Revision: 745416
URL: http://svn.apache.org/viewvc?rev=745416&view=rev
Log:
NUTCH-687 add RAT
Modified:
lucene/nutch/trunk/build.xml
Modified: lucene/nutch/trunk/build.xml
URL: http://svn.apache.org/viewvc/lucene/nutch/trunk/build.xml?rev=745416&r1=745415&r2=745416&view=diff
==============================================================================
--- lucene/nutch/trunk/build.xml (original)
+++ lucene/nutch/trunk/build.xml Wed Feb 18 08:11:46 2009
@@ -610,4 +610,23 @@
<delete dir="${build.dir}"/>
</target>
+ <!-- ================================================================== -->
+ <!-- RAT targets -->
+ <!-- ================================================================== -->
+ <target name="rat-sources-typedef">
+ <typedef resource="org/apache/rat/anttasks/antlib.xml" >
+ <classpath>
+ <fileset dir="." includes="rat*.jar"/>
+ </classpath>
+ </typedef>
+ </target>
+
+ <target name="rat-sources" depends="rat-sources-typedef"
+ description="runs the tasks over src/java">
+ <rat:report xmlns:rat="antlib:org.apache.rat.anttasks">
+ <fileset dir="src/java">
+ </fileset>
+ </rat:report>
+ </target>
+
</project>