blob: 261266ebb0a61f04af48e4466a24178a9ddb112c [file] [log] [blame]
david_williams38fd8112010-12-12 18:47:41 +00001#!/usr/bin/env bash
2
david_williamsfc4c2312011-06-23 02:39:12 +00003# this should be taken purely as an old example script. It is not meant for any "real" use.
4
david_williams38fd8112010-12-12 18:47:41 +00005APP_NAME=org.eclipse.equinox.p2.director
6
david_williamsfc4c2312011-06-23 02:39:12 +00007OTHER_ARGS="-metadataRepository file:///home/data/users/<user-id>/temp/repo/ -artifactRepository file:///home/data/users/<user-id>/temp/repo/ -installIU org.eclipse.wtp.releng.tests.feature.feature.group"
david_williams38fd8112010-12-12 18:47:41 +00008
9devworkspace=~/workspace-addRepoProperties
10
david_williamsa6564532011-08-13 19:47:29 +000011JAVA_5_HOME=/shared/webtools/apps/ibm-java2-i386-50
12JAVA_6_HOME=/shared/webtools/apps/ibm-java-i386-60
Carl Andersonf1859b72013-10-07 14:01:59 -040013JAVA_7_HOME=/shared/webtools/apps/ibm-java-i386-70
14export JAVA_HOME=${JAVA_7_HOME}
david_williams38fd8112010-12-12 18:47:41 +000015devJRE=$JAVA_HOME/jre/bin/java
16
17ibmDevArgs="-Xms128M -Xmx256M -Dosgi.ws=gtk -Dosgi.os=linux -Dosgi.arch=x86"
18
19devArgs=$ibmDevArgs
20
21echo "dev: " $0
22echo
23echo "devworkspace: " $devworkspace
24echo
25echo "devJRE: " $devJRE
26echo "OTHER_ARGS: " ${OTHER_ARGS}
27echo
28$devJRE -version
29echo
30
31ECLIPSE_INSTALL=/shared/webtools/apps/eclipse361/eclipse
32
33$ECLIPSE_INSTALL/eclipse -debug -nosplash -consolelog -console -data $devworkspace -application ${APP_NAME} ${OTHER_ARGS} -vm $devJRE -vmargs $devArgs
34