8f52576566
antlr3.4 does not require antlr2 anymore, nor stringtemplate3, unfortunately these are stilled pulled in via a dependency chain of maven-shared -> dom4j -> ws-jaxme -> antlr-tool
26 lines
514 B
Bash
Executable File
26 lines
514 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# antlr3 script, modified from antlr script from:
|
|
# JPackage Project <http://www.jpackage.org/>
|
|
|
|
# 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.Tool"
|
|
BASE_FLAGS=""
|
|
BASE_JARS="stringtemplate4.jar antlr3.jar antlr3-runtime.jar"
|
|
|
|
# Set parameters
|
|
set_jvm
|
|
set_classpath $BASE_JARS
|
|
set_flags $BASE_FLAGS
|
|
|
|
# Let's start
|
|
run "$@"
|