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