summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornickb2006-04-06 17:11:34 (EDT)
committer nickb2006-04-06 17:11:34 (EDT)
commit6c4f144228df2659e2c443c07c9d4e331dc55dea (patch)
tree02dfdaf633aab163c9d79902866871fcc6807996
parentc794adbf5ebf413090d5545afd7425978463a85b (diff)
downloadorg.eclipse.jet-6c4f144228df2659e2c443c07c9d4e331dc55dea.zip
org.eclipse.jet-6c4f144228df2659e2c443c07c9d4e331dc55dea.tar.gz
org.eclipse.jet-6c4f144228df2659e2c443c07c9d4e331dc55dea.tar.bz2
make sure ant knows where it runs from
-rw-r--r--doc/org.eclipse.jet.doc/build/antJavadoc.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/org.eclipse.jet.doc/build/antJavadoc.sh b/doc/org.eclipse.jet.doc/build/antJavadoc.sh
index 355c5c9..182c4a8 100644
--- a/doc/org.eclipse.jet.doc/build/antJavadoc.sh
+++ b/doc/org.eclipse.jet.doc/build/antJavadoc.sh
@@ -1,4 +1,9 @@
#!/bin/sh
+
+if [ "x"$ANT_HOME = "x" ]; then export ANT_HOME=/opt/apache-ant-1.6; fi
+if [ "x"$JAVA_HOME = "x" ]; then export JAVA_HOME=/opt/sun-java2-5.0; fi
+export PATH=${PATH}:${ANT_HOME}/bin
+
# The current direcotry
currentPath=`echo "$PWD/$0" | sed -e 's/\(.*\)\/.*/\1\//' | sed -e 's/^[^\/]*$//g'`