blob: f07ce2d3e6ae6ce79607331d36ea75441225d7c7 [file] [log] [blame]
david_williams45dc8092010-05-07 05:59:42 +00001#!/usr/bin/env bash
2
3# finds file on users path, before current directory
4# hence, non-production users can set their own values for test machines
5source webtools.apps.shsource
6
7
8echo JAVA_EXEC_DIR: $JAVA_EXEC_DIR;
9echo ECLIPSE_HOME_36: $ECLIPSE_HOME_36;
10
11MIRRORS_URL_KEY_SEGMENT=releases/helios/201005070900/aggregate/
12
13OTHER_ARGS="-Dartifact.repo.directory=${HOME}/downloads/releases/helios/201005070900/aggregate/ -Dp2.mirrorsURL=http://www.eclipse.org/downloads/download.php?format=xml&file=${MIRRORS_URL_KEY_SEGMENT}&protocol=http"
14
15VM_ARGS="-vmargs -Declipse.p2.mirrors=false -Xmx256m"
16
david_williams8336cb02010-05-07 06:02:01 +000017APP_NAME=org.eclipse.wtp.releng.addmirrorsurl
david_williams45dc8092010-05-07 05:59:42 +000018
19echo "ECLIPSE_HOME_36: " ${ECLIPSE_HOME_36}
20EQLAUNCHER=`find ${ECLIPSE_HOME_36}/plugins -name org.eclipse.equinox.launcher_*.jar`
21echo "EQLAUNCHER: " $EQLAUNCHER
22
23# -noexit
24
25"${JAVA_CMD}" -jar ${EQLAUNCHER} -vm "${JAVA_CMD}" -console -data ./workspace-runapp -debug -nosplash -application ${APP_NAME} ${OTHER_ARGS} ${VM_ARGS}
26
27
28