1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
|
Description: Stop the javadoc generatings from setting ANT_HOME/JAVA_HOME
Origin: Fedora, http://cvs.fedoraproject.org/viewvc/rpms/eclipse-emf/devel/
Author: 2009, Mat Booth <fedora@matbooth.co.uk>
Index: eclipse-emf/org.eclipse.emf.doc/build/antJavadoc.sh
===================================================================
--- eclipse-emf.orig/org.eclipse.emf.doc/build/antJavadoc.sh 2010-02-14 16:52:30.230304463 +0100
+++ eclipse-emf/org.eclipse.emf.doc/build/antJavadoc.sh 2010-02-14 16:52:33.206306654 +0100
@@ -12,9 +12,9 @@
debug=0; if [[ $debug -gt 0 ]]; then echo "[antJd] debug: "$debug; fi
-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/ibm-java2-1.4; fi
-export PATH=${PATH}:${ANT_HOME}/bin
+#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/ibm-java2-1.4; fi
+#export PATH=${PATH}:${ANT_HOME}/bin
# current directory - all but the name of this script, no trailing slash
currentPath=$PWD"/"$0; currentPath=${currentPath%/*}; if [[ $debug -gt 0 ]]; then echo "[antJd] currentPath: "$currentPath; fi
Index: eclipse-emf/org.eclipse.xsd.doc/build/antJavadoc.sh
===================================================================
--- eclipse-emf.orig/org.eclipse.xsd.doc/build/antJavadoc.sh 2010-02-14 16:52:30.266282594 +0100
+++ eclipse-emf/org.eclipse.xsd.doc/build/antJavadoc.sh 2010-02-14 16:52:33.206306654 +0100
@@ -12,9 +12,9 @@
debug=0; if [ $debug -gt 0 ]; then echo "[antJd] debug: "$debug; fi
-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/ibm-java2-1.4; fi
-export PATH=${PATH}:${ANT_HOME}/bin
+#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/ibm-java2-1.4; fi
+#export PATH=${PATH}:${ANT_HOME}/bin
# current directory - all but the name of this script, no trailing slash
currentPath=$PWD"/"$0; currentPath=${currentPath%/*}; if [[ $debug -gt 0 ]]; then echo "[antJd] currentPath: "$currentPath; fi
|