]> granicus.if.org Git - docbook-dsssl/commitdiff
added info about ~/.antrc file
authorMichael Smith <xmldoc@users.sourceforge.net>
Sat, 22 Mar 2008 04:43:31 +0000 (04:43 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Sat, 22 Mar 2008 04:43:31 +0000 (04:43 +0000)
xsl/README.BUILD

index 9274eaf9de6a95f2fcd994d2f6aa93600c7f438f..533131af8dcbe04e42a868ce37d2b9f201279772 100644 (file)
@@ -87,7 +87,7 @@ configuration to prepare for builds. Contributions welcome...
      # set up some environment variables for DocBook/XML stuff
      . ~/docbk.sh
 
-4. .xmlrc
+4. ~/.xmlrc
 
    You need an .xmlrc file with some system-specific data for Java
    and XML tools in your environment. For example:
@@ -124,6 +124,25 @@ configuration to prepare for builds. Contributions welcome...
      <xmllint xml:id="xmllint" exec="xmllint"></xmllint>
    </config>
 
+5. ~/.antrc
+
+   You need an .antrc file with some system-specific data for your
+   environment.
+
+   Example for Debian with Sun JDK:
+
+     ANT_OPTS="$ANT_OPTS \
+      -Dfile.reference.saxon.jar=/usr/share/java/saxon-6.5.5.jar \
+      -Dfile.reference.xalan.jar=/usr/share/java/xalan2.jar \
+      -Dplatform.home=/usr/lib/jvm/java-6-sun"
+
+   Example for OSX with MacPorts:
+
+     ANT_OPTS="$ANT_OPTS \
+      -Dfile.reference.saxon.jar=/opt/local/share/java/saxon-6.5.5.jar \
+      -Dfile.reference.xalan.jar=/opt/local/share/java/xalan.jar \
+      -Dplatform.home=/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home"
+
 -----------------------------------------------------------------
 Part 1: Build and test the stylesheets
 -----------------------------------------------------------------