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:
Erik Hatcher 2004-01-05 16:35:10 +00:00
parent d33a91c6c3
commit 1cb510889b
2 changed files with 30 additions and 22 deletions

View File

@ -1,7 +1,11 @@
<project name="sandbox" default="build-tree">
<property name="dist.dir" location="dist"/>
<target name="clean">
<subant target="clean">
<property name="dist.dir" location="${dist.dir}"/>
<fileset dir="."
includes="*/build.xml"
/>
@ -10,6 +14,8 @@
<target name="build-tree">
<subant target="">
<property name="dist.dir" location="${dist.dir}"/>
<!-- Exclude LARM for now,
until its build is brought up to speed
-->

View File

@ -12,6 +12,8 @@
<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"/>
<dirname file="${ant.file.common}" property="common.dir"/>
<property name="lucene.dir" location="${common.dir}/../../jakarta-lucene"/>
@ -22,6 +24,7 @@
<!-- ========================================================== -->
<!-- Datatype declarations -->
<!-- ========================================================== -->
<!-- TODO: define ${lucene.jar} for easeir overriding -->
<path id="compile.classpath">
<fileset dir="${lucene.dir}" includes="build/lucene*.jar"/>
<pathelement path="${project.classpath}"/>
@ -59,9 +62,8 @@
<delete dir="${test.classes.dir}"/>
</target>
<target name="dist" depends="compile"
description="Create JAR">
<jar jarfile="${lucene-ant.jar}"
<target name="dist" depends="compile" description="Create JAR">
<jar jarfile="${dist.dir}/${dist.name}"
basedir="${build.classes.dir}"
/>
</target>
@ -112,6 +114,6 @@
</target>
<target name="default" depends="test"/>
<target name="default" depends="test,dist"/>
</project>