mirror of https://github.com/apache/lucene.git
LUCENE-2926: contrib 'init' target now ensures that lucene-core jar is built and up-to-date
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1071891 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
55af869609
commit
377c16ad52
|
@ -664,6 +664,13 @@
|
|||
</typedef>
|
||||
</target>
|
||||
|
||||
<target name="lucene-uptodate" unless="lucene.uptodate">
|
||||
<uptodate property="lucene.uptodate"
|
||||
targetfile="${common.dir}/build/lucene-core-${version}.jar">
|
||||
<srcfiles dir="${common.dir}/src/java" includes="**/*.java"/>
|
||||
</uptodate>
|
||||
</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">
|
||||
|
|
|
@ -60,7 +60,11 @@
|
|||
<property name="core.compiled" value="true"/>
|
||||
</target>
|
||||
|
||||
<target name="init" depends="common.init,build-lucene"/>
|
||||
<target name="jar-lucene" depends="build-lucene" unless="lucene.uptodate">
|
||||
<ant dir="${common.dir}" target="jar-core" inheritAll="false"/>
|
||||
</target>
|
||||
|
||||
<target name="init" depends="common.init,lucene-uptodate,jar-lucene"/>
|
||||
<target name="compile-test" depends="init" if="contrib.has.tests">
|
||||
<antcall target="common.compile-test" inheritRefs="true" />
|
||||
</target>
|
||||
|
|
Loading…
Reference in New Issue