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