You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nutch.apache.org by je...@apache.org on 2006/03/28 11:40:29 UTC

svn commit: r389456 - /lucene/nutch/trunk/build.xml

Author: jerome
Date: Tue Mar 28 01:40:29 2006
New Revision: 389456

URL: http://svn.apache.org/viewcvs?rev=389456&view=rev
Log:
NUTCH-210, forgot to commit the nutch.xml xsl generation

Modified:
    lucene/nutch/trunk/build.xml

Modified: lucene/nutch/trunk/build.xml
URL: http://svn.apache.org/viewcvs/lucene/nutch/trunk/build.xml?rev=389456&r1=389455&r2=389456&view=diff
==============================================================================
--- lucene/nutch/trunk/build.xml (original)
+++ lucene/nutch/trunk/build.xml Tue Mar 28 01:40:29 2006
@@ -144,6 +144,14 @@
   <!--                                                                    -->
   <!-- ================================================================== -->
   <target name="war" depends="jar,compile,generate-docs">
+
+    <!-- generate the nutch.xml (servlet context) file -->
+    <xslt in="${basedir}/conf/nutch-default.xml"
+          out="${build.dir}/nutch.xml"
+          style="${basedir}/conf/context.xsl">
+        <xmlcatalog refid="docDTDs"/>
+    	<outputproperty name="indent" value="yes"/>
+    </xslt>
     <war destfile="${build.dir}/${final.name}.war"
 	 webxml="${web.src.dir}/web.xml">
       <fileset dir="${web.src.dir}/jsp"/>