mirror of https://github.com/apache/lucene.git
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:
parent
99a60c33c5
commit
0d9559e1b4
|
@ -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" />
|
||||
|
|
|
@ -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
|
||||
+-->
|
||||
|
|
|
@ -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"/>
|
||||
|
|
Loading…
Reference in New Issue