summaryrefslogtreecommitdiff
path: root/java/antlr2/runantlr2.sh
diff options
context:
space:
mode:
Diffstat (limited to 'java/antlr2/runantlr2.sh')
-rw-r--r--java/antlr2/runantlr2.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/java/antlr2/runantlr2.sh b/java/antlr2/runantlr2.sh
new file mode 100644
index 000000000..716f6f887
--- /dev/null
+++ b/java/antlr2/runantlr2.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+echo Running 'java antlr.Tool $*' with /usr/share/java/antlr2.jar appended to the CLASSPATH variable
+export CLASSPATH
+CLASSPATH=$CLASSPATH:/usr/share/java/antlr2.jar
+java antlr.Tool $*