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