SOLR-762: Provide RAT support

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@693602 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Grant Ingersoll 2008-09-09 20:50:05 +00:00
parent 86ad9f717a
commit 897f0c2577
1 changed files with 14 additions and 0 deletions

View File

@ -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>