29 lines
473 B
Plaintext
29 lines
473 B
Plaintext
|
#!/bin/sh
|
||
|
#
|
||
|
# gizmo10 script
|
||
|
# JPackage Project <http://www.jpackage.org/>
|
||
|
|
||
|
. /usr/share/java-utils/java-functions
|
||
|
|
||
|
MAIN_CLASS=net.sf.saxon.Gizmo
|
||
|
|
||
|
BASE_JARS="saxon10 xml-commons-apis jaxp_parser_impl jline"
|
||
|
|
||
|
# Optional jars
|
||
|
CLASSPATH="$CLASSPATH:"$(build-classpath \
|
||
|
icu4j \
|
||
|
jdom \
|
||
|
jdom2 \
|
||
|
xml-commons-resolver \
|
||
|
xom \
|
||
|
2>/dev/null) || :
|
||
|
|
||
|
# Set parameters
|
||
|
set_jvm
|
||
|
set_classpath $BASE_JARS
|
||
|
set_flags $BASE_FLAGS
|
||
|
set_options $BASE_OPTIONS
|
||
|
|
||
|
# Let's start
|
||
|
run $args "$@"
|