ehatcher 2004/01/05 09:20:42 Modified: contributions/lucli build.xml Log: upgrade lucli build to conform with master build Revision Changes Path 1.2 +18 -32 jakarta-lucene-sandbox/contributions/lucli/build.xml Index: build.xml =================================================================== RCS file: /home/cvs/jakarta-lucene-sandbox/contributions/lucli/build.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- build.xml 11 Dec 2003 02:07:45 -0000 1.1 +++ build.xml 5 Jan 2004 17:20:42 -0000 1.2 @@ -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"/> - - <!-- Include all elements that Tomcat exposes to applications --> - <path id="compile.classpath"> - <fileset dir="lib"> - <include name="*.jar"/> - </fileset> - </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> +<project name="lucli" default="default"> + <description> + Lucene Command Line Interface + </description> + + <path id="additional.dependencies"> + <pathelement location="lib/libreadline-java.jar"/> + </path> + + <pathconvert property="project.classpath" + targetos="unix" + refid="additional.dependencies" + /> + + <property name="src.dir" location="src"/> + + <import file="../common.xml"/> </project>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]