Author: gsingers
Date: Tue Sep  9 13:50:05 2008
New Revision: 693602

URL: http://svn.apache.org/viewvc?rev=693602&view=rev
Log:
SOLR-762: Provide RAT support

Modified:
    lucene/solr/trunk/build.xml

Modified: lucene/solr/trunk/build.xml
URL: 
http://svn.apache.org/viewvc/lucene/solr/trunk/build.xml?rev=693602&r1=693601&r2=693602&view=diff
==============================================================================
--- lucene/solr/trunk/build.xml (original)
+++ lucene/solr/trunk/build.xml Tue Sep  9 13:50:05 2008
@@ -813,6 +813,20 @@
           depends="test, create-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>
 


Reply via email to