mirror of https://github.com/apache/lucene.git
Improve permgen usage and speed up rat-sources by reusing taskdef
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1385178 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6b54b1a712
commit
67b1c87c86
|
@ -299,13 +299,15 @@
|
||||||
failonerror="true"/>
|
failonerror="true"/>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="rat-sources">
|
<!-- rat-sources-typedef is *not* a useless dependency. do not remove -->
|
||||||
<sequential>
|
<target name="rat-sources" depends="rat-sources-typedef">
|
||||||
<ant dir="core" target="rat-sources" inheritall="false"/>
|
<subant target="rat-sources" failonerror="true" inheritall="false">
|
||||||
<ant dir="test-framework" target="rat-sources" inheritall="false"/>
|
<propertyset refid="uptodate.and.compiled.properties"/>
|
||||||
<ant dir="tools" target="rat-sources" inheritall="false"/>
|
<fileset dir="core" includes="build.xml"/>
|
||||||
<modules-crawl target="rat-sources" failonerror="true"/>
|
<fileset dir="test-framework" includes="build.xml"/>
|
||||||
</sequential>
|
<fileset dir="tools" includes="build.xml"/>
|
||||||
|
</subant>
|
||||||
|
<modules-crawl target="rat-sources"/>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<!-- ================================================================== -->
|
<!-- ================================================================== -->
|
||||||
|
|
|
@ -243,13 +243,14 @@
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<!-- rat sources -->
|
<!-- rat sources -->
|
||||||
<target name="rat-sources">
|
<!-- rat-sources-typedef is *not* a useless dependency. do not remove -->
|
||||||
<sequential>
|
<target name="rat-sources" depends="rat-sources-typedef">
|
||||||
<ant dir="core" target="rat-sources" inheritall="false"/>
|
<subant target="rat-sources" inheritall="false" >
|
||||||
<ant dir="solrj" target="rat-sources" inheritall="false"/>
|
<propertyset refid="uptodate.and.compiled.properties"/>
|
||||||
<ant dir="test-framework" target="rat-sources" inheritall="false"/>
|
<fileset dir="core" includes="build.xml"/>
|
||||||
<contrib-crawl target="rat-sources" failonerror="true"/>
|
<fileset dir="solrj" includes="build.xml"/>
|
||||||
</sequential>
|
<fileset dir="test-framework" includes="build.xml"/>
|
||||||
|
</subant>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<!-- Clean targets -->
|
<!-- Clean targets -->
|
||||||
|
|
Loading…
Reference in New Issue