Blame SOURCES/antlr-script

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