b69062
#!/bin/sh
b69062
# 
b69062
# Batik SVG Rasterizer 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/rasterizer.conf ] ; then 
b69062
  . /etc/rasterizer.conf
b69062
fi
b69062
b69062
# Source user prefs
b69062
if [ -f $HOME/.rasterizerrc ] ; then 
b69062
  . $HOME/.rasterizerrc
b69062
fi
b69062
b69062
# Configuration
b69062
MAIN_CLASS=org.apache.batik.apps.rasterizer.Main
b69062
BASE_JARS="batik-rasterizer.jar batik-all.jar xml-commons-apis-ext.jar"
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 "$@"