You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by eh...@apache.org on 2009/06/20 05:49:01 UTC

svn commit: r786752 - /lucene/solr/trunk/build.xml

Author: ehatcher
Date: Sat Jun 20 03:49:00 2009
New Revision: 786752

URL: http://svn.apache.org/viewvc?rev=786752&view=rev
Log:
Added ${web.xml} parameter allowing a custom web.xml to be packaged in

Modified:
    lucene/solr/trunk/build.xml

Modified: lucene/solr/trunk/build.xml
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/build.xml?rev=786752&r1=786751&r2=786752&view=diff
==============================================================================
--- lucene/solr/trunk/build.xml (original)
+++ lucene/solr/trunk/build.xml Sat Jun 20 03:49:00 2009
@@ -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}">