summarylogtreecommitdiffstats
path: root/xxetool.sh
blob: 97d94533c4e53c82c8741fd12ab32117e0dad0ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

dist=/usr/share/java/xxe/bin
jars="$dist/xerces.jar:$dist/resolver.jar:$dist/relaxng.jar:$dist/saxon.jar:$dist/saxon9.jar"
cp="$dist/xxe.jar:$jars"

# Adding -Djava.awt.headless=true below seems to work.
# However this is not officially supported by XMLmind Software yet.

exec java -Xss4m -Xmx512m \
    -Djava.awt.headless=true \
    -Dawt.useSystemAAFontSettings=on \
    -Dswing.aatext=true \
    -DXXE_GUI="$XXE_GUI" \
    -DXXE_ADDON_PATH="$XXE_ADDON_PATH" \
    -DXXE_PREFS_DIR="$XXE_PREFS_DIR" \
    -classpath "$cp" \
    com.xmlmind.xmleditapp.tool.StartTool "$@"