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