aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/ant/files/ant
diff options
context:
space:
mode:
authorHenning Heinold <h.heinold@tarent.de>2010-07-12 14:08:46 +0200
committerHenning Heinold <h.heinold@tarent.de>2010-07-26 15:34:20 +0200
commit63fe962867e2017d18a333d7306ba64ef6a62dee (patch)
treee30c344cc9ec30bf5d28f340cc489a8ea29afbac /recipes/ant/files/ant
parent547609d8446451104796ff77d6e2e95adb606c3f (diff)
downloadopenembedded-63fe962867e2017d18a333d7306ba64ef6a62dee.tar.gz
openembedded-63fe962867e2017d18a333d7306ba64ef6a62dee.tar.bz2
openembedded-63fe962867e2017d18a333d7306ba64ef6a62dee.zip
ant: backport from openembedded-dev
Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
Diffstat (limited to 'recipes/ant/files/ant')
-rwxr-xr-xrecipes/ant/files/ant10
1 files changed, 10 insertions, 0 deletions
diff --git a/recipes/ant/files/ant b/recipes/ant/files/ant
new file mode 100755
index 0000000000..bb282a91a7
--- /dev/null
+++ b/recipes/ant/files/ant
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+export CLASSPATH
+CLASSPATH=$CLASSPATH:@JAR_FILE@
+
+if [ ! $JAVA ];then
+ JAVA=java
+fi
+
+$JAVA org.apache.tools.ant.launch.Launcher $*