Blame SOURCES/batik.rasterizer.script

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