blob: 8215c48abfc7daa2589f7838fcfd47764f296ba4 [file] [log] [blame]
#!/usr/bin/env bash
APP_NAME=org.eclipse.equinox.p2.director
OTHER_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"
devworkspace=~/workspace-addRepoProperties
JAVA_5_HOME=/shared/webtools/apps/ibm-java2-sdk-5.0-12.1-linux-i386
JAVA_6_HOME=/shared/webtools/apps/ibm-java-sdk-6.0-8.1-linux-i386
export JAVA_HOME=${JAVA_6_HOME}
devJRE=$JAVA_HOME/jre/bin/java
ibmDevArgs="-Xms128M -Xmx256M -Dosgi.ws=gtk -Dosgi.os=linux -Dosgi.arch=x86"
devArgs=$ibmDevArgs
echo "dev: " $0
echo
echo "devworkspace: " $devworkspace
echo
echo "devJRE: " $devJRE
echo "OTHER_ARGS: " ${OTHER_ARGS}
echo
$devJRE -version
echo
ECLIPSE_INSTALL=/shared/webtools/apps/eclipse361/eclipse
$ECLIPSE_INSTALL/eclipse -debug -nosplash -consolelog -console -data $devworkspace -application ${APP_NAME} ${OTHER_ARGS} -vm $devJRE -vmargs $devArgs