Author: nickboldt
Date: 2012-04-30 17:32:08 -0400 (Mon, 30 Apr 2012)
New Revision: 40664
Modified:
trunk/download.jboss.org/jbosstools/updates/requirements/mirror.sh.txt
Log:
use another value for Eclipse to work around problems w/ non-writable configuration folder
(new NFS problem?)
Modified:
trunk/download.jboss.org/jbosstools/updates/requirements/mirror.sh.txt
===================================================================
---
trunk/download.jboss.org/jbosstools/updates/requirements/mirror.sh.txt 2012-04-30
21:29:04 UTC (rev 40663)
+++
trunk/download.jboss.org/jbosstools/updates/requirements/mirror.sh.txt 2012-04-30
21:32:08 UTC (rev 40664)
@@ -2,10 +2,12 @@
TMP=`mktemp -d`
destfolder=`pwd`
scriptname=${destfolder}/build.xml
+#eclipse=~/eclipse
+eclipse=/home/hudson/STATIC/jbds/tools/sources/eclipse-3.7.2/eclipse
if [[ $# -lt 1 ]] || [[ $1 == "." ]]; then
echo "Usage: $0 <scriptname> <destfolder>"
- echo "Usage: $0 - (to use defaults of build.xml and .)"
+ echo "Usage: $0 - (to use defaults of build.xml and ${destfolder})"
exit
else
if [[ $1 != "-" ]]; then
@@ -14,8 +16,8 @@
fi
fi
export JAVA_HOME=$HOME/bin/sun-java2-6.0
-${JAVA_HOME}/bin/java -cp ~/eclipse/plugins/org.eclipse.equinox.launcher_*.jar
org.eclipse.equinox.launcher.Main -vm ${JAVA_HOME} -consoleLog -nosplash -data $TMP
-application org.eclipse.ant.core.antRunner -f $scriptname -Ddestination=$destfolder
-Declipse.p2.mirrors=false $3 $4 $5
-#${JAVA_HOME}/bin/java -cp ~/eclipse/plugins/org.eclipse.equinox.launcher_*.jar
org.eclipse.equinox.launcher.Main -vm ${JAVA_HOME} -consoleLog -nosplash -data $TMP
-application org.eclipse.ant.core.antRunner -f $scriptname -Ddestination=$destfolder
-Declipse.p2.mirrors=true
+${JAVA_HOME}/bin/java -cp ${eclipse}/plugins/org.eclipse.equinox.launcher_*.jar
org.eclipse.equinox.launcher.Main -vm ${JAVA_HOME} -consoleLog -nosplash -data $TMP
-application org.eclipse.ant.core.antRunner -f $scriptname -Ddestination=$destfolder
-Declipse.p2.mirrors=false -Dp2.mirror=false $3 $4 $5
+#${JAVA_HOME}/bin/java -cp ${eclipse}/plugins/org.eclipse.equinox.launcher_*.jar
org.eclipse.equinox.launcher.Main -vm ${JAVA_HOME} -consoleLog -nosplash -data $TMP
-application org.eclipse.ant.core.antRunner -f $scriptname -Ddestination=$destfolder
-Declipse.p2.mirrors=true
# cleanup
rm -fr $TMP