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