]> granicus.if.org Git - docbook-dsssl/commitdiff
Support version D11
authorNorman Walsh <ndw@nwalsh.com>
Mon, 12 Nov 2001 21:28:05 +0000 (21:28 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Mon, 12 Nov 2001 21:28:05 +0000 (21:28 +0000)
cvstools/xalan

index 742cd55ff5dce62857f2edd377ad1acb07de45fd..aa54f4d5982ef67bf25d2b391e55a7d92fd288bd 100755 (executable)
@@ -24,6 +24,9 @@ while [ "$DONE" = "0" ]; do
         -2)     shift
                VERSION=2
                ;;
+        -D11)   shift
+               VERSION=D11
+               ;;
        -*)     DONE=1;
                ;;
        *)      DONE=1
@@ -46,6 +49,12 @@ elif [ "$VERSION" = "2" ]; then
     RESOLVERS="$URES $ERES"
     XALANROOT="${XALANROOT:-/projects/apache/xml-xalan/java}";
     XALAN="$XALANROOT/build/classes:$XALANROOT/bin/bsf.jar:"
+elif [ "$VERSION" = "D11" ]; then
+    URES="-URIRESOLVER com.sun.resolver.tools.CatalogResolver"
+    ERES="-ENTITYRESOLVER com.sun.resolver.tools.CatalogResolver"
+    RESOLVERS="$URES $ERES"
+    XALANROOT="/usr/local/java/xalan-j_2_2_D11/bin"
+    XALAN="$XALANROOT/xalan.jar:$XALANROOT/xml.jar"
 else
     echo "Unexpected Xalan version $VERSION"
     exit 1
@@ -75,5 +84,3 @@ if [ $? != 0 ]; then
   echo FAILED
   echo ""
 fi
-
-