antlr3/antlr3
Milos Jakubicek 8f52576566 Cleanup of Requires and BuildRequires on antlr2
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
2012-06-26 13:41:18 +02:00

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 "$@"