2004-07-07 22:36:36 +02:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
2004-12-21 16:43:14 +01:00
|
|
|
# $FreeBSD$
|
2004-07-07 22:36:36 +02:00
|
|
|
|
2004-12-21 16:43:14 +01:00
|
|
|
IAM="`basename "$0"`"
|
2004-10-27 18:50:43 +02:00
|
|
|
|
|
|
|
if [ "${IAM}" = "saxon-xquery" ]
|
|
|
|
then
|
|
|
|
LAUNCHER_CLASS="net.sf.saxon.Query"
|
|
|
|
else
|
|
|
|
LAUNCHER_CLASS="net.sf.saxon.Transform"
|
|
|
|
fi
|
|
|
|
|
2004-11-09 17:03:39 +01:00
|
|
|
SAXON_CLASSPATH=""
|
|
|
|
for jarfile in %%SAXON_JARS%%
|
|
|
|
do
|
|
|
|
SAXON_CLASSPATH="${SAXON_CLASSPATH}:${jarfile}"
|
|
|
|
done
|
|
|
|
|
2011-07-21 07:03:02 +02:00
|
|
|
JAVA_VERSION="%%JAVA_VERSION%%" exec "%%LOCALBASE%%/bin/java" -classpath "${SAXON_CLASSPATH}" "${LAUNCHER_CLASS}" "$@"
|