LUCENE-1866: enable rat-sources for all lucene/contrib/modules/solr src and tests

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1064844 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Muir 2011-01-28 19:55:24 +00:00
parent 99a60c33c5
commit 0d9559e1b4
3 changed files with 18 additions and 16 deletions

View File

@ -602,22 +602,6 @@
<patch patchfile="${patch.file}" strip="0"/>
</target>
<target name="rat-sources-typedef">
<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="rat-sources-typedef"
description="runs the tasks over src/java">
<rat:report xmlns:rat="antlib:org.apache.rat.anttasks">
<fileset dir="src/java">
</fileset>
</rat:report>
</target>
<target name="jar-core-test" depends="compile-test">
<!-- load the list of test files into a property named core.test.files -->
<property file="../dev-tools/testjar/testfiles" />

View File

@ -638,6 +638,22 @@
<target name="default" depends="jar-core"/>
<target name="rat-sources-typedef">
<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="rat-sources-typedef"
description="runs the tasks over source and test files">
<rat:report xmlns:rat="antlib:org.apache.rat.anttasks">
<fileset dir="${src.dir}"/>
<fileset dir="${tests.src.dir}"/>
</rat:report>
</target>
<!--+
| M A C R O S
+-->

View File

@ -963,6 +963,8 @@
</fileset>
<fileset dir="contrib/dataimporthandler/src/main/java"/>
<fileset dir="contrib/dataimporthandler/src/test/java"/>
<fileset dir="contrib/dataimporthandler/src/extras/main/java"/>
<fileset dir="contrib/dataimporthandler/src/extras/test/java"/>
<fileset dir="contrib/clustering/src/main/java"/>
<fileset dir="contrib/clustering/src/test/java"/>
<fileset dir="contrib/extraction/src/main/java"/>