You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mahout.apache.org by gs...@apache.org on 2008/09/22 14:27:16 UTC
svn commit: r697792 - /lucene/mahout/trunk/build.xml
Author: gsingers
Date: Mon Sep 22 05:27:16 2008
New Revision: 697792
URL: http://svn.apache.org/viewvc?rev=697792&view=rev
Log:
RAT target
Modified:
lucene/mahout/trunk/build.xml
Modified: lucene/mahout/trunk/build.xml
URL: http://svn.apache.org/viewvc/lucene/mahout/trunk/build.xml?rev=697792&r1=697791&r2=697792&view=diff
==============================================================================
--- lucene/mahout/trunk/build.xml (original)
+++ lucene/mahout/trunk/build.xml Mon Sep 22 05:27:16 2008
@@ -85,7 +85,24 @@
</target>
-
+<target name="-taskdef">
+ <typedef resource="org/apache/rat/anttasks/antlib.xml" uri="antlib:rat.anttasks">
+ <classpath>
+ <fileset dir="." includes="rat*.jar"/>
+ </classpath>
+ </typedef>
+ </target>
+<target name="rat-sources" depends="-taskdef"
+ description="runs the tasks over src/java excluding the license directory">
+ <rat:report xmlns:rat="antlib:org.apache.rat.anttasks">
+ <fileset dir="core/src/main/java">
+ <exclude name="**/CHANGES.*"/>
+ </fileset>
+ <fileset dir="examples/src/main/java">
+ <exclude name="**/CHANGES.*"/>
+ </fileset>
+ </rat:report>
+ </target>
</project>