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:26:08 UTC
svn commit: r697790 - /lucene/mahout/branches/branch-0.1/build.xml
Author: gsingers
Date: Mon Sep 22 05:26:08 2008
New Revision: 697790
URL: http://svn.apache.org/viewvc?rev=697790&view=rev
Log:
add RAT target
Modified:
lucene/mahout/branches/branch-0.1/build.xml
Modified: lucene/mahout/branches/branch-0.1/build.xml
URL: http://svn.apache.org/viewvc/lucene/mahout/branches/branch-0.1/build.xml?rev=697790&r1=697789&r2=697790&view=diff
==============================================================================
--- lucene/mahout/branches/branch-0.1/build.xml (original)
+++ lucene/mahout/branches/branch-0.1/build.xml Mon Sep 22 05:26:08 2008
@@ -84,9 +84,25 @@
</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>
-
\ No newline at end of file
+