Skip to content

armgit / nutch

Public Imported from GitHub
0

Apache Nutch is an extensible and scalable web crawler

NUTCH-210, forgot to commit the nutch.xml xsl generation

Jerome Charron11919af89da5
diff --git a/build.xml b/build.xml
index feae6e3bd..b4bc1ad6d 100644
--- a/build.xml
+++ b/build.xml
@@ -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"/>