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