Blame SOURCES/antlr-script

00d650
#!/bin/sh
00d650
#
00d650
# antlr script
00d650
# JPackage Project <http://www.jpackage.org/>
00d650
00d650
# Source functions library
00d650
if [ -f /usr/share/java-utils/java-functions ] ; then
00d650
  . /usr/share/java-utils/java-functions
00d650
else
00d650
  echo "Can't find functions library, aborting"
00d650
  exit 1
00d650
fi
00d650
00d650
# Configuration
00d650
MAIN_CLASS="antlr.Tool"
00d650
BASE_FLAGS=""
00d650
BASE_JARS="antlr.jar"
00d650
00d650
# Set parameters
00d650
set_jvm
00d650
set_classpath $BASE_JARS
00d650
set_flags $BASE_FLAGS
00d650
00d650
# Let's start
00d650
run "$@"