b69062
#!/bin/sh
b69062
# 
b69062
# Batik SVG Pretty Printer script
b69062
# JPackage Project <http://www.jpackage.org/>
b69062
b69062
# Source functions library
b69062
if [ -f /usr/share/java-utils/java-functions ] ; then 
b69062
  . /usr/share/java-utils/java-functions
b69062
else
b69062
  echo "Can't find functions library, aborting"
b69062
  exit 1
b69062
fi
b69062
b69062
# Source system prefs
b69062
if [ -f /etc/svgpp.conf ] ; then 
b69062
  . /etc/svgpp.conf
b69062
fi
b69062
b69062
# Source user prefs
b69062
if [ -f $HOME/.svgpprc ] ; then 
b69062
  . $HOME/.svgpprc
b69062
fi
b69062
b69062
# Configuration
b69062
MAIN_CLASS=org.apache.batik.apps.svgpp.Main
b69062
BASE_JARS="batik batik-svgpp"
b69062
b69062
# Set parameters
b69062
set_jvm
b69062
set_classpath $BASE_JARS
b69062
set_flags $BASE_FLAGS
b69062
set_options $BASE_OPTIONS
b69062
b69062
# Let's start
b69062
run "$@"