From fb12cc04a297631060ba55c6d370aade6c5a2a27 Mon Sep 17 00:00:00 2001 From: Norman Walsh Date: Mon, 12 Nov 2001 21:28:05 +0000 Subject: [PATCH] Support version D11 --- cvstools/xalan | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/cvstools/xalan b/cvstools/xalan index 742cd55ff..aa54f4d59 100755 --- a/cvstools/xalan +++ b/cvstools/xalan @@ -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 - - -- 2.50.1