blob: 61eb881cb3b74e05550a37b96cb049130e2a8ea1 [file] [log] [blame]
david_williams5da7bc22010-07-29 15:41:22 +00001#!/usr/bin/env bash
2
3APP_NAME=org.eclipse.equinox.p2.director
4
5OTHER_ARGS="-metadataRepository http://download.eclipse.org/webtools/releng/repository/ -artifactRepository http://download.eclipse.org/webtools/releng/repository/ -installIU org.eclipse.wtp.releng.tools.feature.feature.group"
6
david_williamsaa0f1642010-12-12 18:45:59 +00007devworkspace=~/workspace-addRepoProperties
david_williams5da7bc22010-07-29 15:41:22 +00008
david_williamsa6564532011-08-13 19:47:29 +00009JAVA_5_HOME=/shared/webtools/apps/ibm-java2-i386-50
10JAVA_6_HOME=/shared/webtools/apps/ibm-java-i386-60
Carl Andersonf1859b72013-10-07 14:01:59 -040011JAVA_7_HOME=/shared/webtools/apps/ibm-java-i386-70
12export JAVA_HOME=${JAVA_7_HOME}
david_williams5da7bc22010-07-29 15:41:22 +000013devJRE=$JAVA_HOME/jre/bin/java
14
david_williams6efe3102010-09-22 20:12:17 +000015ibmDevArgs="-Xms128M -Xmx256M -Dosgi.ws=gtk -Dosgi.os=linux -Dosgi.arch=x86"
david_williams5da7bc22010-07-29 15:41:22 +000016
17devArgs=$ibmDevArgs
18
19echo "dev: " $0
20echo
21echo "devworkspace: " $devworkspace
22echo
23echo "devJRE: " $devJRE
24echo "OTHER_ARGS: " ${OTHER_ARGS}
25echo
26$devJRE -version
27echo
28
david_williams5bd19e22010-09-22 20:19:45 +000029ECLIPSE_INSTALL=/shared/webtools/apps/eclipse361/eclipse
david_williams5da7bc22010-07-29 15:41:22 +000030
david_williams8c814ff2011-02-15 06:12:06 +000031$ECLIPSE_INSTALL/eclipse -nosplash -console -data $devworkspace -application ${APP_NAME} ${OTHER_ARGS} -vm $devJRE -vmargs $devArgs
david_williams5da7bc22010-07-29 15:41:22 +000032