Blame SOURCES/antlr-script

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