blob: d32ecd4522f3c2d7254f4f42d1c8d7d9e04cc52e [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
7devworkspace=./workspace
8
david_williams6efe3102010-09-22 20:12:17 +00009JAVA_5_HOME=/shared/webtools/apps/ibm-java2-sdk-5.0-12.1-linux-i386
10JAVA_6_HOME=/shared/webtools/apps/ibm-java-sdk-6.0-8.1-linux-i386
11export JAVA_HOME=${JAVA_6_HOME}
david_williams5da7bc22010-07-29 15:41:22 +000012devJRE=$JAVA_HOME/jre/bin/java
13
david_williams6efe3102010-09-22 20:12:17 +000014ibmDevArgs="-Xms128M -Xmx256M -Dosgi.ws=gtk -Dosgi.os=linux -Dosgi.arch=x86"
david_williams5da7bc22010-07-29 15:41:22 +000015
16devArgs=$ibmDevArgs
17
18echo "dev: " $0
19echo
20echo "devworkspace: " $devworkspace
21echo
22echo "devJRE: " $devJRE
23echo "OTHER_ARGS: " ${OTHER_ARGS}
24echo
25$devJRE -version
26echo
27
david_williams5bd19e22010-09-22 20:19:45 +000028ECLIPSE_INSTALL=/shared/webtools/apps/eclipse361/eclipse
david_williams5da7bc22010-07-29 15:41:22 +000029
30$ECLIPSE_INSTALL/eclipse -debug -nosplash -consolelog -console -data $devworkspace -application ${APP_NAME} ${OTHER_ARGS} -vm $devJRE -vmargs $devArgs
31