Sophie

Sophie

distrib > Mandriva > 10.2 > i586 > by-pkgid > a1c1bd676c287e954a4b6092fa46f8eb > files > 5

batik-1.5-3jpp.src.rpm

#!/bin/sh
# 
# Batik SVG Slideshow script
# JPackage Project <http://www.jpackage.org/>
# $Id: batik.slideshow.script,v 1.2 2002/05/08 10:33:58 guillomovitch Exp $

# Source functions library
if [ -f /usr/share/java-utils/java-functions ] ; then 
  . /usr/share/java-utils/java-functions
else
  echo "Can't find functions library, aborting"
  exit 1
fi

# Source system prefs
if [ -f /etc/slideshow.conf ] ; then 
  . /etc/slideshow.conf
fi

# Source user prefs
if [ -f $HOME/.slideshowrc ] ; then 
  . $HOME/.slideshowrc
fi

# Configuration
MAIN_CLASS=org.apache.batik.apps.slideshow.Main
BASE_JARS="xerces-j2.jar rhino.jar batik"

# Set parameters
set_jvm
set_classpath $BASE_JARS
set_flags $BASE_FLAGS
set_options $BASE_OPTIONS

# Let's start
run "$@"