blob: 7945d6734a0d8eca6b5fbeed86a856f8a7cfcb41 [file] [log] [blame]
david_williams5da7bc22010-07-29 15:41:22 +00001#!/usr/bin/env bash
2
3
4APP_NAME=org.eclipse.wtp.releng.tools.addRepoProperties
5
6devworkspace=./workspace
7
david_williams6efe3102010-09-22 20:12:17 +00008JAVA_5_HOME=/shared/webtools/apps/ibm-java2-sdk-5.0-12.1-linux-i386
9JAVA_6_HOME=/shared/webtools/apps/ibm-java-sdk-6.0-8.1-linux-i386
10export JAVA_HOME=${JAVA_6_HOME}
david_williams5da7bc22010-07-29 15:41:22 +000011devJRE=$JAVA_HOME/jre/bin/java
12
david_williams6efe3102010-09-22 20:12:17 +000013ibmDevArgs="-Xms128M -Xmx256M -Dosgi.ws=gtk -Dosgi.os=linux -Dosgi.arch=x86"
david_williams5da7bc22010-07-29 15:41:22 +000014
15
16# remember, the '&' should NOT be unescaped here ... the p2 api (or underlying xml) will escape it.
17devArgs="$ibmDevArgs \
david_williamsfb527212010-09-14 21:45:25 +000018-Dp2MirrorsURL=http://www.eclipse.org/downloads/download.php?format=xml&file=/webtools/downloads/drops/R3.2.1/R-3.2.1-20100730021206/repositoryb/&protocol=http \
19-DartifactRepoDirectory=/home/data/httpd/download.eclipse.org/webtools/downloads/drops/R3.2.1/R-3.2.1-20100730021206/repositoryb \
david_williams5da7bc22010-07-29 15:41:22 +000020-Dp2StatsURI=http://download.eclipse.org/stats/webtools/repository/helios -DstatsArtifactsSuffix=_helios_0730 -DstatsTrackedArtifacts=org.eclipse.wst.jsdt.feature,org.eclipse.wst.xml_ui.feature,org.eclipse.wst.web_ui.feature,org.eclipse.jst.enterprise_ui.feature"
21
22
23echo "dev: " $0
24echo
25echo "devworkspace: " $devworkspace
26echo
27echo "devJRE: " $devJRE
28echo
29echo "devArgs: " $devArgs
30echo
31echo "APP_NAME: " $APP_NAME
32$devJRE -version
33echo
34
david_williams5bd19e22010-09-22 20:19:45 +000035ECLIPSE_INSTALL=/shared/webtools/apps/eclipse361/eclipse
david_williams5da7bc22010-07-29 15:41:22 +000036
37$ECLIPSE_INSTALL/eclipse -debug -nosplash -consolelog -console -data $devworkspace --launcher.suppressErrors -application ${APP_NAME} ${OTHER_ARGS} -vm $devJRE -vmargs $devArgs
38