Fix todo in build file for building WAR demo. Submitted by Jean-Fran��ois Halleux

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150163 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Erik Hatcher 2003-12-28 16:05:53 +00:00
parent 561ec3714a
commit 11deffd715
1 changed files with 6 additions and 6 deletions

View File

@ -178,12 +178,12 @@
</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>
<!-- ================================================================== -->