From: Michael Smith Date: Sat, 22 Mar 2008 04:43:31 +0000 (+0000) Subject: added info about ~/.antrc file X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=54f3e89950ff400dbe69a36b97e5533f3dd584f1;p=docbook-dsssl added info about ~/.antrc file --- diff --git a/xsl/README.BUILD b/xsl/README.BUILD index 9274eaf9d..533131af8 100644 --- a/xsl/README.BUILD +++ b/xsl/README.BUILD @@ -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... +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 -----------------------------------------------------------------