blob: cf80ddb1a85fd5f0dfd4f84fe6e48c8559df4b0d [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
david_williams38fd8112010-12-12 18:47:41 +000013export JAVA_HOME=${JAVA_6_HOME}
14devJRE=$JAVA_HOME/jre/bin/java
15
16ibmDevArgs="-Xms128M -Xmx256M -Dosgi.ws=gtk -Dosgi.os=linux -Dosgi.arch=x86"
17
18devArgs=$ibmDevArgs
19
20echo "dev: " $0
21echo
22echo "devworkspace: " $devworkspace
23echo
24echo "devJRE: " $devJRE
25echo "OTHER_ARGS: " ${OTHER_ARGS}
26echo
27$devJRE -version
28echo
29
30ECLIPSE_INSTALL=/shared/webtools/apps/eclipse361/eclipse
31
32$ECLIPSE_INSTALL/eclipse -debug -nosplash -consolelog -console -data $devworkspace -application ${APP_NAME} ${OTHER_ARGS} -vm $devJRE -vmargs $devArgs
33