]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/uwobo/antRun
This commit was manufactured by cvs2svn to create branch 'start'.
[helm.git] / helm / uwobo / antRun
diff --git a/helm/uwobo/antRun b/helm/uwobo/antRun
new file mode 100755 (executable)
index 0000000..5894f44
--- /dev/null
@@ -0,0 +1,8 @@
+#! /bin/sh
+
+if [ "$JAVA_HOME" != "" ] ; then
+       $JAVA_HOME/bin/java -cp ant/ant.jar:ant/jaxp.jar:ant/parser.jar:$JAVA_HOME/lib/tools.jar -Dant.home=. $ANT_OPTS org.apache.tools.ant.Main $@
+else
+       echo "Warning: JAVA_HOME environment variable is not set."
+fi
+