lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ehatc...@apache.org
Subject cvs commit: jakarta-lucene-sandbox/contributions/lucli build.xml
Date Mon, 05 Jan 2004 17:20:42 GMT
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: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org


Mime
View raw message