lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean-Francois Halleux" <jfhall...@signant.com>
Subject [Patch] War task for web demo
Date Sat, 27 Dec 2003 20:12:26 GMT
Hello,

	please find enclosed a war task for the web demo instead of a jar task.

KR,

Jean-Fran├žois Halleux


Index: build.xml
===================================================================
RCS file: /home/cvspublic/jakarta-lucene/build.xml,v
retrieving revision 1.54
diff -u -r1.54 build.xml
--- build.xml	26 Dec 2003 18:05:26 -0000	1.54
+++ build.xml	27 Dec 2003 20:10:32 -0000
@@ -178,12 +178,11 @@
   </target>

   <target name="war-demo" depends="jar-core,jar-demo">
-    <!-- todo: convert this to use war task instead -->
-    <jar destfile="${build.dir}/${demo.war.name}.war">
-      <fileset dir="src/jsp"/>
-      <zipfileset prefix="WEB-INF/lib" dir="${build.dir}"
includes="${demo.name}.jar"/>
-      <zipfileset prefix="WEB-INF/lib" dir="${build.dir}"
includes="${final.name}.jar"/>
-    </jar>
+  	<war destfile="${build.dir}/${demo.war.name}.war"
webxml="src/jsp/WEB-INF/web.xml">
+ 		<fileset dir="src/jsp" excludes="WEB-INF/web.xml"/>
+ 		<lib dir="${build.dir}" includes="${demo.name}.jar"/>
+ 		<lib dir="${build.dir}" includes="${final.name}.jar"/>
+    </war>
   </target>

   <!--
================================================================== -->


---------------------------------------------------------------------
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