blob: 91a152502489daec575f7267de8210ce254e234d [file] [log] [blame]
#!/usr/bin/env bash
# specify devworkspace and JRE to use to runEclipse
devworkspace=./workspace
BUILDFILE=$1
if [ -e $BUILDFILE ]
then
BUILDFILESTR=" -file $BUILDFILE"
fi
# we MUST use java 5, when using process/pack artifacts!
JAVA_HOME=/shared/webtools/apps/ibm-java-ppc64-608
devJRE=$JAVA_HOME/jre/bin/java
ibmDevArgs="-Xms128M -Xmx256M -Dosgi.ws=gtk -Dosgi.os=linux -Dosgi.arch=ppc"
devArgs=$ibmDevArgs
echo dev: $0
echo
echo devworkspace: $devworkspace
echo
echo devJRE: $devJRE
$devJRE -version
echo
ECLIPSE_INSTALL=/shared/webtools/apps/eclipseM20100909/eclipse
$ECLIPSE_INSTALL/eclipse -nosplash -debug -consolelog -console -data $devworkspace -application org.eclipse.ant.core.antRunner $BUILDFILESTR -vm $devJRE -vmargs $devArgs