upgrade lucli build to conform with master build

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150906 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Erik Hatcher 2004-01-05 17:20:42 +00:00
parent 1cb510889b
commit 5dc61de9a2
1 changed files with 17 additions and 31 deletions

View File

@ -1,36 +1,22 @@
<project name="lucli" default="build" basedir=".">
<?xml version="1.0"?>
<!-- set global properties for this build -->
<property name="src" value="./src"/>
<property name="build" value="./classes"/>
<property name="lucliLib" value="${build}/lucli.jar"/>
<project name="lucli" default="default">
<!-- Include all elements that Tomcat exposes to applications -->
<path id="compile.classpath">
<fileset dir="lib">
<include name="*.jar"/>
</fileset>
<description>
Lucene Command Line Interface
</description>
<path id="additional.dependencies">
<pathelement location="lib/libreadline-java.jar"/>
</path>
<target name="init">
<!-- Create the time stamp -->
<tstamp/>
<!-- Create the dist directory structure used by compile -->
<mkdir dir="${build}"/>
<mkdir dir="${build}/docs"/>
<mkdir dir="${build}/docs/javadocs"/>
</target>
<target name="compile" depends="init">
<!-- Compile the java code from ${src} into ${build} -->
<javac debug="on" deprecation="on" srcdir="${src}" destdir="${build}">
<classpath refid="compile.classpath"/>
</javac>
</target>
<target name="build" depends="compile">
<jar basedir="${build}" includes="**/*.class" jarfile="${lucliLib}"/>
</target>
<pathconvert property="project.classpath"
targetos="unix"
refid="additional.dependencies"
/>
<property name="src.dir" location="src"/>
<import file="../common.xml"/>
</project>