lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew C. Oliver" <acoli...@nc.rr.com>
Subject [PATCH] add jar target for demos to build
Date Fri, 18 Jan 2002 21:54:26 GMT
New target for building a demo jar file plus support in the properties file.
Made things a bit easier for me at least. :-)

Index: build.xml
===================================================================
RCS file: /home/cvspublic/jakarta-lucene/build.xml,v
retrieving revision 1.17
diff -u -r1.17 build.xml
--- build.xml	19 Nov 2001 01:19:23 -0000	1.17
+++ build.xml	18 Jan 2002 21:43:13 -0000
@@ -121,6 +121,14 @@
     />
   </target>
 
+  <target name="jardemo" depends="compile,demo" if="javacc.present">
+    <jar 
+      jarfile="${build.demo}/${build.demo.name}.jar" 
+      basedir="${build.demo.classes}"
+      excludes="**/*.java"
+    />
+  </target>
+
   <!-- ================================================================== -->
   <!-- J A R  S O U R C E                                                 -->
   <!-- ================================================================== -->



Index: build.properties
===================================================================
RCS file: /home/cvspublic/jakarta-lucene/build.properties,v
retrieving revision 1.15
diff -u -r1.15 build.properties
--- build.properties	25 Dec 2001 19:34:04 -0000	1.15
+++ build.properties	18 Jan 2002 21:41:43 -0000
@@ -37,6 +37,7 @@
 build.demo = ${build.dir}/demo
 build.demo.src = ${build.demo}/src
 build.demo.classes = ${build.demo}/classes
+build.demo.name = ${name}-demos-${version}
 
 build.test = ${build.dir}/test
 build.test.src = ${build.test}/src
-- 
www.superlinksoftware.com
www.sourceforge.net/projects/poi - port of Excel format to java
http://developer.java.sun.com/developer/bugParade/bugs/4487555.html 
			- fix java generics!


The avalanche has already started. It is too late for the pebbles to
vote.
-Ambassador Kosh


--
To unsubscribe, e-mail:   <mailto:lucene-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-dev-help@jakarta.apache.org>


Mime
View raw message