Blame SOURCES/antlr-script

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