]> granicus.if.org Git - docbook-dsssl/commitdiff
Adding some docs to build.properties. Adjusting stylesheet-path so by default it...
authorDavid Cramer <david@thingbag.net>
Sun, 18 Jul 2010 18:13:03 +0000 (18:13 +0000)
committerDavid Cramer <david@thingbag.net>
Sun, 18 Jul 2010 18:13:03 +0000 (18:13 +0000)
xsl/webhelp/build.properties
xsl/webhelp/build.xml

index c7664343e7fdc8bf42ce97c0d597ce2a76566439..67bd6f77683375f4db71a9494473bf285d9a2eaa 100755 (executable)
@@ -1,6 +1,15 @@
+# The path (relative to the build.xml file) to your input document.
+# To use your own input document, create a build.xml file of your own
+# and import this build.xml.
 input-xml=docsrc/readme.xml
+
+# The directory in which to put the output files. 
+# This directory is created if it does not exist.
 output-dir=doc
-stylesheet-path=xsl/webhelp.xsl
+
+# If you are using a customization layer that imports webhelp.xsl, use
+# this property to point to it. 
+stylesheet-path=${ant.file.dir}/xsl/webhelp.xsl
 
 # If your document has image directories that need to be copied
 # to the output directory, you can list patterns here. 
index 704dd1e2fcc9e3f5f5a14a68ecbb1f521573b021..b06d8ba4da270862e3c5254aef0f8c7ea147c08b 100755 (executable)
@@ -1,7 +1,7 @@
 <project default="help" name="mainbuild">
 
-  <loadproperties srcFile="build.properties"/>
   <dirname property="ant.file.dir" file="${ant.file.mainbuild}"/>
+  <loadproperties srcFile="build.properties"/>
 
   <xmlcatalog id="catalog">
        <catalogpath>
@@ -32,7 +32,7 @@
        <xslt
          in="${input-xml}"
          out="${output-dir}/dummy.html"
-         style="${ant.file.dir}/xsl/webhelp.xsl"
+         style="${stylesheet-path}"
          scanincludeddirectories="false"
          classpath="${xslt-processor-classpath}">
          <xmlcatalog refid="catalog"/>