Added ${web.xml} parameter allowing a custom web.xml to be packaged in

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@786752 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Erik Hatcher 2009-06-20 03:49:00 +00:00
parent 59a877489d
commit 9e4e91f885
1 changed files with 5 additions and 4 deletions

View File

@ -22,13 +22,14 @@
<import file="common-build.xml"/>
<!-- 3rd party libraries for compilation -->
<property name="lib" value="lib" />
<property name="lib" location="lib" />
<!-- solr source files -->
<property name="src" value="src" />
<property name="src" location="src" />
<property name="web.xml" location="${src}/webapp/web/WEB-INF/web.xml"/>
<!-- Destination for distribution files (demo WAR, src distro, etc.) -->
<property name="dist" value="dist" />
<property name="dist" location="dist" />
@ -461,7 +462,7 @@
depends="compile, make-manifest, dist-jar, dist-solrj">
<mkdir dir="${dist}" />
<war destfile="${dist}/${fullnamever}.war"
webxml="${src}/webapp/web/WEB-INF/web.xml"
webxml="${web.xml}"
filesetmanifest="skip"
manifest="${dest}/META-INF/MANIFEST.MF">
<lib dir="${lib}">