mirror of https://github.com/apache/lucene.git
LUCENE-1400: add rat-sources target to build.xml
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@698495 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0fa718244c
commit
798f4676ed
17
build.xml
17
build.xml
|
@ -628,4 +628,21 @@
|
|||
<target name="apply-patch" depends="clean" description="Apply a patch file. Set -Dpatch.file, or -Dpatch.name when the patch is in the directory ../patches/">
|
||||
<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>
|
||||
|
||||
</project>
|
||||
|
|
Loading…
Reference in New Issue