diff options
| author | Henning Heinold <heinold@inf.fu-berlin.de> | 2011-11-12 20:58:34 +0100 |
|---|---|---|
| committer | Henning Heinold <heinold@inf.fu-berlin.de> | 2011-11-26 23:41:44 +0100 |
| commit | 57e069cde6617f00ca8834a82c6f360af43d5067 (patch) | |
| tree | 48cbe15e96d217c45acfa64b0c13aad8c6424980 /recipes-core/antlr/files | |
| download | meta-java-57e069cde6617f00ca8834a82c6f360af43d5067.tar.gz | |
meta-java: initial commit
* taken over mostly stuff from oe classic
* cleaned up recipes
* added license checksums
* bump icedtea6-native to 1.8.11
* use jamvm from git as native
Diffstat (limited to 'recipes-core/antlr/files')
| -rwxr-xr-x | recipes-core/antlr/files/runantlr | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/recipes-core/antlr/files/runantlr b/recipes-core/antlr/files/runantlr new file mode 100755 index 0000000..b924bf4 --- /dev/null +++ b/recipes-core/antlr/files/runantlr | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | echo Running 'java antlr.Tool $*' with @JAR_FILE@ appended to the CLASSPATH variable | ||
| 3 | |||
| 4 | export CLASSPATH | ||
| 5 | CLASSPATH=$CLASSPATH:@JAR_FILE@ | ||
| 6 | |||
| 7 | if [ ! $JAVA ];then | ||
| 8 | JAVA=java | ||
| 9 | fi | ||
| 10 | |||
| 11 | $JAVA antlr.Tool $* | ||
