File: daps-jing.debian

package info (click to toggle)
daps 3.3.2%2Bcleaned1-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,540 kB
  • sloc: xml: 9,773; sh: 3,059; python: 1,322; lisp: 380; makefile: 239
file content (25 lines) | stat: -rwxr-xr-x 622 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/sh

# Include the wrappers utility script
. /usr/lib/java-wrappers/java-wrappers.sh

# We prefer to use openjdk if available
find_java_runtime openjdk || find_java_runtime

# Set default (and local) classpath
JAVA_CLASSPATH="/usr/share/java"

if [ "$1" = "classpath" ]
then
  JAVA_CLASSPATH="$2"
  shift 2
fi

CLASSPATH="${CLASSPATH:-.}:$JAVA_CLASSPATH"
export CLASSPATH

JAVA_ARGS="-Dorg.apache.xerces.xni.parser.XMLParserConfiguration=org.apache.xerces.parsers.XIncludeParserConfiguration"

find_jars jing xercesImpl xmlParserAPIs xml-apis saxon xml-resolver

run_java com.thaiopensource.relaxng.util.Driver "$@"