Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Niefer2009-08-25 18:32:17 +0000
committerAndrew Niefer2009-08-25 18:32:17 +0000
commit019a5ce1f8598735c28d04b9222465fa6621079c (patch)
tree06100de486d2240a6883cb38fcde2981e48cc403 /releng/org.eclipse.equinox.launcher.releng/remote.sh
parentf2038e27ced3abeccf41326e7319418656827d9a (diff)
downloadrt.equinox.framework-019a5ce1f8598735c28d04b9222465fa6621079c.tar.gz
rt.equinox.framework-019a5ce1f8598735c28d04b9222465fa6621079c.tar.xz
rt.equinox.framework-019a5ce1f8598735c28d04b9222465fa6621079c.zip
bug 184468 - need more automation in launcher compilationv20090901
Diffstat (limited to 'releng/org.eclipse.equinox.launcher.releng/remote.sh')
-rw-r--r--releng/org.eclipse.equinox.launcher.releng/remote.sh45
1 files changed, 45 insertions, 0 deletions
diff --git a/releng/org.eclipse.equinox.launcher.releng/remote.sh b/releng/org.eclipse.equinox.launcher.releng/remote.sh
new file mode 100644
index 000000000..6dde35a36
--- /dev/null
+++ b/releng/org.eclipse.equinox.launcher.releng/remote.sh
@@ -0,0 +1,45 @@
+#!/bin/sh
+
+#the directory containing this script
+scriptDir=`dirname "$0"`
+
+ANT_HOME=/bluebird/teamswt/swt-builddir/build/apache-ant-1.7.1
+extraArgs=""
+
+while [ "$1" != "" ]; do
+ if [ "$1" = "-java" ] && [ "$2" != "" ]; then
+ JAVA_HOME=/bluebird/teamswt/swt-builddir/build/JRE/$2
+ shift
+ elif [ "$1" = "-javaHome" ] && [ "$2" != "" ]; then
+ JAVA_HOME="$2"
+ shift
+ elif [ "$1" = "-antHome" ] && [ "$2" != "" ]; then
+ ANT_HOME="$2"
+ shift
+ else
+ extraArgs="$extraArgs $1"
+ fi
+ shift
+done
+
+OS=`uname -s`
+case $OS in
+ "SunOS")
+ if [ "$PROC" = "" ]; then
+ PROC=`uname -p`
+ fi
+ case ${PROC} in
+ "i386")
+ ANT_HOME=~/equinox/apache-ant-1.7.1
+ ;;
+ esac
+ ;;
+esac
+
+PATH=$JAVA_HOME/jre/bin:$ANT_HOME/bin:$PATH
+
+export JAVA_HOME ANT_HOME PATH
+echo JAVA_HOME = $JAVA_HOME
+echo ANT_HOME = $ANT_HOME
+echo ant -f ${scriptDir}/build.xml buildConfig $extraArgs
+ant -f ${scriptDir}/build.xml buildConfig $extraArgs

Back to the top