Author: gsingers
Date: Tue Sep 9 13:48:59 2008
New Revision: 693600
URL: http://svn.apache.org/viewvc?rev=693600&view=rev
Log:
SOLR-762: add rat support
Modified:
lucene/solr/branches/branch-1.3/build.xml
Modified: lucene/solr/branches/branch-1.3/build.xml
URL:
http://svn.apache.org/viewvc/lucene/solr/branches/branch-1.3/build.xml?rev=693600&r1=693599&r2=693600&view=diff
==============================================================================
--- lucene/solr/branches/branch-1.3/build.xml (original)
+++ lucene/solr/branches/branch-1.3/build.xml Tue Sep 9 13:48:59 2008
@@ -810,6 +810,20 @@
depends="test, package">
<!-- no description, don't advertise -->
</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="src/java">
+ </fileset>
+ </rat:report>
+ </target>
</project>