diff options
Diffstat (limited to 'textproc/xt/files/xt.sh')
-rw-r--r-- | textproc/xt/files/xt.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/textproc/xt/files/xt.sh b/textproc/xt/files/xt.sh new file mode 100644 index 00000000000..640fa6c165b --- /dev/null +++ b/textproc/xt/files/xt.sh @@ -0,0 +1,12 @@ +#!/bin/sh +# $FreeBSD$ + +IAM=`basename ${0}` + +if [ "${IAM}" = "xt-xml4j" ] +then + JAVA_ARGS="${JAVA_ARGS} -Dcom.jclark.xsl.sax.parser=org.apache.xerces.parsers.SAXParser" +fi + +export CLASSPATH=`"%%LOCALBASE%%/bin/classpath"` +"%%LOCALBASE%%/bin/javavm" ${JAVA_ARGS} com.jclark.xsl.sax.Driver $* |