Source

hgbook-ja / java_envs.tmpl

Full commit
#### path to JARS of "saxon"
SAXON_JARS=/usr/share/java/saxon.jar:/usr/share/java/saxon-jdom.jar

#### path to JARS of "docbook-xsl-saxon"
DOCBOOK_XSL_JARS=/usr/share/java/docbook-xsl-saxon.jar

#### path to JARS of "xml-commons-resolver-1.1"
RESOLVER_JARS=/usr/share/java/xml-commons-resolver-1.1.jar

#### path to the directory containing "CatalogManager.properties"
#### (ATTENTION: not "CatalogManager.properties" itself)
CATALOGMANAGER_PATH=/path/to/directory

#### concatenation of above paths (and your custom classpath, if needed)
CLASSPATH=${SAXON_JARS}:${DOCBOOK_XSL_JARS}:${RESOLVER_JARS}:${CATALOGMANAGER_PATH}

#### specify which java command you want to invoke (and your custom options)
JAVA=java

########################################

#### to show configurations on compilation
echo "#### DEBUG: ${JAVA} -classpath ${CLASSPATH} $*"

exec ${JAVA} -classpath ${CLASSPATH} $*