6398229d29
- BuildRequires/Requires cleanup across subpackages - Update to 3.2, bootstrap build. - Build bindings for C and JavaScript as well as gunit and maven plugin.
26 lines
523 B
Bash
26 lines
523 B
Bash
#!/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="antlr.jar stringtemplate.jar antlr3.jar antlr3-runtime.jar"
|
|
|
|
# Set parameters
|
|
set_jvm
|
|
set_classpath $BASE_JARS
|
|
set_flags $BASE_FLAGS
|
|
|
|
# Let's start
|
|
run "$@"
|