mirror of https://github.com/apache/lucene.git
build distributions, and consolidate from master build
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150905 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d33a91c6c3
commit
1cb510889b
|
@ -1,7 +1,11 @@
|
||||||
<project name="sandbox" default="build-tree">
|
<project name="sandbox" default="build-tree">
|
||||||
|
|
||||||
|
<property name="dist.dir" location="dist"/>
|
||||||
|
|
||||||
<target name="clean">
|
<target name="clean">
|
||||||
<subant target="clean">
|
<subant target="clean">
|
||||||
|
<property name="dist.dir" location="${dist.dir}"/>
|
||||||
|
|
||||||
<fileset dir="."
|
<fileset dir="."
|
||||||
includes="*/build.xml"
|
includes="*/build.xml"
|
||||||
/>
|
/>
|
||||||
|
@ -10,6 +14,8 @@
|
||||||
|
|
||||||
<target name="build-tree">
|
<target name="build-tree">
|
||||||
<subant target="">
|
<subant target="">
|
||||||
|
<property name="dist.dir" location="${dist.dir}"/>
|
||||||
|
|
||||||
<!-- Exclude LARM for now,
|
<!-- Exclude LARM for now,
|
||||||
until its build is brought up to speed
|
until its build is brought up to speed
|
||||||
-->
|
-->
|
||||||
|
|
|
@ -12,6 +12,8 @@
|
||||||
|
|
||||||
<property name="dist.dir" location="dist"/>
|
<property name="dist.dir" location="dist"/>
|
||||||
|
|
||||||
|
<property name="dist.name" value="${ant.project.name}.jar"/>
|
||||||
|
|
||||||
<property name="junit.jar" location="${ant.home}/lib/junit.jar"/>
|
<property name="junit.jar" location="${ant.home}/lib/junit.jar"/>
|
||||||
<dirname file="${ant.file.common}" property="common.dir"/>
|
<dirname file="${ant.file.common}" property="common.dir"/>
|
||||||
<property name="lucene.dir" location="${common.dir}/../../jakarta-lucene"/>
|
<property name="lucene.dir" location="${common.dir}/../../jakarta-lucene"/>
|
||||||
|
@ -22,6 +24,7 @@
|
||||||
<!-- ========================================================== -->
|
<!-- ========================================================== -->
|
||||||
<!-- Datatype declarations -->
|
<!-- Datatype declarations -->
|
||||||
<!-- ========================================================== -->
|
<!-- ========================================================== -->
|
||||||
|
<!-- TODO: define ${lucene.jar} for easeir overriding -->
|
||||||
<path id="compile.classpath">
|
<path id="compile.classpath">
|
||||||
<fileset dir="${lucene.dir}" includes="build/lucene*.jar"/>
|
<fileset dir="${lucene.dir}" includes="build/lucene*.jar"/>
|
||||||
<pathelement path="${project.classpath}"/>
|
<pathelement path="${project.classpath}"/>
|
||||||
|
@ -59,9 +62,8 @@
|
||||||
<delete dir="${test.classes.dir}"/>
|
<delete dir="${test.classes.dir}"/>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="dist" depends="compile"
|
<target name="dist" depends="compile" description="Create JAR">
|
||||||
description="Create JAR">
|
<jar jarfile="${dist.dir}/${dist.name}"
|
||||||
<jar jarfile="${lucene-ant.jar}"
|
|
||||||
basedir="${build.classes.dir}"
|
basedir="${build.classes.dir}"
|
||||||
/>
|
/>
|
||||||
</target>
|
</target>
|
||||||
|
@ -112,6 +114,6 @@
|
||||||
|
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="default" depends="test"/>
|
<target name="default" depends="test,dist"/>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
|
Loading…
Reference in New Issue