Description: build.xml: Building HTML manual
 - Use a custom classpath with saxon and xerces (XSLT) from Debian
   Debian package: libsaxon-java and libxerces2-java
 - Use Debian provided docbook XSL stylesheets
   Debian package: docbook-xsl
Author: Damien Raude-Morvan <drazzib@debian.org>
Forwarded: no
Last-Update: 2011-09-21
Index: b/doc/reference/build.xml
===================================================================
--- a/doc/reference/build.xml
+++ b/doc/reference/build.xml
@@ -22,9 +22,14 @@
 				 else="">
 				<equals arg1="@{xincludes}" arg2="true"/>
 			</condition>
-			<java classname="com.icl.saxon.StyleSheet" fork="true" dir="@{basedir}" classpathref="doc.lib.classpath">
+			<java classname="com.icl.saxon.StyleSheet" fork="true" dir="@{basedir}">
+                <classpath>
+                    <pathelement location="/usr/share/java/saxon.jar"/>
+                    <pathelement location="/usr/share/java/xercesImpl.jar"/>
+                    <pathelement location="/usr/share/java/xmlParserAPIs.jar"/>
+                </classpath>
 				<jvmarg line="${xslt.xincludes}"/>
-				<jvmarg value="-Dxslthl.config=file://${doc.ref.dir}/lib/docbook-xsl-ns/highlighting/xslthl-config.xml"/>
+				<jvmarg value="-Dxslthl.config=file:///usr/share/xml/docbook/stylesheet/nwalsh/highlighting/xslthl-config.xml"/>
 				<jvmarg value="-Xms128m"/>
 				<jvmarg value="-Xmx512m"/>
 				<arg line="${xslt.out} @{in} @{style} @{params}"/>
Index: b/doc/reference/styles/html_chunk.xsl
===================================================================
--- a/doc/reference/styles/html_chunk.xsl
+++ b/doc/reference/styles/html_chunk.xsl
@@ -3,7 +3,7 @@
     This is the XSL HTML configuration file for the Spring Reference Documentation.
 -->
 <!DOCTYPE xsl:stylesheet [
-    <!ENTITY db_xsl_path        "../lib/docbook-xsl-ns/">
+    <!ENTITY db_xsl_path        "/usr/share/xml/docbook/stylesheet/nwalsh/">
     <!ENTITY callout_gfx_path   "../images/callouts/">
     <!ENTITY admon_gfx_path     "../images/admons/">
 ]>
