antlrworks/antlrworks-script

23 lines
450 B
Plaintext
Raw Normal View History

#!/bin/sh
# Source functions library
if [ -f /usr/share/java-utils/java-functions ] ; then
. /usr/share/java-utils/java-functions
else
echo "Can't find functions library, aborting"
exit 1
fi
# Configuration
MAIN_CLASS="org.antlr.works.IDE"
BASE_FLAGS="-Xmx400m"
BASE_JARS="antlrworks antlr antlr3 antlr3-runtime jgoodies-forms stringtemplate32"
# Set parameters
set_jvm
set_classpath $BASE_JARS
set_flags $BASE_FLAGS
# Let's start
run "$@"