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"/>
|
||||
</target>
|
||||
|
||||
<target name="rat-sources">
|
||||
<sequential>
|
||||
<ant dir="core" target="rat-sources" inheritall="false"/>
|
||||
<ant dir="test-framework" target="rat-sources" inheritall="false"/>
|
||||
<ant dir="tools" target="rat-sources" inheritall="false"/>
|
||||
<modules-crawl target="rat-sources" failonerror="true"/>
|
||||
</sequential>
|
||||
<!-- rat-sources-typedef is *not* a useless dependency. do not remove -->
|
||||
<target name="rat-sources" depends="rat-sources-typedef">
|
||||
<subant target="rat-sources" failonerror="true" inheritall="false">
|
||||
<propertyset refid="uptodate.and.compiled.properties"/>
|
||||
<fileset dir="core" includes="build.xml"/>
|
||||
<fileset dir="test-framework" includes="build.xml"/>
|
||||
<fileset dir="tools" includes="build.xml"/>
|
||||
</subant>
|
||||
<modules-crawl target="rat-sources"/>
|
||||
</target>
|
||||
|
||||
<!-- ================================================================== -->
|
||||
|
|
|
@ -243,13 +243,14 @@
|
|||
</target>
|
||||
|
||||
<!-- rat sources -->
|
||||
<target name="rat-sources">
|
||||
<sequential>
|
||||
<ant dir="core" target="rat-sources" inheritall="false"/>
|
||||
<ant dir="solrj" target="rat-sources" inheritall="false"/>
|
||||
<ant dir="test-framework" target="rat-sources" inheritall="false"/>
|
||||
<contrib-crawl target="rat-sources" failonerror="true"/>
|
||||
</sequential>
|
||||
<!-- rat-sources-typedef is *not* a useless dependency. do not remove -->
|
||||
<target name="rat-sources" depends="rat-sources-typedef">
|
||||
<subant target="rat-sources" inheritall="false" >
|
||||
<propertyset refid="uptodate.and.compiled.properties"/>
|
||||
<fileset dir="core" includes="build.xml"/>
|
||||
<fileset dir="solrj" includes="build.xml"/>
|
||||
<fileset dir="test-framework" includes="build.xml"/>
|
||||
</subant>
|
||||
</target>
|
||||
|
||||
<!-- Clean targets -->
|
||||
|
|
Loading…
Reference in New Issue