Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Williams2013-02-08 22:20:35 -0500
committerDavid Williams2013-02-08 22:20:35 -0500
commitbc5078d59dfffe73668e4b73571126c05fe9a4aa (patch)
treea7a9b2d0557a0e26a592c7f41fce5dea3a939693
parentd8ae3c2d6b8337023f3ee0de55f8606191037d64 (diff)
downloadeclipse.platform.releng.aggregator-bc5078d59dfffe73668e4b73571126c05fe9a4aa.tar.gz
eclipse.platform.releng.aggregator-bc5078d59dfffe73668e4b73571126c05fe9a4aa.tar.xz
eclipse.platform.releng.aggregator-bc5078d59dfffe73668e4b73571126c05fe9a4aa.zip
Bug 394293 - [CBI] launch the tests (sync from master to maintenance)
-rw-r--r--production/testScripts/buildParams.shsource2
-rw-r--r--production/testScripts/configuration/sdk.tests/testConfigs/linux/equinoxp2tests.properties9
-rw-r--r--production/testScripts/configuration/sdk.tests/testConfigs/linux/org.eclipse.core.net.prefs13
-rw-r--r--production/testScripts/configuration/sdk.tests/testConfigs/linux/testAll.sh42
-rw-r--r--production/testScripts/configuration/sdk.tests/testConfigs/linux/testing.properties47
-rw-r--r--production/testScripts/configuration/sdk.tests/testConfigs/linux/vm.properties26
-rw-r--r--production/testScripts/configuration/sdk.tests/testConfigs/linux32/equinoxp2tests.properties9
-rw-r--r--production/testScripts/configuration/sdk.tests/testConfigs/linux32/org.eclipse.core.net.prefs13
-rw-r--r--production/testScripts/configuration/sdk.tests/testConfigs/linux32/testAll.sh41
-rw-r--r--production/testScripts/configuration/sdk.tests/testConfigs/linux32/testing.properties47
-rw-r--r--production/testScripts/configuration/sdk.tests/testConfigs/linux32/vm.properties24
-rw-r--r--production/testScripts/configuration/sdk.tests/testConfigs/machine.cfg33
-rw-r--r--production/testScripts/configuration/sdk.tests/testConfigs/macmini/equinoxp2tests.properties9
-rw-r--r--production/testScripts/configuration/sdk.tests/testConfigs/macmini/org.eclipse.core.net.prefs13
-rw-r--r--production/testScripts/configuration/sdk.tests/testConfigs/macmini/testAll.sh39
-rw-r--r--production/testScripts/configuration/sdk.tests/testConfigs/macmini/testing.properties46
-rw-r--r--production/testScripts/configuration/sdk.tests/testConfigs/macmini/vm.properties23
-rw-r--r--production/testScripts/configuration/sdk.tests/testConfigs/macosx/equinoxp2tests.properties9
-rw-r--r--production/testScripts/configuration/sdk.tests/testConfigs/macosx/org.eclipse.core.net.prefs13
-rw-r--r--production/testScripts/configuration/sdk.tests/testConfigs/macosx/testAll.sh38
-rw-r--r--production/testScripts/configuration/sdk.tests/testConfigs/macosx/testing.properties46
-rw-r--r--production/testScripts/configuration/sdk.tests/testConfigs/macosx/vm.properties30
-rw-r--r--production/testScripts/configuration/sdk.tests/testConfigs/rhelws5-6.0/customTest.xml79
-rw-r--r--production/testScripts/configuration/sdk.tests/testConfigs/rhelws5-6.0/testAll.sh16
-rw-r--r--production/testScripts/configuration/sdk.tests/testConfigs/rhelws5-6.0/testing.properties78
-rw-r--r--production/testScripts/configuration/sdk.tests/testConfigs/rhelws5-6.0/vm.properties12
-rw-r--r--production/testScripts/configuration/sdk.tests/testConfigs/rhelws5-perf/customTest.xml85
-rw-r--r--production/testScripts/configuration/sdk.tests/testConfigs/rhelws5-perf/testAll.sh20
-rw-r--r--production/testScripts/configuration/sdk.tests/testConfigs/rhelws5-perf/testing.properties64
-rw-r--r--production/testScripts/configuration/sdk.tests/testConfigs/rhelws5-perf/vm.properties11
-rw-r--r--production/testScripts/configuration/sdk.tests/testConfigs/sled10-perf/customTest.xml85
-rw-r--r--production/testScripts/configuration/sdk.tests/testConfigs/sled10-perf/testAll.sh20
-rw-r--r--production/testScripts/configuration/sdk.tests/testConfigs/sled10-perf/testing.properties64
-rw-r--r--production/testScripts/configuration/sdk.tests/testConfigs/sled10-perf/vm.properties11
-rw-r--r--production/testScripts/configuration/sdk.tests/testConfigs/testAll.xml93
-rw-r--r--production/testScripts/configuration/sdk.tests/testConfigs/win32xp-7.0/customTest.xml60
-rw-r--r--production/testScripts/configuration/sdk.tests/testConfigs/win32xp-7.0/testAll.bat11
-rw-r--r--production/testScripts/configuration/sdk.tests/testConfigs/win32xp-7.0/testing.properties71
-rw-r--r--production/testScripts/configuration/sdk.tests/testConfigs/win32xp-7.0/vm.properties11
-rw-r--r--production/testScripts/configuration/sdk.tests/testConfigs/win32xp-perf/customTest.xml81
-rw-r--r--production/testScripts/configuration/sdk.tests/testConfigs/win32xp-perf/testAll.bat12
-rw-r--r--production/testScripts/configuration/sdk.tests/testConfigs/win32xp-perf/testing.properties76
-rw-r--r--production/testScripts/configuration/sdk.tests/testConfigs/win32xp-perf/vm.properties11
-rw-r--r--production/testScripts/configuration/sdk.tests/testConfigs/win32xp2-perf/customTest.xml94
-rw-r--r--production/testScripts/configuration/sdk.tests/testConfigs/win32xp2-perf/testAll.bat12
-rw-r--r--production/testScripts/configuration/sdk.tests/testConfigs/win32xp2-perf/testing.properties76
-rw-r--r--production/testScripts/configuration/sdk.tests/testConfigs/win32xp2-perf/vm.properties11
-rw-r--r--production/testScripts/configuration/sdk.tests/testConfigs/win7-64/equinoxp2tests.properties9
-rw-r--r--production/testScripts/configuration/sdk.tests/testConfigs/win7-64/org.eclipse.core.net.prefs13
-rw-r--r--production/testScripts/configuration/sdk.tests/testConfigs/win7-64/testAll.bat36
-rw-r--r--production/testScripts/configuration/sdk.tests/testConfigs/win7-64/testing.properties52
-rw-r--r--production/testScripts/configuration/sdk.tests/testConfigs/win7-64/vm.properties27
-rw-r--r--production/testScripts/configuration/sdk.tests/testConfigs/win7/equinoxp2tests.properties9
-rw-r--r--production/testScripts/configuration/sdk.tests/testConfigs/win7/org.eclipse.core.net.prefs13
-rw-r--r--production/testScripts/configuration/sdk.tests/testConfigs/win7/testAll.bat37
-rw-r--r--production/testScripts/configuration/sdk.tests/testConfigs/win7/testing.properties52
-rw-r--r--production/testScripts/configuration/sdk.tests/testConfigs/win7/vm.properties27
-rw-r--r--production/testScripts/configuration/sdk.tests/testScripts/readme.html182
-rw-r--r--production/testScripts/configuration/sdk.tests/testScripts/runTests.xml58
-rw-r--r--production/testScripts/configuration/sdk.tests/testScripts/runtests3
-rw-r--r--production/testScripts/configuration/sdk.tests/testScripts/runtests.bat89
-rw-r--r--production/testScripts/configuration/sdk.tests/testScripts/runtests.sh147
-rw-r--r--production/testScripts/configuration/sdk.tests/testScripts/runtestsmac.sh123
-rw-r--r--production/testScripts/configuration/sdk.tests/testScripts/test.xml1534
-rw-r--r--production/testScripts/configuration/streamSpecific-build.properties38
-rw-r--r--production/testScripts/genTestIndexes.xml252
-rw-r--r--production/testScripts/getBaseBuilder.xml274
-rw-r--r--production/testScripts/invokeTestsJSON.xml180
-rw-r--r--production/testScripts/runTests2.xml751
-rwxr-xr-xproduction/testScripts/startTests.sh182
-rwxr-xr-xproduction/testScripts/updateTestResultsPages.sh139
71 files changed, 5963 insertions, 0 deletions
diff --git a/production/testScripts/buildParams.shsource b/production/testScripts/buildParams.shsource
new file mode 100644
index 00000000..e2ac7e73
--- /dev/null
+++ b/production/testScripts/buildParams.shsource
@@ -0,0 +1,2 @@
+buildId=M20120705-1200
+eclipseStream=4.2.1
diff --git a/production/testScripts/configuration/sdk.tests/testConfigs/linux/equinoxp2tests.properties b/production/testScripts/configuration/sdk.tests/testConfigs/linux/equinoxp2tests.properties
new file mode 100644
index 00000000..c0b536ee
--- /dev/null
+++ b/production/testScripts/configuration/sdk.tests/testConfigs/linux/equinoxp2tests.properties
@@ -0,0 +1,9 @@
+#Fri Oct 22 11:38:18 EDT 2010
+org.eclipse.equinox.p2.reconciler.tests.lastrelease.platform.archive.linux-x86_64=@executionDir@/eclipse-platform-3.7.2-linux-gtk-x86_64.tar.gz
+org.eclipse.equinox.p2.tests.current.build.repo=@org.eclipse.equinox.p2.tests.current.build.repo@
+org.eclipse.equinox.p2.reconciler.tests.lastrelease.platform.archive.win32=@executionDir@\\eclipse-platform-3.7.2-win32.zip
+org.eclipse.equinox.p2.reconciler.tests.lastrelease.platform.archive.macosx=@executionDir@/eclipse-platform-3.7.2-macosx-cocoa.tar.gz
+org.eclipse.equinox.p2.reconciler.tests.platform.archive.linux=@executionDir@/eclipse-platform-@buildId@-linux-gtk-x86_64.tar.gz
+org.eclipse.equinox.p2.reconciler.tests.platform.archive.win32=@executionDir@\\eclipse-platform-@buildId@-win32.zip
+org.eclipse.equinox.p2.reconciler.tests.platform.archive.macosx=@executionDir@/eclipse-platform-@buildId@-macosx-cocoa.tar.gz
+org.eclipse.equinox.p2.tests.last.release.build.repo=http\://download.eclipse.org/eclipse/updates/4.1/R-4.1.2-201202230900 \ No newline at end of file
diff --git a/production/testScripts/configuration/sdk.tests/testConfigs/linux/org.eclipse.core.net.prefs b/production/testScripts/configuration/sdk.tests/testConfigs/linux/org.eclipse.core.net.prefs
new file mode 100644
index 00000000..c9e4c1c8
--- /dev/null
+++ b/production/testScripts/configuration/sdk.tests/testConfigs/linux/org.eclipse.core.net.prefs
@@ -0,0 +1,13 @@
+eclipse.preferences.version=1
+nonProxiedHosts=127.0.0.1|localhost|*.localhost|local|*.local|169.254/16|*.169.254/16|eclipse.org|*.eclipse.org|hudson.eclipse.org|*.hudson.eclipse.org|dev.eclipse.org|*.dev.eclipse.org
+org.eclipse.core.net.hasMigrated=true
+proxyData/HTTP/hasAuth=false
+proxyData/HTTP/host=proxy.eclipse.org
+proxyData/HTTP/port=9898
+proxyData/HTTPS/hasAuth=false
+proxyData/HTTPS/host=proxy.eclipse.org
+proxyData/HTTPS/port=9898
+proxyData/SOCKS/hasAuth=false
+proxyData/SOCKS/host=proxy.eclipse.org
+proxyData/SOCKS/port=9898
+systemProxiesEnabled=true
diff --git a/production/testScripts/configuration/sdk.tests/testConfigs/linux/testAll.sh b/production/testScripts/configuration/sdk.tests/testConfigs/linux/testAll.sh
new file mode 100644
index 00000000..c840508b
--- /dev/null
+++ b/production/testScripts/configuration/sdk.tests/testConfigs/linux/testAll.sh
@@ -0,0 +1,42 @@
+#!/usr/bin/env bash
+
+
+# This file should never exist or be needed for production machine,
+# but allows an easy way for a "local user" to provide this file
+# somewhere on the search path ($HOME/bin is common),
+# and it will be included here, thus can provide "override values"
+# to those defined by defaults for production machine.,
+# such as for vmcmd
+
+source localTestsProperties.shsource 2>/dev/null
+
+echo "PWD: $PWD"
+vmcmd=${vmcmd:-/shared/common/jdk-1.6.x86_64/jre/bin/java}
+
+# production machine is x86_64, but some local setups may be 32 bit and will need to provide
+# this value in localTestsProperties.shsource.
+eclipseArch=${eclipseArch:-x86_64}
+
+# vm.properties is used by default on production machines, but will
+# need to override on local setups to specify appropriate vm (usually same as vmcmd).
+# see bug 388269
+propertyFile=${propertyFile:-vm.properties}
+
+echo "vmcmd in testAll: ${vmcmd}"
+echo "extdir in testAll (if any): ${extdir}"
+echo "propertyFile in testAll: ${propertyFile}"
+echo "buildId in testAll: ${buildId}"
+
+
+#execute command to run tests
+/bin/chmod 755 runtests.sh
+/bin/mkdir -p results/consolelogs
+
+if [[ -n "${extdir}" ]]
+then
+./runtests.sh -os linux -ws gtk -arch $eclipseArch -extdirprop "${extdir}" -vm "${vmcmd}" -properties ${propertyFile} $* > results/consolelogs/linux.gtk.x86_64_6.0_consolelog.txt
+else
+./runtests.sh -os linux -ws gtk -arch $eclipseArch -vm "${vmcmd}" -properties ${propertyFile} $* > results/consolelogs/linux.gtk.x86_64_6.0_consolelog.txt
+fi
+
+
diff --git a/production/testScripts/configuration/sdk.tests/testConfigs/linux/testing.properties b/production/testScripts/configuration/sdk.tests/testConfigs/linux/testing.properties
new file mode 100644
index 00000000..aebc8766
--- /dev/null
+++ b/production/testScripts/configuration/sdk.tests/testConfigs/linux/testing.properties
@@ -0,0 +1,47 @@
+###############################################################################
+# Copyright (c) 2004, 2006 IBM Corporation and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# IBM Corporation - initial API and implementation
+###############################################################################
+#target to call in test.xml: runtests-local | runtests-remote
+testTarget=runtests-hudson
+
+platform=linux-gtk_6.0
+
+#directory on test machine where automated testing framework will be installed
+#testDir=${testDir}
+
+#name of zip file containing automated testing framework and JUnit test plug-ins
+testFramework=${testDir}/eclipse-Automated-Tests-${buildId}.zip
+
+#name of runtime to install and test
+runtime=eclipse-SDK-${buildId}-linux-gtk.tar.gz
+
+#name of deltaPack to install and test
+runtimeDeltapack=eclipse-${buildId}-delta-pack.zip
+
+#name of Platform runtime to install and test
+runtimePlatform=eclipse-platform-${buildId}-linux-gtk.tar.gz
+
+# Not currently used on eclipse.org tests
+previousRuntimePlatform=eclipse-platform-3.7.1-linux-gtk.tar.gz
+
+#directory where test scripts are launched
+executionDir=${testDir}/eclipse-testing
+
+#name of file that captures console output from running JUnit plug-in tests
+consolelog=linux-6.0_consolelog.txt
+
+testExecutable=bash
+
+#name of script to execute on remote machine
+#testScript=start /min /wait ${executionDir}\\testAll.bat
+testScript=./testAll.sh
+
+#arguments to $(testScript)
+args= \ No newline at end of file
diff --git a/production/testScripts/configuration/sdk.tests/testConfigs/linux/vm.properties b/production/testScripts/configuration/sdk.tests/testConfigs/linux/vm.properties
new file mode 100644
index 00000000..7321c504
--- /dev/null
+++ b/production/testScripts/configuration/sdk.tests/testConfigs/linux/vm.properties
@@ -0,0 +1,26 @@
+###############################################################################
+# Copyright (c) 2000, 2006 IBM Corporation and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# IBM Corporation - initial API and implementation
+###############################################################################
+platform=linux.gtk.x86_6.0
+#J2SE-6.0=/shared/common/jdk-1.6.x86_64/jre/bin/java
+J2SE-6.0=/shared/common/jdk-1.6.x86_64/jre/bin/java
+
+# currently this variable is "hard coded" to work on Hudson.
+# not required if no proxies to use or bypass
+# TODO: make more sensitive to env. setttings in future so can
+# support tests on non Ecipse Infrastructure
+# If this property is defined, and file exists, the Eclipse infrastructure
+# will copy these "preferences" to
+# ${executionDir}/test-eclipse/eclipse/configuration/.settings/
+# after the test instance of eclipse is installed.
+# It is assumed the file itself gets copied to "execution directory" by
+# runTests2.xml approx. line 488
+org.eclipse.core.net.prefs=org.eclipse.core.net.prefs
+
diff --git a/production/testScripts/configuration/sdk.tests/testConfigs/linux32/equinoxp2tests.properties b/production/testScripts/configuration/sdk.tests/testConfigs/linux32/equinoxp2tests.properties
new file mode 100644
index 00000000..f0900716
--- /dev/null
+++ b/production/testScripts/configuration/sdk.tests/testConfigs/linux32/equinoxp2tests.properties
@@ -0,0 +1,9 @@
+#Fri Oct 22 11:38:18 EDT 2010
+org.eclipse.equinox.p2.reconciler.tests.lastrelease.platform.archive.linux=@executionDir@/eclipse-platform-3.7.2-linux-gtk.tar.gz
+org.eclipse.equinox.p2.tests.current.build.repo=@org.eclipse.equinox.p2.tests.current.build.repo@
+org.eclipse.equinox.p2.reconciler.tests.lastrelease.platform.archive.win32=@executionDir@\\eclipse-platform-3.7.2-win32.zip
+org.eclipse.equinox.p2.reconciler.tests.lastrelease.platform.archive.macosx=@executionDir@/eclipse-platform-3.7.2-macosx-cocoa.tar.gz
+org.eclipse.equinox.p2.reconciler.tests.platform.archive.linux=@executionDir@/eclipse-platform-@buildId@-linux-gtk.tar.gz
+org.eclipse.equinox.p2.reconciler.tests.platform.archive.win32=@executionDir@\\eclipse-platform-@buildId@-win32.zip
+org.eclipse.equinox.p2.reconciler.tests.platform.archive.macosx=@executionDir@/eclipse-platform-@buildId@-macosx-cocoa.tar.gz
+org.eclipse.equinox.p2.tests.last.release.build.repo=http\://download.eclipse.org/eclipse/updates/4.1/R-4.1.2-201202230900 \ No newline at end of file
diff --git a/production/testScripts/configuration/sdk.tests/testConfigs/linux32/org.eclipse.core.net.prefs b/production/testScripts/configuration/sdk.tests/testConfigs/linux32/org.eclipse.core.net.prefs
new file mode 100644
index 00000000..c9e4c1c8
--- /dev/null
+++ b/production/testScripts/configuration/sdk.tests/testConfigs/linux32/org.eclipse.core.net.prefs
@@ -0,0 +1,13 @@
+eclipse.preferences.version=1
+nonProxiedHosts=127.0.0.1|localhost|*.localhost|local|*.local|169.254/16|*.169.254/16|eclipse.org|*.eclipse.org|hudson.eclipse.org|*.hudson.eclipse.org|dev.eclipse.org|*.dev.eclipse.org
+org.eclipse.core.net.hasMigrated=true
+proxyData/HTTP/hasAuth=false
+proxyData/HTTP/host=proxy.eclipse.org
+proxyData/HTTP/port=9898
+proxyData/HTTPS/hasAuth=false
+proxyData/HTTPS/host=proxy.eclipse.org
+proxyData/HTTPS/port=9898
+proxyData/SOCKS/hasAuth=false
+proxyData/SOCKS/host=proxy.eclipse.org
+proxyData/SOCKS/port=9898
+systemProxiesEnabled=true
diff --git a/production/testScripts/configuration/sdk.tests/testConfigs/linux32/testAll.sh b/production/testScripts/configuration/sdk.tests/testConfigs/linux32/testAll.sh
new file mode 100644
index 00000000..18de4199
--- /dev/null
+++ b/production/testScripts/configuration/sdk.tests/testConfigs/linux32/testAll.sh
@@ -0,0 +1,41 @@
+#!/usr/bin/env bash
+
+
+# This file should never exist or be needed for production machine,
+# but allows an easy way for a "local user" to provide this file
+# somewhere on the search path ($HOME/bin is common),
+# and it will be included here, thus can provide "override values"
+# to those defined by defaults for production machine.,
+# such as for vmcmd
+
+source localTestsProperties.shsource 2>/dev/null
+
+echo "PWD: $PWD"
+vmcmd=${vmcmd:-/shared/common/jdk-1.6.x86_64/jre/bin/java}
+
+
+# production machine is x86_64, but some local setups may be 32 bit and will need to provide
+# this value in localTestsProperties.shsource.
+eclipseArch=${eclipseArch:-x86}
+
+# vm.properties is used by default on production machines, but will
+# need to override on local setups to specify appropriate vm (usually same as vmcmd).
+# see bug 388269
+propertyFile=${propertyFile:-vm.properties}
+
+echo "vmcmd in testAll: ${vmcmd}"
+echo "extdir in testAll (if any): ${extdir}"
+echo "propertyFile in testAll: ${propertyFile}"
+
+#execute command to run tests
+/bin/chmod 755 runtests.sh
+/bin/mkdir -p results/consolelogs
+
+if [[ -n "${extdir}" ]]
+then
+./runtests.sh -os linux -ws gtk -arch $eclipseArch -extdirprop "${extdir}" -vm "${vmcmd}" -properties ${propertyFile} $* > results/consolelogs/linux.gtk-6.0_consolelog.txt
+else
+./runtests.sh -os linux -ws gtk -arch $eclipseArch -vm "${vmcmd}" -properties ${propertyFile} $* > results/consolelogs/linux.gtk-6.0_consolelog.txt
+fi
+
+
diff --git a/production/testScripts/configuration/sdk.tests/testConfigs/linux32/testing.properties b/production/testScripts/configuration/sdk.tests/testConfigs/linux32/testing.properties
new file mode 100644
index 00000000..aebc8766
--- /dev/null
+++ b/production/testScripts/configuration/sdk.tests/testConfigs/linux32/testing.properties
@@ -0,0 +1,47 @@
+###############################################################################
+# Copyright (c) 2004, 2006 IBM Corporation and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# IBM Corporation - initial API and implementation
+###############################################################################
+#target to call in test.xml: runtests-local | runtests-remote
+testTarget=runtests-hudson
+
+platform=linux-gtk_6.0
+
+#directory on test machine where automated testing framework will be installed
+#testDir=${testDir}
+
+#name of zip file containing automated testing framework and JUnit test plug-ins
+testFramework=${testDir}/eclipse-Automated-Tests-${buildId}.zip
+
+#name of runtime to install and test
+runtime=eclipse-SDK-${buildId}-linux-gtk.tar.gz
+
+#name of deltaPack to install and test
+runtimeDeltapack=eclipse-${buildId}-delta-pack.zip
+
+#name of Platform runtime to install and test
+runtimePlatform=eclipse-platform-${buildId}-linux-gtk.tar.gz
+
+# Not currently used on eclipse.org tests
+previousRuntimePlatform=eclipse-platform-3.7.1-linux-gtk.tar.gz
+
+#directory where test scripts are launched
+executionDir=${testDir}/eclipse-testing
+
+#name of file that captures console output from running JUnit plug-in tests
+consolelog=linux-6.0_consolelog.txt
+
+testExecutable=bash
+
+#name of script to execute on remote machine
+#testScript=start /min /wait ${executionDir}\\testAll.bat
+testScript=./testAll.sh
+
+#arguments to $(testScript)
+args= \ No newline at end of file
diff --git a/production/testScripts/configuration/sdk.tests/testConfigs/linux32/vm.properties b/production/testScripts/configuration/sdk.tests/testConfigs/linux32/vm.properties
new file mode 100644
index 00000000..d4727fe6
--- /dev/null
+++ b/production/testScripts/configuration/sdk.tests/testConfigs/linux32/vm.properties
@@ -0,0 +1,24 @@
+###############################################################################
+# Copyright (c) 2000, 2006 IBM Corporation and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# IBM Corporation - initial API and implementation
+###############################################################################
+platform=linux.gtk.x86_6.0
+#J2SE-6.0=/shared/common/jdk-1.6.x86_64/jre/bin/java
+J2SE-6.0=/shared/common/jdk-1.6.0_10/jre/bin/java
+# currently this variable is "hard coded" to work on Hudson.
+# not required if no proxies to use or bypass
+# TODO: make more sensitive to env. setttings in future so can
+# support tests on non Ecipse Infrastructure
+# If this property is defined, and file exists, the Eclipse infrastructure
+# will copy these "preferences" to
+# ${executionDir}/test-eclipse/eclipse/configuration/.settings/
+# after the test instance of eclipse is installed.
+# It is assumed the file itself gets copied to "execution directory" by
+# runTests2.xml approx. line 488
+org.eclipse.core.net.prefs=org.eclipse.core.net.prefs
diff --git a/production/testScripts/configuration/sdk.tests/testConfigs/machine.cfg b/production/testScripts/configuration/sdk.tests/testConfigs/machine.cfg
new file mode 100644
index 00000000..05b3828d
--- /dev/null
+++ b/production/testScripts/configuration/sdk.tests/testConfigs/machine.cfg
@@ -0,0 +1,33 @@
+#This file contains mappings for test configurations to hostnames on which the tests should be performed
+#properties used by the <findMachine> custom Ant task to find a host on which tests can run.
+#
+# format: testconfiguration=host1,host2,host3...
+#
+
+################## JUnit test hosts #####################
+
+#RedHat Enterprise Linux WS 4
+rhelws5=ejlnx1
+
+#Windows XP
+#win32xp=epwin3
+#win32xp-7.0=epwin2
+win32xp=ejwin2
+win32xp-7.0=ejwin2
+
+rhelws5-6.0=ejlnx1
+
+#Mac OS X
+macosx=lb6mac
+
+################# Performance test hosts ################
+#Windows XP
+win32xp-perf=epwin2
+win32xp2-perf=epwin3
+vista-perf=epwin1
+
+#RedHat Enterprise Linux WS 5
+rhelws5-perf=eplnx2
+
+#sled 10
+sled10-perf=eplnx1 \ No newline at end of file
diff --git a/production/testScripts/configuration/sdk.tests/testConfigs/macmini/equinoxp2tests.properties b/production/testScripts/configuration/sdk.tests/testConfigs/macmini/equinoxp2tests.properties
new file mode 100644
index 00000000..f0900716
--- /dev/null
+++ b/production/testScripts/configuration/sdk.tests/testConfigs/macmini/equinoxp2tests.properties
@@ -0,0 +1,9 @@
+#Fri Oct 22 11:38:18 EDT 2010
+org.eclipse.equinox.p2.reconciler.tests.lastrelease.platform.archive.linux=@executionDir@/eclipse-platform-3.7.2-linux-gtk.tar.gz
+org.eclipse.equinox.p2.tests.current.build.repo=@org.eclipse.equinox.p2.tests.current.build.repo@
+org.eclipse.equinox.p2.reconciler.tests.lastrelease.platform.archive.win32=@executionDir@\\eclipse-platform-3.7.2-win32.zip
+org.eclipse.equinox.p2.reconciler.tests.lastrelease.platform.archive.macosx=@executionDir@/eclipse-platform-3.7.2-macosx-cocoa.tar.gz
+org.eclipse.equinox.p2.reconciler.tests.platform.archive.linux=@executionDir@/eclipse-platform-@buildId@-linux-gtk.tar.gz
+org.eclipse.equinox.p2.reconciler.tests.platform.archive.win32=@executionDir@\\eclipse-platform-@buildId@-win32.zip
+org.eclipse.equinox.p2.reconciler.tests.platform.archive.macosx=@executionDir@/eclipse-platform-@buildId@-macosx-cocoa.tar.gz
+org.eclipse.equinox.p2.tests.last.release.build.repo=http\://download.eclipse.org/eclipse/updates/4.1/R-4.1.2-201202230900 \ No newline at end of file
diff --git a/production/testScripts/configuration/sdk.tests/testConfigs/macmini/org.eclipse.core.net.prefs b/production/testScripts/configuration/sdk.tests/testConfigs/macmini/org.eclipse.core.net.prefs
new file mode 100644
index 00000000..5cef3213
--- /dev/null
+++ b/production/testScripts/configuration/sdk.tests/testConfigs/macmini/org.eclipse.core.net.prefs
@@ -0,0 +1,13 @@
+eclipse.preferences.version=1
+nonProxiedHosts=127.0.0.1|localhost|*.localhost|local|*.local|169.254/16|*.169.254/16|eclipse.org|*.eclipse.org|hudson.eclipse.org|*.hudson.eclipse.org|dev.eclipse.org|*.dev.eclipse.org
+org.eclipse.core.net.hasMigrated=true
+proxyData/HTTP/hasAuth=false
+proxyData/HTTP/host=proxy.eclipse.org
+proxyData/HTTP/port=9898
+proxyData/HTTPS/hasAuth=false
+proxyData/HTTPS/host=proxy.eclipse.org
+proxyData/HTTPS/port=9898
+proxyData/SOCKS/hasAuth=false
+proxyData/SOCKS/host=proxy.eclipse.org
+proxyData/SOCKS/port=9898
+systemProxiesEnabled=false
diff --git a/production/testScripts/configuration/sdk.tests/testConfigs/macmini/testAll.sh b/production/testScripts/configuration/sdk.tests/testConfigs/macmini/testAll.sh
new file mode 100644
index 00000000..f30d0c49
--- /dev/null
+++ b/production/testScripts/configuration/sdk.tests/testConfigs/macmini/testAll.sh
@@ -0,0 +1,39 @@
+#!/bin/sh
+ulimit -c unlimited
+
+# This file should never exist or be needed for production machine,
+# but allows an easy way for a "local user" to provide this file
+# somewhere on the search path ($HOME/bin is common),
+# and it will be included here, thus can provide "override values"
+# to those defined by defaults for production machine.,
+# such as for vmcmd
+
+source localTestsProperties.shsource 2>/dev/null
+
+echo "PWD: $PWD"
+vmcmd=${vmcmd:-/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Commands/java}
+
+
+# production machine is x86_64, but some local setups may be 32 bit and will need to provide
+# this value in localTestsProperties.shsource.
+eclipseArch=${eclipseArch:-x86}
+
+# vm.properties is used by default on production machines, but will
+# need to override on local setups to specify appropriate vm (usually same as vmcmd).
+# see bug 388269
+propertyFile=${propertyFile:-vm.properties}
+
+echo "vmcmd in testAll: ${vmcmd}"
+echo "extdir in testAll (if any): ${extdir}"
+echo "propertyFile in testAll: ${propertyFile}"
+
+#execute command to run tests
+/bin/chmod 755 runtestsmac.sh
+/bin/mkdir -p results/consolelogs
+
+if [[ -n "${extdir}" ]]
+then
+./runtestsmac.sh -os macosx -ws cocoa -arch $eclipseArch -extdirprop "${extdir}" -vm "${vmcmd}" -properties ${propertyFile} $* > results/consolelogs/macosx.cocoa.x86_5.0_consolelog.txt
+else
+./runtestsmac.sh -os macosx -ws cocoa -arch $eclipseArch -vm "${vmcmd}" -properties ${propertyFile} $* > results/consolelogs/macosx.cocoa.x86_5.0_consolelog.txt
+fi
diff --git a/production/testScripts/configuration/sdk.tests/testConfigs/macmini/testing.properties b/production/testScripts/configuration/sdk.tests/testConfigs/macmini/testing.properties
new file mode 100644
index 00000000..3e1ca010
--- /dev/null
+++ b/production/testScripts/configuration/sdk.tests/testConfigs/macmini/testing.properties
@@ -0,0 +1,46 @@
+###############################################################################
+# Copyright (c) 2004, 2006 IBM Corporation and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# IBM Corporation - initial API and implementation
+###############################################################################
+#target to call in test.xml: runtests-local | runtests-remote
+testTarget=runtests-hudson
+
+platform=macosx.cocoa.x86_5.0
+
+#directory on test machine where automated testing framework will be installed
+#testDir=${testDir}
+
+#name of zip file containing automated testing framework and JUnit test plug-ins
+testFramework=${testDir}/eclipse-Automated-Tests-${buildId}.zip
+
+#name of runtime to install and test
+runtime=eclipse-SDK-${buildId}-macosx-cocoa.tar.gz
+
+#name of deltaPack to install and test
+runtimeDeltapack=eclipse-${buildId}-delta-pack.zip
+
+#name of Platform runtime to install and test
+runtimePlatform=eclipse-platform-${buildId}-macosx-cocoa.tar.gz
+
+# Not currently used on eclipse.org tests?
+previousRuntimePlatform=eclipse-platform-3.7.1-macosx-cocoa.tar.gz
+
+#directory where test scripts are launched
+executionDir=${testDir}/eclipse-testing
+
+#name of file that captures console output from running JUnit plug-in tests
+consolelog=macosx.cocoa_consolelog.txt
+
+testExecutable=bash
+
+#name of script to execute on remote machine
+testScript=./testAll.sh
+
+#arguments to $(testScript)
+args= \ No newline at end of file
diff --git a/production/testScripts/configuration/sdk.tests/testConfigs/macmini/vm.properties b/production/testScripts/configuration/sdk.tests/testConfigs/macmini/vm.properties
new file mode 100644
index 00000000..f5c096c1
--- /dev/null
+++ b/production/testScripts/configuration/sdk.tests/testConfigs/macmini/vm.properties
@@ -0,0 +1,23 @@
+###############################################################################
+# Copyright (c) 2000, 2006 IBM Corporation and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# IBM Corporation - initial API and implementation
+###############################################################################
+platform=macosx.cocoa.x86_5.0
+J2SE-5.0=/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Commands/java
+# currently this variable is "hard coded" to work on Hudson.
+# not required if no proxies to use or bypass
+# TODO: make more sensitive to env. setttings in future so can
+# support tests on non Ecipse Infrastructure
+# If this property is defined, and file exists, the Eclipse infrastructure
+# will copy these "preferences" to
+# ${executionDir}/test-eclipse/eclipse/configuration/.settings/
+# after the test instance of eclipse is installed.
+# It is assumed the file itself gets copied to "execution directory" by
+# runTests2.xml approx. line 488
+org.eclipse.core.net.prefs=org.eclipse.core.net.prefs
diff --git a/production/testScripts/configuration/sdk.tests/testConfigs/macosx/equinoxp2tests.properties b/production/testScripts/configuration/sdk.tests/testConfigs/macosx/equinoxp2tests.properties
new file mode 100644
index 00000000..12b995df
--- /dev/null
+++ b/production/testScripts/configuration/sdk.tests/testConfigs/macosx/equinoxp2tests.properties
@@ -0,0 +1,9 @@
+#Fri Oct 22 11:38:18 EDT 2010
+org.eclipse.equinox.p2.reconciler.tests.lastrelease.platform.archive.linux=@executionDir@/eclipse-platform-3.7.2-linux-gtk.tar.gz
+org.eclipse.equinox.p2.tests.current.build.repo=@org.eclipse.equinox.p2.tests.current.build.repo@
+org.eclipse.equinox.p2.reconciler.tests.lastrelease.platform.archive.win32=@executionDir@\\eclipse-platform-3.7.2-win32.zip
+org.eclipse.equinox.p2.reconciler.tests.lastrelease.platform.archive.macosx-x86_64=@executionDir@/eclipse-platform-3.7.2-macosx-cocoa-x86_64.tar.gz
+org.eclipse.equinox.p2.reconciler.tests.platform.archive.linux=@executionDir@/eclipse-platform-@buildId@-linux-gtk.tar.gz
+org.eclipse.equinox.p2.reconciler.tests.platform.archive.win32=@executionDir@\\eclipse-platform-@buildId@-win32.zip
+org.eclipse.equinox.p2.reconciler.tests.platform.archive.macosx=@executionDir@/eclipse-platform-@buildId@-macosx-cocoa-x86_64.tar.gz
+org.eclipse.equinox.p2.tests.last.release.build.repo=http\://download.eclipse.org/eclipse/updates/4.1/R-4.1.2-201202230900 \ No newline at end of file
diff --git a/production/testScripts/configuration/sdk.tests/testConfigs/macosx/org.eclipse.core.net.prefs b/production/testScripts/configuration/sdk.tests/testConfigs/macosx/org.eclipse.core.net.prefs
new file mode 100644
index 00000000..c9e4c1c8
--- /dev/null
+++ b/production/testScripts/configuration/sdk.tests/testConfigs/macosx/org.eclipse.core.net.prefs
@@ -0,0 +1,13 @@
+eclipse.preferences.version=1
+nonProxiedHosts=127.0.0.1|localhost|*.localhost|local|*.local|169.254/16|*.169.254/16|eclipse.org|*.eclipse.org|hudson.eclipse.org|*.hudson.eclipse.org|dev.eclipse.org|*.dev.eclipse.org
+org.eclipse.core.net.hasMigrated=true
+proxyData/HTTP/hasAuth=false
+proxyData/HTTP/host=proxy.eclipse.org
+proxyData/HTTP/port=9898
+proxyData/HTTPS/hasAuth=false
+proxyData/HTTPS/host=proxy.eclipse.org
+proxyData/HTTPS/port=9898
+proxyData/SOCKS/hasAuth=false
+proxyData/SOCKS/host=proxy.eclipse.org
+proxyData/SOCKS/port=9898
+systemProxiesEnabled=true
diff --git a/production/testScripts/configuration/sdk.tests/testConfigs/macosx/testAll.sh b/production/testScripts/configuration/sdk.tests/testConfigs/macosx/testAll.sh
new file mode 100644
index 00000000..9b3a4643
--- /dev/null
+++ b/production/testScripts/configuration/sdk.tests/testConfigs/macosx/testAll.sh
@@ -0,0 +1,38 @@
+#!/usr/bin/env bash
+ulimit -c unlimited
+
+# This file should never exist or be needed for production machine,
+# but allows an easy way for a "local user" to provide this file
+# somewhere on the search path ($HOME/bin is common),
+# and it will be included here, thus can provide "override values"
+# to those defined by defaults for production machine.,
+# such as for vmcmd
+
+source localTestsProperties.shsource 2>/dev/null
+
+echo "PWD: $PWD"
+vmcmd=${vmcmd:-/Library/Java/JavaVirtualMachines/jdk1.7.0_10.jdk/Contents/Home/jre/bin/java}
+
+# production machine is x86_64, but some local setups may be 32 bit and will need to provide
+# this value in localTestsProperties.shsource.
+eclipseArch=${eclipseArch:-x86_64}
+
+# vm.properties is used by default on production machines, but will
+# need to override on local setups to specify appropriate vm (usually same as vmcmd).
+# see bug 388269
+propertyFile=${propertyFile:-vm.properties}
+
+echo "vmcmd in testAll: ${vmcmd}"
+echo "extdir in testAll (if any): ${extdir}"
+echo "propertyFile in testAll: ${propertyFile}"
+
+#execute command to run tests
+/bin/chmod 755 runtestsmac.sh
+/bin/mkdir -p results/consolelogs
+
+if [[ -n "${extdir}" ]]
+then
+./runtestsmac.sh -os macosx -ws cocoa -arch $eclipseArch -extdirprop "${extdir}" -vm "${vmcmd}" -properties ${propertyFile} $* > results/consolelogs/macosx.cocoa.x86_64_7.0_consolelog.txt
+else
+./runtestsmac.sh -os macosx -ws cocoa -arch $eclipseArch -vm "${vmcmd}" -properties ${propertyFile} $* > results/consolelogs/macosx.cocoa.x86_64_7.0_consolelog.txt
+fi
diff --git a/production/testScripts/configuration/sdk.tests/testConfigs/macosx/testing.properties b/production/testScripts/configuration/sdk.tests/testConfigs/macosx/testing.properties
new file mode 100644
index 00000000..85ff4599
--- /dev/null
+++ b/production/testScripts/configuration/sdk.tests/testConfigs/macosx/testing.properties
@@ -0,0 +1,46 @@
+###############################################################################
+# Copyright (c) 2004, 2006 IBM Corporation and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# IBM Corporation - initial API and implementation
+###############################################################################
+#target to call in test.xml: runtests-local | runtests-remote
+testTarget=runtests-hudson
+
+platform=macosx.cocoa.x86_5.0
+
+#directory on test machine where automated testing framework will be installed
+#testDir=${testDir}
+
+#name of zip file containing automated testing framework and JUnit test plug-ins
+testFramework=${testDir}/eclipse-Automated-Tests-${buildId}.zip
+
+#name of runtime to install and test
+runtime=eclipse-SDK-${buildId}-macosx-cocoa.tar.gz
+
+#name of deltaPack to install and test
+runtimeDeltapack=eclipse-${buildId}-delta-pack.zip
+
+#name of Platform runtime to install and test
+runtimePlatform=eclipse-platform-${buildId}-macosx-cocoa.tar.gz
+
+# Not currently used on eclipse.org tests?
+previousRuntimePlatform=eclipse-platform-3.7.1-macosx-cocoa.tar.gz
+
+#directory where test scripts are launched
+executionDir=${testDir}/eclipse-testing
+
+#name of file that captures console output from running JUnit plug-in tests
+consolelog=macosx.cocoa_consolelog.txt
+
+testExecutable=bash
+
+#name of script to execute on remote machine
+testScript=./testAll.sh
+
+#arguments to $(testScript)
+args= \ No newline at end of file
diff --git a/production/testScripts/configuration/sdk.tests/testConfigs/macosx/vm.properties b/production/testScripts/configuration/sdk.tests/testConfigs/macosx/vm.properties
new file mode 100644
index 00000000..8681f08c
--- /dev/null
+++ b/production/testScripts/configuration/sdk.tests/testConfigs/macosx/vm.properties
@@ -0,0 +1,30 @@
+###############################################################################
+# Copyright (c) 2000, 2006 IBM Corporation and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# IBM Corporation - initial API and implementation
+###############################################################################
+platform=macosx.cocoa.x86_5.0
+# J2SE-6.0=/System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java
+J2SE-6.0=/Library/Java/JavaVirtualMachines/jdk1.7.0_10.jdk/Contents/Home/jre/bin/java
+# https://bugs.eclipse.org/bugs/show_bug.cgi?id=392213
+# If this property is set, the actual location and file name
+# is computed at test time, but this is assumed to be the
+# VM argument required to specify that location.
+loglocationarg=-XX:ErrorFile
+
+# currently this variable is "hard coded" to work on Hudson.
+# not required if no proxies to use or bypass
+# TODO: make more sensitive to env. setttings in future so can
+# support tests on non Ecipse Infrastructure
+# If this property is defined, and file exists, the Eclipse infrastructure
+# will copy these "preferences" to
+# ${executionDir}/test-eclipse/eclipse/configuration/.settings/
+# after the test instance of eclipse is installed.
+# It is assumed the file itself gets copied to "execution directory" by
+# runTests2.xml approx. line 488
+org.eclipse.core.net.prefs=org.eclipse.core.net.prefs
diff --git a/production/testScripts/configuration/sdk.tests/testConfigs/rhelws5-6.0/customTest.xml b/production/testScripts/configuration/sdk.tests/testConfigs/rhelws5-6.0/customTest.xml
new file mode 100644
index 00000000..d4002fc5
--- /dev/null
+++ b/production/testScripts/configuration/sdk.tests/testConfigs/rhelws5-6.0/customTest.xml
@@ -0,0 +1,79 @@
+<project name="Customized testing instructions" default="customSetup">
+
+ <target name="customSetup">
+
+ <!--install 1.5 vm for this configuration-->
+ <antcall target="install5.0Vm" />
+
+ <!--install 1.6 vm for this configuration-->
+ <antcall target="install1.6Vm" />
+
+ <!--copy the script which sets up environment and invokes the tests on test machine-->
+ <chmod file="${tester}/testAll.sh" perm="755" />
+ <exec dir="." executable="${copyClient}">
+ <arg line="${tester}/testAll.sh ${testMachine}:${executionDir}" />
+ </exec>
+
+ <!--copy in test script modified for running Team CVS tests-->
+ <exec dir="." executable="${copyClient}">
+ <arg line="${tester}/../../testScripts/test.xml ${testMachine}:${executionDir}" />
+ </exec>
+ <replace file="${tester}/vm.properties" token="@buildid@" value="${buildId}" />
+
+ <!--copy in the properties file for testing with special vm args-->
+ <exec dir="." executable="${copyClient}">
+ <arg line="${tester}/vm.properties ${testMachine}:${executionDir}" />
+ </exec>
+
+ <!--copy in the extra binaries needed to run tests-->
+ <exec dir="." executable="${copyClient}">
+ <arg line="-r ${extraBinariesDir} ${testMachine}:${testDir}" />
+ </exec>
+
+ <!--copy deltapack needed to run pdebuild tests-->
+ <exec dir="." executable="${copyClient}">
+ <arg line="-r ${postingDirectory}/${buildId}/${runtimeDeltapack} ${testMachine}:${executionDir}" />
+ </exec>
+
+ <!--copy platform runtime needed to run p2 tests-->
+ <exec dir="." executable="${copyClient}">
+ <arg line="-r ${postingDirectory}/${buildId}/${runtimePlatform} ${testMachine}:${executionDir}" />
+ </exec>
+
+ <!--copy previous platform runtime needed to run p2 tests-->
+ <exec dir="." executable="${copyClient}">
+ <arg line="-r ${previousPlatformZips}/${previousRuntimePlatform} ${testMachine}:${executionDir}" />
+ </exec>
+
+ <!--copy comparator log so it's accessible via releng tests -->
+ <exec dir="." executable="${copyClient}">
+ <arg line="-r ${buildlogs}/comparatorlog.txt ${testMachine}:${executionDir}" />
+ </exec>
+ </target>
+
+ <target name="install5.0Vm">
+ <property name="testVmTag" value="HEAD" />
+ <!--get and install the vm to test with-->
+ <cvs cvsRoot="${cvsRoot}" command="export -r ${testVmTag} ${vmUrl5}" dest="${tester}" />
+
+ <exec dir="${tester}" executable="${copyClient}">
+ <arg line="${vmUrl5} ${testMachine}:${testDir}" />
+ </exec>
+
+ <exec dir="." executable="${loginClient}">
+ <arg line="${testMachine} ${vmInstallCommand5}" />
+ </exec>
+ </target>
+ <target name="install1.6Vm">
+ <property name="testVmTag" value="HEAD" />
+ <!--get and install the vm to test with-->
+ <cvs cvsRoot="${cvsRoot}" command="export -r ${testVmTag} ${vmUrl6}" dest="${tester}" />
+
+ <exec dir="${tester}" executable="${copyClient}">
+ <arg line="${vmUrl6} ${testMachine}:${testDir}" />
+ </exec>
+ <exec dir="." executable="${loginClient}">
+ <arg line="${testMachine} ${vmInstallCommand6}" />
+ </exec>
+ </target>
+</project>
diff --git a/production/testScripts/configuration/sdk.tests/testConfigs/rhelws5-6.0/testAll.sh b/production/testScripts/configuration/sdk.tests/testConfigs/rhelws5-6.0/testAll.sh
new file mode 100644
index 00000000..07e629fa
--- /dev/null
+++ b/production/testScripts/configuration/sdk.tests/testConfigs/rhelws5-6.0/testAll.sh
@@ -0,0 +1,16 @@
+# !/bin/sh
+cd .
+#environment variables
+PATH=$PATH:`pwd`/../linux;export PATH
+xhost +$HOSTNAME
+MOZILLA_FIVE_HOME=/usr/lib/firefox-1.5.0.12; export MOZILLA_FIVE_HOME
+LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$MOZILLA_FIVE_HOME
+USERNAME=`whoami`
+DISPLAY=$HOSTNAME:0.0
+ulimit -c unlimited
+
+export USERNAME DISPLAY LD_LIBRARY_PATH
+
+#execute command to run tests
+
+./runtests -os linux -ws gtk -arch x86 -vm `pwd`/../jdk6_17/jre/bin/java -properties vm.properties 1> linux.gtk-6.0_consolelog.txt 2>&1
diff --git a/production/testScripts/configuration/sdk.tests/testConfigs/rhelws5-6.0/testing.properties b/production/testScripts/configuration/sdk.tests/testConfigs/rhelws5-6.0/testing.properties
new file mode 100644
index 00000000..2a3eacc3
--- /dev/null
+++ b/production/testScripts/configuration/sdk.tests/testConfigs/rhelws5-6.0/testing.properties
@@ -0,0 +1,78 @@
+###############################################################################
+# Copyright (c) 2004, 2006 IBM Corporation and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# IBM Corporation - initial API and implementation
+###############################################################################
+#target to call in test.xml: runtests-local | runtests-remote
+testTarget=runtests-remote
+
+#directory on test machine where automated testing framework will be installed
+testDir=/buildtest/${buildLabel}
+
+platform=linux-gtk-x86_6.0
+
+#name of zip file containing automated testing framework and JUnit test plug-ins
+testFramework=eclipse-Automated-Tests-${buildId}.zip
+
+#name of runtime to install and test
+runtime=eclipse-SDK-${buildId}-linux-gtk.tar.gz
+
+#name of deltaPack to install and test
+runtimeDeltapack=eclipse-${buildId}-delta-pack.zip
+
+#name of Platform runtime to install and test
+runtimePlatform=eclipse-platform-${buildId}-linux-gtk.tar.gz
+previousRuntimePlatform=eclipse-platform-3.7.1-linux-gtk.tar.gz
+
+#directory where test scripts are launched
+executionDir=${testDir}/eclipse-testing
+
+#name of file that captures console output from running JUnit plug-in tests
+consolelog=linux.gtk-6.0_consolelog.txt
+
+#name of script to execute on remote machine
+testScript=cd ${executionDir};./testAll.sh
+
+#arguments to $(testScript)
+args=${executionDir} linux.gtk-6.0_consolelog.txt
+
+#cvsroot
+cvsRoot=kmoir@ottcvs1:/home/cvs/releng
+
+#name and path to downloaded vm.
+vmDest=jdk-6u17-fcs-bin-b04-linux-i586-11_oct_2009.zip
+
+#URL to vm used to run tests
+vmUrl=jdks/${vmDest}
+
+#command to execute via rsh to install the vm
+vmInstallCommand=cd ${testDir};unzip ${vmDest}
+
+#name and path to downloaded 5.0 vm.
+vmDest6=jdk-6u17-fcs-bin-b04-linux-i586-11_oct_2009.zip
+
+#URL to 5.0 vm used to run JDT Core tests
+vmUrl6=jdks/${vmDest6}
+
+#command to execute via rsh to install the vm
+vmInstallCommand6=cd ${testDir};unzip ${vmDest6}
+
+#name and path to 1.6 vm.
+vmDest6=jdk-6u17-fcs-bin-b04-linux-i586-11_oct_2009.zip
+
+#URL to 1.6 vm used to run jdt core tests
+vmUrl6=jdks/1.6/${vmDest6}
+
+#command to execute via rsh to install the 1.6 vm
+vmInstallCommand6="unzip -o -qq ${testDir}/${vmDest6} -d ${testDir}"
+
+#Ant property to set if default vm installation not required
+skipVmInstall=true
+
+#extra binaries directory relative to testConfigs directory
+extraBinariesDir=${base.builder}/../eclipseInternalBuildTools/bin/linux
diff --git a/production/testScripts/configuration/sdk.tests/testConfigs/rhelws5-6.0/vm.properties b/production/testScripts/configuration/sdk.tests/testConfigs/rhelws5-6.0/vm.properties
new file mode 100644
index 00000000..153a6d2a
--- /dev/null
+++ b/production/testScripts/configuration/sdk.tests/testConfigs/rhelws5-6.0/vm.properties
@@ -0,0 +1,12 @@
+###############################################################################
+# Copyright (c) 2000, 2006 IBM Corporation and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# IBM Corporation - initial API and implementation
+###############################################################################
+platform=linux.gtk.x86_6.0
+J2SE-6.0=/buildtest/@buildid@/jdk6_17/jre/bin/java
diff --git a/production/testScripts/configuration/sdk.tests/testConfigs/rhelws5-perf/customTest.xml b/production/testScripts/configuration/sdk.tests/testConfigs/rhelws5-perf/customTest.xml
new file mode 100644
index 00000000..69a007ad
--- /dev/null
+++ b/production/testScripts/configuration/sdk.tests/testConfigs/rhelws5-perf/customTest.xml
@@ -0,0 +1,85 @@
+<project name="Customized testing instructions" default="customSetup">
+
+ <target name="customSetup">
+ <!--property file containing key value pair for ${eclipse.perf.ref}-->
+ <property file="${ref.properties}" />
+
+ <antcall target="installVm" />
+ <!--copy the script which sets up environment and invokes the tests on test machine-->
+ <chmod file="${tester}/testAll.sh" perm="755" />
+ <exec dir="." executable="${copyClient}">
+ <arg line="${tester}/testAll.sh ${testMachine}:${executionDir}" />
+ </exec>
+
+ <!--copy in test script modified for running Team CVS tests-->
+ <exec dir="." executable="${copyClient}">
+ <arg line="${tester}/../../testScripts/test.xml ${testMachine}:${executionDir}" />
+ </exec>
+
+ <antcall target="replaceBuildId" />
+
+ <replace file="${tester}/vm.properties" token="@buildType@@timestamp@" value="${buildId}" />
+ <replace file="${tester}/vm.properties" token="@reference@" value="${eclipse.perf.ref}" />
+ <replace file="${tester}/vm.properties" token="@testMachine@" value="${testMachine}" />
+
+ <!--copy in the properties file for testing with performance vm args-->
+ <exec dir="." executable="${copyClient}">
+ <arg line="${tester}/vm.properties ${testMachine}:${executionDir}" />
+ </exec>
+
+ <!--add db to junit test zip if it is available-->
+ <available file="${internalPlugins}/org.apache.derby_10.4.2.0" type="dir" property="db.available" />
+ <antcall target="installdb" />
+
+ <!--copy deltapack needed to run pdebuild tests-->
+ <exec dir="." executable="${copyClient}">
+ <arg line="-r ${postingDirectory}/${buildId}/${runtimeDeltapack} ${testMachine}:${executionDir}" />
+ </exec>
+
+ <!--copy platform runtime needed to run p2 tests-->
+ <exec dir="." executable="${copyClient}">
+ <arg line="-r ${postingDirectory}/${buildId}/${runtimePlatform} ${testMachine}:${executionDir}" />
+ </exec>
+
+ <!--copy previous platform runtime needed to run p2 tests-->
+ <exec dir="." executable="${copyClient}">
+ <arg line="-r ${previousPlatformZips}/${previousRuntimePlatform} ${testMachine}:${executionDir}" />
+ </exec>
+
+ <!--copy comparator log so it's accessible via releng tests -->
+ <exec dir="." executable="${copyClient}">
+ <arg line="-r ${buildlogs}/comparatorlog.txt ${testMachine}:${executionDir}" />
+ </exec>
+ </target>
+
+ <target name="installdb" if="db.available">
+ <mkdir dir="${tester}/eclipse/dropins/eclipse/plugins" />
+ <copy todir="${tester}/eclipse/dropins/eclipse/plugins">
+ <fileset dir="${internalPlugins}" includes="org.apache.derby_10.4.2.0/**" />
+ </copy>
+ <exec dir="${tester}" executable="${copyClient}">
+ <arg line="-r eclipse ${testMachine}:${executionDir}" />
+ </exec>
+ </target>
+
+ <target name="replaceBuildId" if="performance.base">
+ <replace file="${tester}/vm.properties" token="@buildType@@timestamp@" value="${testedBuildIdDBLabel}" />
+ </target>
+
+ <target name="installVm">
+ <property name="testVmTag" value="HEAD" />
+ <!--get and install the vm to test with-->
+ <cvs cvsRoot="${cvsRoot}" command="export -r ${testVmTag} ${vmUrl}" dest="${tester}" />
+
+ <exec dir="${tester}" executable="${copyClient}">
+ <arg line="${vmUrl} ${testMachine}:${testDir}" />
+ </exec>
+
+ <exec dir="." executable="${loginClient}">
+ <arg line="${testMachine} ${vmInstallCommand}" />
+ </exec>
+ </target>
+
+
+
+</project> \ No newline at end of file
diff --git a/production/testScripts/configuration/sdk.tests/testConfigs/rhelws5-perf/testAll.sh b/production/testScripts/configuration/sdk.tests/testConfigs/rhelws5-perf/testAll.sh
new file mode 100644
index 00000000..a4d7b9a2
--- /dev/null
+++ b/production/testScripts/configuration/sdk.tests/testConfigs/rhelws5-perf/testAll.sh
@@ -0,0 +1,20 @@
+# !/bin/sh
+cd .
+#environment variables
+PATH=$PATH:`pwd`/../linux;export PATH
+xhost +$HOSTNAME
+MOZILLA_FIVE_HOME=/usr/lib/mozilla-1.7.12;export MOZILLA_FIVE_HOME
+LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$MOZILLA_FIVE_HOME
+USERNAME=`whoami`
+DISPLAY=$HOSTNAME:0.0
+ulimit -c unlimited
+
+export USERNAME DISPLAY LD_LIBRARY_PATH
+
+# add Cloudscape plugin to junit tests zip file
+zip eclipse-junit-tests-$1.zip -rm eclipse
+
+#all tests
+./runtests -os linux -ws gtk -arch x86 -vm `pwd`/../jdk6_17/jre/bin/java -properties vm.properties -Dtest.target=performance -Dplatform=linuxgtkperf2 1> linux.gtk.perf2_consolelog.txt 2>&1
+
+
diff --git a/production/testScripts/configuration/sdk.tests/testConfigs/rhelws5-perf/testing.properties b/production/testScripts/configuration/sdk.tests/testConfigs/rhelws5-perf/testing.properties
new file mode 100644
index 00000000..036b767d
--- /dev/null
+++ b/production/testScripts/configuration/sdk.tests/testConfigs/rhelws5-perf/testing.properties
@@ -0,0 +1,64 @@
+###############################################################################
+# Copyright (c) 2004, 2006 IBM Corporation and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# IBM Corporation - initial API and implementation
+###############################################################################
+#target to call in test.xml: runtests-local | runtests-remote
+testTarget=runtests-remote
+
+#directory on test machine where automated testing framework will be installed
+testDir=/buildtest/${buildLabel}
+
+#name of zip file containing automated testing framework and JUnit test plug-ins
+testFramework=eclipse-Automated-Tests-${buildId}.zip
+
+#name of runtime to install and test
+runtime=eclipse-SDK-${buildId}-linux-gtk.tar.gz
+
+#name of deltaPack to install and test
+runtimeDeltapack=eclipse-${buildId}-delta-pack.zip
+
+#name of Platform runtime to install and test
+runtimePlatform=eclipse-platform-${buildId}-linux-gtk.tar.gz
+previousRuntimePlatform=eclipse-platform-3.7.1-linux-gtk.tar.gz
+
+#directory where test scripts are launched
+executionDir=${testDir}/eclipse-testing
+
+#eclipse platforms: win32 | linux-gtk | hpux-gtk
+platform=linuxgtkperf2
+
+#name of file that captures console output from running JUnit plug-in tests
+consolelog=linux.gtk.perf2_consolelog.txt
+
+#name of script to execute on remote machine
+testScript=cd ${executionDir};./testAll.sh ${buildId}
+
+#arguments to $(testScript)
+args=${executionDir} linux.gtk.perf2_consolelog.txt
+
+#cvsroot
+cvsRoot=kmoir@ottcvs1:/home/cvs/releng
+
+#name and path to downloaded vm.
+vmDest=jdk-6u17-fcs-bin-b04-linux-i586-11_oct_2009.zip
+
+#URL to vm used to run tests
+vmUrl=jdks/1.6/${vmDest}
+
+#command to execute via rsh to install the vm
+vmInstallCommand=cd ${testDir};unzip ${vmDest}
+
+#Ant property to set if default vm installation not required
+skipVmInstall=true
+
+#extra binaries directory relative to testConfigs directory
+extraBinariesDir=${base.builder}/../eclipseInternalBuildTools/bin/linux
+
+#Cloudscape plug-in location
+internalPlugins=${base.builder}/../eclipseInternalBuildTools/plugins
diff --git a/production/testScripts/configuration/sdk.tests/testConfigs/rhelws5-perf/vm.properties b/production/testScripts/configuration/sdk.tests/testConfigs/rhelws5-perf/vm.properties
new file mode 100644
index 00000000..51299d9c
--- /dev/null
+++ b/production/testScripts/configuration/sdk.tests/testConfigs/rhelws5-perf/vm.properties
@@ -0,0 +1,11 @@
+###############################################################################
+# Copyright (c) 2000, 2006 IBM Corporation and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# IBM Corporation - initial API and implementation
+###############################################################################
+extraVMargs=-Declipse.perf.dbloc=net://minsky.ottawa.ibm.com:1528;dbname=perfDb38 -Declipse.perf.config=config=@testMachine@;build=@buildType@@timestamp@;jvm=sun -Declipse.perf.assertAgainst=config=@testMachine@;build=@reference@;jvm=sun
diff --git a/production/testScripts/configuration/sdk.tests/testConfigs/sled10-perf/customTest.xml b/production/testScripts/configuration/sdk.tests/testConfigs/sled10-perf/customTest.xml
new file mode 100644
index 00000000..69a007ad
--- /dev/null
+++ b/production/testScripts/configuration/sdk.tests/testConfigs/sled10-perf/customTest.xml
@@ -0,0 +1,85 @@
+<project name="Customized testing instructions" default="customSetup">
+
+ <target name="customSetup">
+ <!--property file containing key value pair for ${eclipse.perf.ref}-->
+ <property file="${ref.properties}" />
+
+ <antcall target="installVm" />
+ <!--copy the script which sets up environment and invokes the tests on test machine-->
+ <chmod file="${tester}/testAll.sh" perm="755" />
+ <exec dir="." executable="${copyClient}">
+ <arg line="${tester}/testAll.sh ${testMachine}:${executionDir}" />
+ </exec>
+
+ <!--copy in test script modified for running Team CVS tests-->
+ <exec dir="." executable="${copyClient}">
+ <arg line="${tester}/../../testScripts/test.xml ${testMachine}:${executionDir}" />
+ </exec>
+
+ <antcall target="replaceBuildId" />
+
+ <replace file="${tester}/vm.properties" token="@buildType@@timestamp@" value="${buildId}" />
+ <replace file="${tester}/vm.properties" token="@reference@" value="${eclipse.perf.ref}" />
+ <replace file="${tester}/vm.properties" token="@testMachine@" value="${testMachine}" />
+
+ <!--copy in the properties file for testing with performance vm args-->
+ <exec dir="." executable="${copyClient}">
+ <arg line="${tester}/vm.properties ${testMachine}:${executionDir}" />
+ </exec>
+
+ <!--add db to junit test zip if it is available-->
+ <available file="${internalPlugins}/org.apache.derby_10.4.2.0" type="dir" property="db.available" />
+ <antcall target="installdb" />
+
+ <!--copy deltapack needed to run pdebuild tests-->
+ <exec dir="." executable="${copyClient}">
+ <arg line="-r ${postingDirectory}/${buildId}/${runtimeDeltapack} ${testMachine}:${executionDir}" />
+ </exec>
+
+ <!--copy platform runtime needed to run p2 tests-->
+ <exec dir="." executable="${copyClient}">
+ <arg line="-r ${postingDirectory}/${buildId}/${runtimePlatform} ${testMachine}:${executionDir}" />
+ </exec>
+
+ <!--copy previous platform runtime needed to run p2 tests-->
+ <exec dir="." executable="${copyClient}">
+ <arg line="-r ${previousPlatformZips}/${previousRuntimePlatform} ${testMachine}:${executionDir}" />
+ </exec>
+
+ <!--copy comparator log so it's accessible via releng tests -->
+ <exec dir="." executable="${copyClient}">
+ <arg line="-r ${buildlogs}/comparatorlog.txt ${testMachine}:${executionDir}" />
+ </exec>
+ </target>
+
+ <target name="installdb" if="db.available">
+ <mkdir dir="${tester}/eclipse/dropins/eclipse/plugins" />
+ <copy todir="${tester}/eclipse/dropins/eclipse/plugins">
+ <fileset dir="${internalPlugins}" includes="org.apache.derby_10.4.2.0/**" />
+ </copy>
+ <exec dir="${tester}" executable="${copyClient}">
+ <arg line="-r eclipse ${testMachine}:${executionDir}" />
+ </exec>
+ </target>
+
+ <target name="replaceBuildId" if="performance.base">
+ <replace file="${tester}/vm.properties" token="@buildType@@timestamp@" value="${testedBuildIdDBLabel}" />
+ </target>
+
+ <target name="installVm">
+ <property name="testVmTag" value="HEAD" />
+ <!--get and install the vm to test with-->
+ <cvs cvsRoot="${cvsRoot}" command="export -r ${testVmTag} ${vmUrl}" dest="${tester}" />
+
+ <exec dir="${tester}" executable="${copyClient}">
+ <arg line="${vmUrl} ${testMachine}:${testDir}" />
+ </exec>
+
+ <exec dir="." executable="${loginClient}">
+ <arg line="${testMachine} ${vmInstallCommand}" />
+ </exec>
+ </target>
+
+
+
+</project> \ No newline at end of file
diff --git a/production/testScripts/configuration/sdk.tests/testConfigs/sled10-perf/testAll.sh b/production/testScripts/configuration/sdk.tests/testConfigs/sled10-perf/testAll.sh
new file mode 100644
index 00000000..88b2808a
--- /dev/null
+++ b/production/testScripts/configuration/sdk.tests/testConfigs/sled10-perf/testAll.sh
@@ -0,0 +1,20 @@
+# !/bin/sh
+cd .
+#environment variables
+PATH=$PATH:`pwd`/../linux;export PATH
+xhost +$HOSTNAME
+MOZILLA_FIVE_HOME=/usr/lib/mozilla-1.7.12;export MOZILLA_FIVE_HOME
+LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$MOZILLA_FIVE_HOME
+USERNAME=`whoami`
+DISPLAY=$HOSTNAME:0.0
+ulimit -c unlimited
+
+export USERNAME DISPLAY LD_LIBRARY_PATH
+
+# add Cloudscape plugin to junit tests zip file
+zip eclipse-junit-tests-$1.zip -rm eclipse
+
+#all tests
+./runtests -os linux -ws gtk -arch x86 -vm `pwd`/../jdk6_17/jre/bin/java -properties vm.properties -Dtest.target=performance -Dplatform=linuxgtkperf1 1> linux.gtk.perf1_consolelog.txt 2>&1
+
+
diff --git a/production/testScripts/configuration/sdk.tests/testConfigs/sled10-perf/testing.properties b/production/testScripts/configuration/sdk.tests/testConfigs/sled10-perf/testing.properties
new file mode 100644
index 00000000..945baa0e
--- /dev/null
+++ b/production/testScripts/configuration/sdk.tests/testConfigs/sled10-perf/testing.properties
@@ -0,0 +1,64 @@
+###############################################################################
+# Copyright (c) 2004, 2006 IBM Corporation and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# IBM Corporation - initial API and implementation
+###############################################################################
+#target to call in test.xml: runtests-local | runtests-remote
+testTarget=runtests-remote
+
+#directory on test machine where automated testing framework will be installed
+testDir=/buildtest/${buildLabel}
+
+#name of zip file containing automated testing framework and JUnit test plug-ins
+testFramework=eclipse-Automated-Tests-${buildId}.zip
+
+#name of runtime to install and test
+runtime=eclipse-SDK-${buildId}-linux-gtk.tar.gz
+
+#name of deltaPack to install and test
+runtimeDeltapack=eclipse-${buildId}-delta-pack.zip
+
+#name of Platform runtime to install and test
+runtimePlatform=eclipse-platform-${buildId}-linux-gtk.tar.gz
+previousRuntimePlatform=eclipse-platform-3.7.1-linux-gtk.tar.gz
+
+#directory where test scripts are launched
+executionDir=${testDir}/eclipse-testing
+
+#eclipse platforms: win32 | linux-gtk | hpux-gtk
+platform=linuxgtkperf1
+
+#name of file that captures console output from running JUnit plug-in tests
+consolelog=linux.gtk.perf1_consolelog.txt
+
+#name of script to execute on remote machine
+testScript=cd ${executionDir};./testAll.sh ${buildId}
+
+#arguments to $(testScript)
+args=${executionDir} linux.gtk.perf1_consolelog.txt
+
+#cvsroot
+cvsRoot=kmoir@ottcvs1:/home/cvs/releng
+
+#name and path to downloaded vm.
+vmDest=jdk-6u17-fcs-bin-b04-linux-i586-11_oct_2009.zip
+
+#URL to vm used to run tests
+vmUrl=jdks/1.6/${vmDest}
+
+#command to execute via rsh to install the vm
+vmInstallCommand=cd ${testDir};unzip ${vmDest}
+
+#Ant property to set if default vm installation not required
+skipVmInstall=true
+
+#extra binaries directory relative to testConfigs directory
+extraBinariesDir=${base.builder}/../eclipseInternalBuildTools/bin/linux
+
+#Cloudscape plug-in location
+internalPlugins=${base.builder}/../eclipseInternalBuildTools/plugins
diff --git a/production/testScripts/configuration/sdk.tests/testConfigs/sled10-perf/vm.properties b/production/testScripts/configuration/sdk.tests/testConfigs/sled10-perf/vm.properties
new file mode 100644
index 00000000..51299d9c
--- /dev/null
+++ b/production/testScripts/configuration/sdk.tests/testConfigs/sled10-perf/vm.properties
@@ -0,0 +1,11 @@
+###############################################################################
+# Copyright (c) 2000, 2006 IBM Corporation and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# IBM Corporation - initial API and implementation
+###############################################################################
+extraVMargs=-Declipse.perf.dbloc=net://minsky.ottawa.ibm.com:1528;dbname=perfDb38 -Declipse.perf.config=config=@testMachine@;build=@buildType@@timestamp@;jvm=sun -Declipse.perf.assertAgainst=config=@testMachine@;build=@reference@;jvm=sun
diff --git a/production/testScripts/configuration/sdk.tests/testConfigs/testAll.xml b/production/testScripts/configuration/sdk.tests/testConfigs/testAll.xml
new file mode 100644
index 00000000..e7c9061c
--- /dev/null
+++ b/production/testScripts/configuration/sdk.tests/testConfigs/testAll.xml
@@ -0,0 +1,93 @@
+<project name="Eclipse Test Configuration" default="JUnitTests" basedir=".">
+
+ <!--
+ Ant properties for buildId, buildLabel, timestamp and buildDirectory must be set before running this script.
+ -->
+ <!--A directory to look in for markers created from other running builds.-->
+ <!-- TODO: we may need to change this to a "real" value on build.eclipse.org? instead of /home/users/releng/buildTools/markers -->
+ <!-- some of the java code in tests seems to depend on it?
+ <property name="markerContainer" value="/home/users/releng/buildTools/markers" />
+ -->
+ <property name="markerContainer" value="${basedir}/markers" />
+ <property name="cfg" value="${basedir}/machine.cfg" />
+ <property name="test.xml" value="${base.builder}/plugins/org.eclipse.build.tools/scripts/test.xml" />
+
+ <target name="test">
+ <!--TODO find a way to queue requests-->
+ <findMachine cfg="${cfg}" markerContainer="${markerContainer}" cfgKey="${cfgKey}" markerName="${markerName}" waitInterval="30" />
+
+ <!--The result of the findMachine task is a .marker files
+ with a key-value pair identifying which machine has been assigned for testing.
+ The ${testMachine} property value is then used in the ${test.xml} script.
+ The marker is also used by other builds that use <findMachine> to signal that the
+ specified test machine is in use.-->
+ <property file="${markerContainer}/${markerName}.marker" />
+ <property name="testMachine" value="${0}" />
+
+ <!--A sleep in included here to avoid network timeouts if this target is called multiple times in parallel tasks.
+ Default overidden by setting in calling targets.-->
+ <property name="sleep" value="0" />
+ <sleep seconds="${sleep}" />
+
+ <!--Run all tests on the test machine-->
+ <ant antfile="${test.xml}" />
+
+ <!--Delete the marker to free up the host to run other tests.-->
+ <delete file="${markerContainer}/${markerName}.marker" />
+ </target>
+
+ <target name="JUnitTests">
+ <parallel>
+ <antcall target="test">
+ <param name="tester" value="${basedir}/macosx" />
+ <param name="cfgKey" value="macosx" />
+ <param name="markerName" value="eclipse-macosx-${buildId}" />
+ </antcall>
+ <antcall target="test">
+ <param name="tester" value="${basedir}/rhelws5-6.0" />
+ <param name="cfgKey" value="rhelws5-6.0" />
+ <param name="markerName" value="eclipse-rhelws5-6.0-${buildId}" />
+ </antcall>
+ <antcall target="test">
+ <param name="tester" value="${basedir}/win32xp-7.0" />
+ <param name="cfgKey" value="win32xp-7.0" />
+ <param name="markerName" value="eclipse-win32xp-7.0-${buildId}" />
+ </antcall>
+ </parallel>
+ </target>
+
+ <target name="performanceTests">
+
+ <condition property="internalPlugins" value="../../../eclipsePerformanceBuildTools/plugins">
+ <isset property="performance.base" />
+ </condition>
+
+ <property name="testResults" value="${postingDirectory}/${buildLabel}/performance" />
+ <mkdir dir="${testResults}" />
+
+ <parallel>
+ <antcall target="test">
+ <param name="tester" value="${basedir}/win32xp-perf" />
+ <param name="cfgKey" value="win32xp-perf" />
+ <param name="markerName" value="eclipse-win32xp-perf-${buildId}" />
+ </antcall>
+ <antcall target="test">
+ <param name="tester" value="${basedir}/win32xp2-perf" />
+ <param name="cfgKey" value="win32xp2-perf" />
+ <param name="markerName" value="eclipse-win32xp2-perf-${buildId}" />
+ </antcall>
+ <antcall target="test">
+ <param name="tester" value="${basedir}/rhelws5-perf" />
+ <param name="sleep" value="120" />
+ <param name="cfgKey" value="rhelws5-perf" />
+ <param name="markerName" value="eclipse-rhelws5-perf-${buildId}" />
+ </antcall>
+ <antcall target="test">
+ <param name="tester" value="${basedir}/sled10-perf" />
+ <param name="sleep" value="300" />
+ <param name="cfgKey" value="sled10-perf" />
+ <param name="markerName" value="eclipse-sled10-perf-${buildId}" />
+ </antcall>
+ </parallel>
+ </target>
+</project> \ No newline at end of file
diff --git a/production/testScripts/configuration/sdk.tests/testConfigs/win32xp-7.0/customTest.xml b/production/testScripts/configuration/sdk.tests/testConfigs/win32xp-7.0/customTest.xml
new file mode 100644
index 00000000..d1716c09
--- /dev/null
+++ b/production/testScripts/configuration/sdk.tests/testConfigs/win32xp-7.0/customTest.xml
@@ -0,0 +1,60 @@
+<project name="Customized testing instructions" default="customSetup">
+
+ <target name="customSetup">
+ <!--install 5.0 vm -->
+ <antcall target="install7.0Vm" />
+
+ <!--copy the script which sets up environment and invokes the tests on test machine-->
+ <exec dir="." executable="${copyClient}">
+ <arg line="${tester}/testAll.bat ${testMachine}:${executionDir}" />
+ </exec>
+
+ <!--copy in test script modified for running Team CVS tests-->
+ <exec dir="." executable="${copyClient}">
+ <arg line="${tester}/../../testScripts/test.xml ${testMachine}:${executionDir}" />
+ </exec>
+
+ <!--copy in the properties file for testing with J9 vm args-->
+ <exec dir="." executable="${copyClient}">
+ <arg line="${tester}/vm.properties ${testMachine}:${executionDir}" />
+ </exec>
+
+ <!--copy in the extra binaries needed to run tests-->
+ <exec dir="." executable="${copyClient}">
+ <arg line="-r ${extraBinariesDir} ${testMachine}:${testDir}" />
+ </exec>
+
+ <!--copy deltapack needed to run pdebuild tests-->
+ <exec dir="." executable="${copyClient}">
+ <arg line="-r ${postingDirectory}/${buildId}/${runtimeDeltapack} ${testMachine}:${executionDir}" />
+ </exec>
+
+ <!--copy platform runtime needed to run p2 tests-->
+ <exec dir="." executable="${copyClient}">
+ <arg line="-r ${postingDirectory}/${buildId}/${runtimePlatform} ${testMachine}:${executionDir}" />
+ </exec>
+
+ <!--copy previous platform runtime needed to run p2 tests-->
+ <exec dir="." executable="${copyClient}">
+ <arg line="-r ${previousPlatformZips}/${previousRuntimePlatform} ${testMachine}:${executionDir}" />
+ </exec>
+
+ <!--copy comparator log so it's accessible via releng tests -->
+ <exec dir="." executable="${copyClient}">
+ <arg line="-r ${buildlogs}/comparatorlog.txt ${testMachine}:${executionDir}" />
+ </exec>
+ </target>
+
+ <target name="install7.0Vm">
+ <property name="testVmTag" value="HEAD" />
+ <!--get and install the vm to test with-->
+ <cvs cvsRoot="${cvsRoot}" command="export -r ${testVmTag} ${vmUrl7}" dest="${tester}" />
+
+ <exec dir="${tester}" executable="${copyClient}">
+ <arg line="${vmUrl7} ${testMachine}:${testDir}" />
+ </exec>
+ <exec dir="." executable="${loginClient}">
+ <arg line="${testMachine} ${vmInstallCommand7}" />
+ </exec>
+ </target>
+</project> \ No newline at end of file
diff --git a/production/testScripts/configuration/sdk.tests/testConfigs/win32xp-7.0/testAll.bat b/production/testScripts/configuration/sdk.tests/testConfigs/win32xp-7.0/testAll.bat
new file mode 100644
index 00000000..6ac90506
--- /dev/null
+++ b/production/testScripts/configuration/sdk.tests/testConfigs/win32xp-7.0/testAll.bat
@@ -0,0 +1,11 @@
+@echo off
+cd %1
+REM test script
+
+REM add the extra binaries to the system path
+set PATH=%PATH%;%1\..\windowsBin
+
+REM run all tests
+call runtests.bat -vm %cd%\..\jdk7_02\jdk1.7.0_02\jre\bin\javaw -properties vm.properties 1> %2 2>&1
+
+exit \ No newline at end of file
diff --git a/production/testScripts/configuration/sdk.tests/testConfigs/win32xp-7.0/testing.properties b/production/testScripts/configuration/sdk.tests/testConfigs/win32xp-7.0/testing.properties
new file mode 100644
index 00000000..a21fd4f3
--- /dev/null
+++ b/production/testScripts/configuration/sdk.tests/testConfigs/win32xp-7.0/testing.properties
@@ -0,0 +1,71 @@
+###############################################################################
+# Copyright (c) 2004, 2012 IBM Corporation and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# IBM Corporation - initial API and implementation
+###############################################################################
+#target to call in test.xml: runtests-local | runtests-remote
+testTarget=runtests-remote
+
+#use rsh as protocol for login and copying files.
+rsh=true
+
+platform=win32-win32-x86_7.0
+
+#directory on test machine where automated testing framework will be installed
+testDir=c:\\buildtest\\${buildLabel}
+
+#name of zip file containing automated testing framework and JUnit test plug-ins
+testFramework=eclipse-Automated-Tests-${buildId}.zip
+
+#name of runtime to install and test
+runtime=eclipse-SDK-${buildId}-win32.zip
+
+#name of deltaPack to install and test
+runtimeDeltapack=eclipse-${buildId}-delta-pack.zip
+
+#name of Platform runtime to install and test
+runtimePlatform=eclipse-platform-${buildId}-win32.zip
+previousRuntimePlatform=eclipse-platform-3.7.1-win32.zip
+
+#directory where test scripts are launched
+executionDir=${testDir}\\eclipse-testing
+
+#name of file that captures console output from running JUnit plug-in tests
+consolelog=win32-7.0_consolelog.txt
+
+#name of script to execute on remote machine
+testScript=start /min /wait ${executionDir}\\testAll.bat
+
+#arguments to $(testScript)
+args=${executionDir} win32-7.0_consolelog.txt
+
+cvsRoot=kmoir@ottcvs1:/home/cvs/releng
+
+#name and path to downloaded vm.
+vmDest=jdk-7u2-fcs-bin-b13-windows-i586-17_nov_2011.zip
+
+#URL to vm used to run tests
+vmUrl=jdks/1.7/${vmDest}
+
+#command to execute via rsh to install the vm
+vmInstallCommand="unzip -o -qq ${testDir}\\${vmDest} -d ${testDir}"
+
+#name and path to 5.0 vm.
+vmDest7=jdk-7u2-fcs-bin-b13-windows-i586-17_nov_2011.zip
+
+#URL to 5.0 vm used to run jdt core tests
+vmUrl7=jdks/1.7/${vmDest7}
+
+#command to execute via rsh to install the 5.0 vm
+vmInstallCommand7="unzip -o -qq ${testDir}\\${vmDest7} -d ${testDir}"
+
+#Ant property to set default vm installation
+skipVmInstall=true
+
+#extra binaries directory relative to testConfigs directory
+extraBinariesDir=${base.builder}/../eclipseInternalBuildTools/bin/windowsBin
diff --git a/production/testScripts/configuration/sdk.tests/testConfigs/win32xp-7.0/vm.properties b/production/testScripts/configuration/sdk.tests/testConfigs/win32xp-7.0/vm.properties
new file mode 100644
index 00000000..cd7fd2ab
--- /dev/null
+++ b/production/testScripts/configuration/sdk.tests/testConfigs/win32xp-7.0/vm.properties
@@ -0,0 +1,11 @@
+###############################################################################
+# Copyright (c) 2000, 2006 IBM Corporation and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# IBM Corporation - initial API and implementation
+###############################################################################
+platform=win32.win32.x86_7.0 \ No newline at end of file
diff --git a/production/testScripts/configuration/sdk.tests/testConfigs/win32xp-perf/customTest.xml b/production/testScripts/configuration/sdk.tests/testConfigs/win32xp-perf/customTest.xml
new file mode 100644
index 00000000..745d71b5
--- /dev/null
+++ b/production/testScripts/configuration/sdk.tests/testConfigs/win32xp-perf/customTest.xml
@@ -0,0 +1,81 @@
+
+<project name="Customized testing instructions" default="customSetup">
+
+ <target name="customSetup">
+ <!--property file containing key value pair for ${eclipse.perf.ref}-->
+ <property file="${ref.properties}" />
+
+ <antcall target="installVm" />
+ <!--copy the script which sets up environment and invokes the tests on test machine-->
+ <exec dir="." executable="${copyClient}">
+ <arg line="${tester}/testAll.bat ${testMachine}:${executionDir}" />
+ </exec>
+
+ <!--copy in test script modified for running Team CVS tests-->
+ <exec dir="." executable="${copyClient}">
+ <arg line="${tester}/../../testScripts/test.xml ${testMachine}:${executionDir}" />
+ </exec>
+
+ <antcall target="replaceBuildId" />
+
+ <replace file="${tester}/vm.properties" token="@buildType@@timestamp@" value="${buildId}" />
+ <replace file="${tester}/vm.properties" token="@reference@" value="${eclipse.perf.ref}" />
+ <replace file="${tester}/vm.properties" token="@testMachine@" value="${testMachine}" />
+
+ <!--copy in the properties file for testing with performance vm args-->
+ <exec dir="." executable="${copyClient}">
+ <arg line="${tester}/vm.properties ${testMachine}:${executionDir}" />
+ </exec>
+
+ <!--add Cloudscape to junit test zip if it is available-->
+ <available file="${internalPlugins}/org.apache.derby_10.4.2.0" type="dir" property="db.available" />
+ <antcall target="installdb" />
+
+ <!--copy deltapack needed to run pdebuild tests-->
+ <exec dir="." executable="${copyClient}">
+ <arg line="-r ${postingDirectory}/${buildId}/${runtimeDeltapack} ${testMachine}:${executionDir}" />
+ </exec>
+
+ <!--copy platform runtime needed to run p2 tests-->
+ <exec dir="." executable="${copyClient}">
+ <arg line="-r ${postingDirectory}/${buildId}/${runtimePlatform} ${testMachine}:${executionDir}" />
+ </exec>
+
+ <!--copy previous platform runtime needed to run p2 tests-->
+ <exec dir="." executable="${copyClient}">
+ <arg line="-r ${previousPlatformZips}/${previousRuntimePlatform} ${testMachine}:${executionDir}" />
+ </exec>
+
+ <!--copy comparator log so it's accessible via releng tests -->
+ <exec dir="." executable="${copyClient}">
+ <arg line="-r ${buildlogs}/comparatorlog.txt ${testMachine}:${executionDir}" />
+ </exec>
+ </target>
+
+ <target name="installdb" if="db.available">
+ <mkdir dir="${tester}/eclipse/dropins/eclipse/plugins" />
+ <copy todir="${tester}/eclipse/dropins/eclipse/plugins">
+ <fileset dir="${internalPlugins}" includes="org.apache.derby_10.4.2.0/**" />
+ </copy>
+ <exec dir="${tester}" executable="${copyClient}">
+ <arg line="-r eclipse ${testMachine}:${executionDir}" />
+ </exec>
+ </target>
+
+ <target name="replaceBuildId" if="performance.base">
+ <replace file="${tester}/vm.properties" token="@buildType@@timestamp@" value="${testedBuildIdDBLabel}" />
+ </target>
+
+ <target name="installVm">
+ <property name="testVmTag" value="HEAD" />
+ <!--get and install the vm to test with-->
+ <cvs cvsRoot="${cvsRoot}" command="export -r ${testVmTag} ${vmUrl}" dest="${tester}" />
+
+ <exec dir="${tester}" executable="${copyClient}">
+ <arg line="${vmUrl} ${testMachine}:${testDir}" />
+ </exec>
+ <exec dir="." executable="${loginClient}">
+ <arg line="${testMachine} ${vmInstallCommand}" />
+ </exec>
+ </target>
+</project> \ No newline at end of file
diff --git a/production/testScripts/configuration/sdk.tests/testConfigs/win32xp-perf/testAll.bat b/production/testScripts/configuration/sdk.tests/testConfigs/win32xp-perf/testAll.bat
new file mode 100644
index 00000000..8d6c2af7
--- /dev/null
+++ b/production/testScripts/configuration/sdk.tests/testConfigs/win32xp-perf/testAll.bat
@@ -0,0 +1,12 @@
+@echo off
+cd %1
+REM test script
+
+mkdir results
+
+REM add Cloudscape plugin to junit tests zip file
+zip eclipse-junit-tests-%3%.zip -rm eclipse
+
+REM run all tests
+call runtests.bat -vm %cd%\..\jdk6_17\jre\bin\javaw -properties vm.properties "-Dtest.target=performance" "-Dplatform=win32perf1" 1> %2 2>&1
+exit \ No newline at end of file
diff --git a/production/testScripts/configuration/sdk.tests/testConfigs/win32xp-perf/testing.properties b/production/testScripts/configuration/sdk.tests/testConfigs/win32xp-perf/testing.properties
new file mode 100644
index 00000000..601fb38e
--- /dev/null
+++ b/production/testScripts/configuration/sdk.tests/testConfigs/win32xp-perf/testing.properties
@@ -0,0 +1,76 @@
+###############################################################################
+# Copyright (c) 2004, 2006 IBM Corporation and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# IBM Corporation - initial API and implementation
+###############################################################################
+#target to call in test.xml: runtests-local | runtests-remote
+testTarget=runtests-remote
+
+#use rsh as protocol for login and copying files.
+rsh=true
+
+#directory on test machine where automated testing framework will be installed
+testDir=c:\\buildtest\\${buildLabel}
+
+#name of zip file containing automated testing framework and JUnit test plug-ins
+testFramework=eclipse-Automated-Tests-${buildId}.zip
+
+#name of runtime to install and test
+runtime=eclipse-SDK-${buildId}-win32.zip
+
+#name of deltaPack to install and test
+runtimeDeltapack=eclipse-${buildId}-delta-pack.zip
+
+#name of Platform runtime to install and test
+runtimePlatform=eclipse-platform-${buildId}-win32.zip
+previousRuntimePlatform=eclipse-platform-3.7.1-win32.zip
+
+#directory where test scripts are launched
+executionDir=${testDir}\\eclipse-testing
+
+#eclipse platforms: win32 | linux-gtk | hpux-gtk
+platform=win32perf1
+
+#name of file that captures console output from running JUnit plug-in tests
+consolelog=winxp.perf1_consolelog.txt
+
+#name of script to execute on remote machine
+testScript=start /min /wait ${executionDir}\\testAll.bat
+
+#arguments to $(testScript)
+args=${executionDir} winxp.perf1_consolelog.txt ${buildId}
+
+#name and path to downloaded vm.
+vmDest=jdk-6u17-fcs-bin-b04-windows-i586-11_oct_2009.zip
+
+#cvsroot
+cvsRoot=kmoir@ottcvs1:/home/cvs/releng
+
+#URL to vm used to run tests
+vmUrl=jdks/1.6/${vmDest}
+
+#command to execute via rsh to install the vm
+vmInstallCommand="unzip -o -qq ${testDir}\\${vmDest} -d ${testDir}"
+
+#name and path to 5.0 vm.
+vmDest6=jdk-6u17-fcs-bin-b04-windows-i586-11_oct_2009.zip
+
+#URL to 5.0 vm used to run jdt core tests
+vmUrl6=jdks/1.6/${vmDest6}
+
+#command to execute via rsh to install the 5.0 vm
+vmInstallCommand6="unzip -o -qq ${testDir}\\${vmDest6} -d ${testDir}"
+
+#Ant property to set default vm installation
+skipVmInstall=true
+
+#extra binaries directory relative to testConfigs directory
+extraBinariesDir=${base.builder}/../eclipseInternalBuildTools/bin/windowsBin
+
+#Cloudscape plug-in location
+internalPlugins=${base.builder}/../eclipseInternalBuildTools/plugins
diff --git a/production/testScripts/configuration/sdk.tests/testConfigs/win32xp-perf/vm.properties b/production/testScripts/configuration/sdk.tests/testConfigs/win32xp-perf/vm.properties
new file mode 100644
index 00000000..51299d9c
--- /dev/null
+++ b/production/testScripts/configuration/sdk.tests/testConfigs/win32xp-perf/vm.properties
@@ -0,0 +1,11 @@
+###############################################################################
+# Copyright (c) 2000, 2006 IBM Corporation and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# IBM Corporation - initial API and implementation
+###############################################################################
+extraVMargs=-Declipse.perf.dbloc=net://minsky.ottawa.ibm.com:1528;dbname=perfDb38 -Declipse.perf.config=config=@testMachine@;build=@buildType@@timestamp@;jvm=sun -Declipse.perf.assertAgainst=config=@testMachine@;build=@reference@;jvm=sun
diff --git a/production/testScripts/configuration/sdk.tests/testConfigs/win32xp2-perf/customTest.xml b/production/testScripts/configuration/sdk.tests/testConfigs/win32xp2-perf/customTest.xml
new file mode 100644
index 00000000..3313b040
--- /dev/null
+++ b/production/testScripts/configuration/sdk.tests/testConfigs/win32xp2-perf/customTest.xml
@@ -0,0 +1,94 @@
+
+<project name="Customized testing instructions" default="customSetup">
+
+ <target name="customSetup">
+ <!--property file containing key value pair for ${eclipse.perf.ref}-->
+ <property file="${ref.properties}" />
+
+ <antcall target="install6.0Vm" />
+ <!--copy the script which sets up environment and invokes the tests on test machine-->
+ <exec dir="." executable="${copyClient}">
+ <arg line="${tester}/testAll.bat ${testMachine}:${executionDir}" />
+ </exec>
+
+ <!--copy in test script modified for running Team CVS tests-->
+ <exec dir="." executable="${copyClient}">
+ <arg line="${tester}/../../testScripts/test.xml ${testMachine}:${executionDir}" />
+ </exec>
+
+ <antcall target="replaceBuildId" />
+
+ <replace file="${tester}/vm.properties" token="@buildType@@timestamp@" value="${buildId}" />
+ <replace file="${tester}/vm.properties" token="@reference@" value="${eclipse.perf.ref}" />
+ <replace file="${tester}/vm.properties" token="@testMachine@" value="${testMachine}" />
+
+ <!--copy in the properties file for testing with performance vm args-->
+ <exec dir="." executable="${copyClient}">
+ <arg line="${tester}/vm.properties ${testMachine}:${executionDir}" />
+ </exec>
+
+ <!--add Cloudscape to junit test zip if it is available-->
+ <available file="${internalPlugins}/org.apache.derby_10.4.2.0" type="dir" property="db.available" />
+ <antcall target="installdb" />
+
+ <!--copy deltapack needed to run pdebuild tests-->
+ <exec dir="." executable="${copyClient}">
+ <arg line="-r ${postingDirectory}/${buildId}/${runtimeDeltapack} ${testMachine}:${executionDir}" />
+ </exec>
+
+ <!--copy platform runtime needed to run p2 tests-->
+ <exec dir="." executable="${copyClient}">
+ <arg line="-r ${postingDirectory}/${buildId}/${runtimePlatform} ${testMachine}:${executionDir}" />
+ </exec>
+
+ <!--copy previous platform runtime needed to run p2 tests-->
+ <exec dir="." executable="${copyClient}">
+ <arg line="-r ${previousPlatformZips}/${previousRuntimePlatform} ${testMachine}:${executionDir}" />
+ </exec>
+
+ <!--copy comparator log so it's accessible via releng tests -->
+ <exec dir="." executable="${copyClient}">
+ <arg line="-r ${buildlogs}/comparatorlog.txt ${testMachine}:${executionDir}" />
+ </exec>
+ </target>
+
+ <target name="installdb" if="db.available">
+ <mkdir dir="${tester}/eclipse/dropins/eclipse/plugins" />
+ <copy todir="${tester}/eclipse/dropins/eclipse/plugins">
+ <fileset dir="${internalPlugins}" includes="org.apache.derby_10.4.2.0/**" />
+ </copy>
+ <exec dir="${tester}" executable="${copyClient}">
+ <arg line="-r eclipse ${testMachine}:${executionDir}" />
+ </exec>
+ </target>
+
+ <target name="replaceBuildId" if="performance.base">
+ <replace file="${tester}/vm.properties" token="@buildType@@timestamp@" value="${testedBuildIdDBLabel}" />
+ </target>
+
+ <target name="installVm">
+ <property name="testVmTag" value="HEAD" />
+ <!--get and install the vm to test with-->
+ <cvs cvsRoot="${cvsRoot}" command="export -r ${testVmTag} ${vmUrl}" dest="${tester}" />
+
+ <exec dir="${tester}" executable="${copyClient}">
+ <arg line="${vmUrl} ${testMachine}:${testDir}" />
+ </exec>
+ <exec dir="." executable="${loginClient}">
+ <arg line="${testMachine} ${vmInstallCommand}" />
+ </exec>
+ </target>
+
+ <target name="install6.0Vm">
+ <property name="testVmTag" value="HEAD" />
+ <!--get and install the vm to test with-->
+ <cvs cvsRoot="${cvsRoot}" command="export -r ${testVmTag} ${vmUrl6}" dest="${tester}" />
+
+ <exec dir="${tester}" executable="${copyClient}">
+ <arg line="${vmUrl6} ${testMachine}:${testDir}" />
+ </exec>
+ <exec dir="." executable="${loginClient}">
+ <arg line="${testMachine} ${vmInstallCommand6}" />
+ </exec>
+ </target>
+</project> \ No newline at end of file
diff --git a/production/testScripts/configuration/sdk.tests/testConfigs/win32xp2-perf/testAll.bat b/production/testScripts/configuration/sdk.tests/testConfigs/win32xp2-perf/testAll.bat
new file mode 100644
index 00000000..6315efb3
--- /dev/null
+++ b/production/testScripts/configuration/sdk.tests/testConfigs/win32xp2-perf/testAll.bat
@@ -0,0 +1,12 @@
+@echo off
+cd %1
+REM test script
+
+mkdir results
+
+REM add Cloudscape plugin to junit tests zip file
+zip eclipse-junit-tests-%3%.zip -rm eclipse
+
+REM run all tests
+call runtests.bat -vm %cd%\..\jdk6_17\jre\bin\javaw -properties vm.properties "-Dtest.target=performance" "-Dplatform=win32perf2" 1> %2 2>&1
+exit \ No newline at end of file
diff --git a/production/testScripts/configuration/sdk.tests/testConfigs/win32xp2-perf/testing.properties b/production/testScripts/configuration/sdk.tests/testConfigs/win32xp2-perf/testing.properties
new file mode 100644
index 00000000..62d03bc0
--- /dev/null
+++ b/production/testScripts/configuration/sdk.tests/testConfigs/win32xp2-perf/testing.properties
@@ -0,0 +1,76 @@
+###############################################################################
+# Copyright (c) 2004, 2006 IBM Corporation and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# IBM Corporation - initial API and implementation
+###############################################################################
+#target to call in test.xml: runtests-local | runtests-remote
+testTarget=runtests-remote
+
+#use rsh as protocol for login and copying files.
+rsh=true
+
+#directory on test machine where automated testing framework will be installed
+testDir=c:\\buildtest\\${buildLabel}
+
+#name of zip file containing automated testing framework and JUnit test plug-ins
+testFramework=eclipse-Automated-Tests-${buildId}.zip
+
+#name of runtime to install and test
+runtime=eclipse-SDK-${buildId}-win32.zip
+
+#name of deltaPack to install and test
+runtimeDeltapack=eclipse-${buildId}-delta-pack.zip
+
+#name of Platform runtime to install and test
+runtimePlatform=eclipse-platform-${buildId}-win32.zip
+previousRuntimePlatform=eclipse-platform-3.7.1-win32.zip
+
+#directory where test scripts are launched
+executionDir=${testDir}\\eclipse-testing
+
+#eclipse platforms: win32 | linux-gtk | hpux-gtk
+platform=win32perf2
+
+#name of file that captures console output from running JUnit plug-in tests
+consolelog=winxp2.perf2_consolelog.txt
+
+#name of script to execute on remote machine
+testScript=start /min /wait ${executionDir}\\testAll.bat
+
+#arguments to $(testScript)
+args=${executionDir} winxp.perf2_consolelog.txt ${buildId}
+
+#name and path to downloaded vm.
+vmDest=jdk-6u17-fcs-bin-b04-windows-i586-11_oct_2009.zip
+
+#cvsroot
+cvsRoot=kmoir@ottcvs1:/home/cvs/releng
+
+#URL to vm used to run tests
+vmUrl=jdks/1.6/${vmDest}
+
+#command to execute via rsh to install the vm
+vmInstallCommand="unzip -o -qq ${testDir}\\${vmDest} -d ${testDir}"
+
+#name and path to 5.0 vm.
+vmDest6=jdk-6u17-fcs-bin-b04-windows-i586-11_oct_2009.zip
+
+#URL to 5.0 vm used to run jdt core tests
+vmUrl6=jdks/1.6/${vmDest6}
+
+#command to execute via rsh to install the 5.0 vm
+vmInstallCommand6="unzip -o -qq ${testDir}\\${vmDest6} -d ${testDir}"
+
+#Ant property to set default vm installation
+skipVmInstall=true
+
+#extra binaries directory relative to testConfigs directory
+extraBinariesDir=${base.builder}/../eclipseInternalBuildTools/bin/windowsBin
+
+#Cloudscape plug-in location
+internalPlugins=${base.builder}/../eclipseInternalBuildTools/plugins
diff --git a/production/testScripts/configuration/sdk.tests/testConfigs/win32xp2-perf/vm.properties b/production/testScripts/configuration/sdk.tests/testConfigs/win32xp2-perf/vm.properties
new file mode 100644
index 00000000..51299d9c
--- /dev/null
+++ b/production/testScripts/configuration/sdk.tests/testConfigs/win32xp2-perf/vm.properties
@@ -0,0 +1,11 @@
+###############################################################################
+# Copyright (c) 2000, 2006 IBM Corporation and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# IBM Corporation - initial API and implementation
+###############################################################################
+extraVMargs=-Declipse.perf.dbloc=net://minsky.ottawa.ibm.com:1528;dbname=perfDb38 -Declipse.perf.config=config=@testMachine@;build=@buildType@@timestamp@;jvm=sun -Declipse.perf.assertAgainst=config=@testMachine@;build=@reference@;jvm=sun
diff --git a/production/testScripts/configuration/sdk.tests/testConfigs/win7-64/equinoxp2tests.properties b/production/testScripts/configuration/sdk.tests/testConfigs/win7-64/equinoxp2tests.properties
new file mode 100644
index 00000000..ce25cea6
--- /dev/null
+++ b/production/testScripts/configuration/sdk.tests/testConfigs/win7-64/equinoxp2tests.properties
@@ -0,0 +1,9 @@
+#Fri Oct 22 11:38:18 EDT 2010
+org.eclipse.equinox.p2.reconciler.tests.lastrelease.platform.archive.linux=@executionDir@\\eclipse-platform-3.7.2-linux-gtk.tar.gz
+org.eclipse.equinox.p2.tests.current.build.repo=@org.eclipse.equinox.p2.tests.current.build.repo@
+org.eclipse.equinox.p2.reconciler.tests.lastrelease.platform.archive.win32-x86_64=@executionDir@\\eclipse-platform-3.7.2-win32-x86_64.zip
+org.eclipse.equinox.p2.reconciler.tests.lastrelease.platform.archive.macosx=@executionDir@\\eclipse-platform-3.7.2-macosx-cocoa.tar.gz
+org.eclipse.equinox.p2.reconciler.tests.platform.archive.linux=@executionDir@\\eclipse-platform-@buildId@-linux-gtk.tar.gz
+org.eclipse.equinox.p2.reconciler.tests.platform.archive.win32=@executionDir@\\eclipse-platform-@buildId@-win32-x86_64.zip
+org.eclipse.equinox.p2.reconciler.tests.platform.archive.macosx=@executionDir@\\eclipse-platform-@buildId@-macosx-cocoa.tar.gz
+org.eclipse.equinox.p2.tests.last.release.build.repo=http\://download.eclipse.org/eclipse/updates/4.1/R-4.1.2-201202230900
diff --git a/production/testScripts/configuration/sdk.tests/testConfigs/win7-64/org.eclipse.core.net.prefs b/production/testScripts/configuration/sdk.tests/testConfigs/win7-64/org.eclipse.core.net.prefs
new file mode 100644
index 00000000..c9e4c1c8
--- /dev/null
+++ b/production/testScripts/configuration/sdk.tests/testConfigs/win7-64/org.eclipse.core.net.prefs
@@ -0,0 +1,13 @@
+eclipse.preferences.version=1
+nonProxiedHosts=127.0.0.1|localhost|*.localhost|local|*.local|169.254/16|*.169.254/16|eclipse.org|*.eclipse.org|hudson.eclipse.org|*.hudson.eclipse.org|dev.eclipse.org|*.dev.eclipse.org
+org.eclipse.core.net.hasMigrated=true
+proxyData/HTTP/hasAuth=false
+proxyData/HTTP/host=proxy.eclipse.org
+proxyData/HTTP/port=9898
+proxyData/HTTPS/hasAuth=false
+proxyData/HTTPS/host=proxy.eclipse.org
+proxyData/HTTPS/port=9898
+proxyData/SOCKS/hasAuth=false
+proxyData/SOCKS/host=proxy.eclipse.org
+proxyData/SOCKS/port=9898
+systemProxiesEnabled=true
diff --git a/production/testScripts/configuration/sdk.tests/testConfigs/win7-64/testAll.bat b/production/testScripts/configuration/sdk.tests/testConfigs/win7-64/testAll.bat
new file mode 100644
index 00000000..36079c50
--- /dev/null
+++ b/production/testScripts/configuration/sdk.tests/testConfigs/win7-64/testAll.bat
@@ -0,0 +1,36 @@
+@echo off
+SETLOCAL
+
+REM localTestsProperties.bat is not used or expected in production builds,
+REM but is needed for production performance tests and
+REM allows a place for people to have their own machines variables defined
+REM there so they do not have to hand edit each time to do a local build.
+REM a typical example is that their version/location/vendor of VM is likely to differ,
+REM so they could redefine vmcmd to what's appropriate to their machine and setup.
+
+IF EXIST localTestsProperties.bat CALL localTestsProperties.bat
+
+
+REM vm.properties is used by default on production machines, but will
+REM need to override on local setups and performance tests
+IF NOT DEFINED propertyFile SET propertyFile=vm.properties
+
+REM TODO: not sure it is good to put VM here? Is there a good default here; such as "java"?
+REM currently, in practice, we sometimes set in hudson scripts.
+REM https://bugs.eclipse.org/bugs/show_bug.cgi?id=390286
+IF NOT DEFINED vmcmd SET vmcmd=c:\\java\\jdk1.7.0_07\\jre\\bin\\java.exe
+
+ECHO vmcmd in testAll: %vmcmd%
+ECHO extdir in testAll (if any): %extdir%
+ECHO propertyFile in testAll: %propertyFile%
+
+mkdir results\consolelogs
+
+IF DEFINED extdir (
+runtests.bat -extdirprop "%extdir%" -os win32 -ws win32 -arch x86_64 -vm %vmcmd% -properties %propertyFile% %* > results\consolelogs\win7consolelog.txt
+GOTO END
+)
+
+runtests.bat -os win32 -ws win32 -arch x86_64 -vm %vmcmd% -properties %propertyFile% %* > results\consolelogs\win7consolelog.txt
+
+:END
diff --git a/production/testScripts/configuration/sdk.tests/testConfigs/win7-64/testing.properties b/production/testScripts/configuration/sdk.tests/testConfigs/win7-64/testing.properties
new file mode 100644
index 00000000..738a33bd
--- /dev/null
+++ b/production/testScripts/configuration/sdk.tests/testConfigs/win7-64/testing.properties
@@ -0,0 +1,52 @@
+###############################################################################
+# Copyright (c) 2004, 2006 IBM Corporation and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# IBM Corporation - initial API and implementation
+###############################################################################
+#target to call in test.xml: runtests-local | runtests-remote
+testTarget=runtests-hudson
+
+#platform=win32-win32-x86_64_6.0
+platform=win32-win32-x86_6.0
+
+#directory on test machine where automated testing framework will be installed
+#testDir=${testDir}
+
+#name of zip file containing automated testing framework and JUnit test plug-ins
+testFramework=${testDir}\\eclipse-Automated-Tests-${buildId}.zip
+
+#name of runtime to install and test
+#runtime=eclipse-SDK-${buildId}-win32-x86_64.zip
+runtime=eclipse-SDK-${buildId}-win32.zip
+
+#name of deltaPack to install and test
+runtimeDeltapack=eclipse-${buildId}-delta-pack.zip
+
+#name of Platform runtime to install and test
+runtimePlatform=eclipse-platform-${buildId}-win32.zip
+
+# Not currently used on eclipse.org tests
+previousRuntimePlatform=eclipse-platform-3.7.1-win32.zip
+
+
+#directory where test scripts are launched
+executionDir=${testDir}\\eclipse-testing
+
+#name of file that captures console output from running JUnit plug-in tests
+consolelog=win7-6.0_consolelog.txt
+
+testExecutable=cmd
+
+#name of script to execute on remote machine
+#testScript=start /min /wait ${executionDir}\\testAll.bat
+testScript=${executionDir}\\testAll.bat
+
+#arguments to $(testScript)
+#args=/c win7-6.0_consolelog.txt
+#Bug 384974 - consider explicit argument for tests to run
+args=
diff --git a/production/testScripts/configuration/sdk.tests/testConfigs/win7-64/vm.properties b/production/testScripts/configuration/sdk.tests/testConfigs/win7-64/vm.properties
new file mode 100644
index 00000000..f0b27dd3
--- /dev/null
+++ b/production/testScripts/configuration/sdk.tests/testConfigs/win7-64/vm.properties
@@ -0,0 +1,27 @@
+###############################################################################
+# Copyright (c) 2000, 2006 IBM Corporation and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# IBM Corporation - initial API and implementation
+###############################################################################
+#platform=win32.win32.x86_64_6.0
+platform=win32.win32.x86_7.0
+J2SE-6.0=c\:\\java\\jdk7u2\\jre\\bin\\java
+# https://bugs.eclipse.org/bugs/show_bug.cgi?id=390286
+#J2SE-6.0=c\:\\java\\jdk1.7.0_07\\jre\\bin\\java
+
+# currently this variable is "hard coded" to work on Hudson.
+# not required if no proxies to use or bypass
+# TODO: make more sensitive to env. setttings in future so can
+# support tests on non Ecipse Infrastructure
+# If this property is defined, and file exists, the Eclipse infrastructure
+# will copy these "preferences" to
+# ${executionDir}/test-eclipse/eclipse/configuration/.settings/
+# after the test instance of eclipse is installed.
+# It is assumed the file itself gets copied to "execution directory" by
+# runTests2.xml approx. line 488
+org.eclipse.core.net.prefs=org.eclipse.core.net.prefs
diff --git a/production/testScripts/configuration/sdk.tests/testConfigs/win7/equinoxp2tests.properties b/production/testScripts/configuration/sdk.tests/testConfigs/win7/equinoxp2tests.properties
new file mode 100644
index 00000000..1d4718a5
--- /dev/null
+++ b/production/testScripts/configuration/sdk.tests/testConfigs/win7/equinoxp2tests.properties
@@ -0,0 +1,9 @@
+#Fri Oct 22 11:38:18 EDT 2010
+org.eclipse.equinox.p2.reconciler.tests.lastrelease.platform.archive.linux=@executionDir@\\eclipse-platform-3.7.2-linux-gtk.tar.gz
+org.eclipse.equinox.p2.tests.current.build.repo=@org.eclipse.equinox.p2.tests.current.build.repo@
+org.eclipse.equinox.p2.reconciler.tests.lastrelease.platform.archive.win32=@executionDir@\\eclipse-platform-3.7.2-win32.zip
+org.eclipse.equinox.p2.reconciler.tests.lastrelease.platform.archive.macosx=@executionDir@\\eclipse-platform-3.7.2-macosx-cocoa.tar.gz
+org.eclipse.equinox.p2.reconciler.tests.platform.archive.linux=@executionDir@\\eclipse-platform-@buildId@-linux-gtk.tar.gz
+org.eclipse.equinox.p2.reconciler.tests.platform.archive.win32=@executionDir@\\eclipse-platform-@buildId@-win32.zip
+org.eclipse.equinox.p2.reconciler.tests.platform.archive.macosx=@executionDir@\\eclipse-platform-@buildId@-macosx-cocoa.tar.gz
+org.eclipse.equinox.p2.tests.last.release.build.repo=http\://download.eclipse.org/eclipse/updates/4.1/R-4.1.2-201202230900
diff --git a/production/testScripts/configuration/sdk.tests/testConfigs/win7/org.eclipse.core.net.prefs b/production/testScripts/configuration/sdk.tests/testConfigs/win7/org.eclipse.core.net.prefs
new file mode 100644
index 00000000..c9e4c1c8
--- /dev/null
+++ b/production/testScripts/configuration/sdk.tests/testConfigs/win7/org.eclipse.core.net.prefs
@@ -0,0 +1,13 @@
+eclipse.preferences.version=1
+nonProxiedHosts=127.0.0.1|localhost|*.localhost|local|*.local|169.254/16|*.169.254/16|eclipse.org|*.eclipse.org|hudson.eclipse.org|*.hudson.eclipse.org|dev.eclipse.org|*.dev.eclipse.org
+org.eclipse.core.net.hasMigrated=true
+proxyData/HTTP/hasAuth=false
+proxyData/HTTP/host=proxy.eclipse.org
+proxyData/HTTP/port=9898
+proxyData/HTTPS/hasAuth=false
+proxyData/HTTPS/host=proxy.eclipse.org
+proxyData/HTTPS/port=9898
+proxyData/SOCKS/hasAuth=false
+proxyData/SOCKS/host=proxy.eclipse.org
+proxyData/SOCKS/port=9898
+systemProxiesEnabled=true
diff --git a/production/testScripts/configuration/sdk.tests/testConfigs/win7/testAll.bat b/production/testScripts/configuration/sdk.tests/testConfigs/win7/testAll.bat
new file mode 100644
index 00000000..c1b5cd3e
--- /dev/null
+++ b/production/testScripts/configuration/sdk.tests/testConfigs/win7/testAll.bat
@@ -0,0 +1,37 @@
+@echo off
+SETLOCAL
+
+REM localTestsProperties.bat is not used or expected in production builds,
+REM but is needed for production performance tests and
+REM allows a place for people to have their own machines variables defined
+REM there so they do not have to hand edit each time to do a local build.
+REM a typical example is that their version/location/vendor of VM is likely to differ,
+REM so they could redefine vmcmd to what's appropriate to their machine and setup.
+
+IF EXIST localTestsProperties.bat CALL localTestsProperties.bat
+
+
+REM vm.properties is used by default on production machines, but will
+REM need to override on local setups and performance tests
+IF NOT DEFINED propertyFile SET propertyFile=vm.properties
+
+
+REM TODO: not sure it is good to put VM here? Is there a good default here; such as "java"?
+REM currently, in practice, we sometimes set in hudson scripts.
+REM https://bugs.eclipse.org/bugs/show_bug.cgi?id=390286
+IF NOT DEFINED vmcmd SET vmcmd=c:\\java\\jdk1.7.0_07\\jre\\bin\\java.exe
+
+ECHO vmcmd in testAll: %vmcmd%
+ECHO extdir in testAll (if any): %extdir%
+ECHO propertyFile in testAll: %propertyFile%
+
+mkdir results\consolelogs
+
+IF DEFINED extdir (
+runtests.bat -extdirprop "%extdir%" -os win32 -ws win32 -arch x86 -vm %vmcmd% -properties %propertyFile% %* > results\consolelogs\win7consolelog.txt
+GOTO END
+)
+
+runtests.bat -os win32 -ws win32 -arch x86 -vm %vmcmd% -properties %propertyFile% %* > results\consolelogs\win7consolelog.txt
+
+:END
diff --git a/production/testScripts/configuration/sdk.tests/testConfigs/win7/testing.properties b/production/testScripts/configuration/sdk.tests/testConfigs/win7/testing.properties
new file mode 100644
index 00000000..738a33bd
--- /dev/null
+++ b/production/testScripts/configuration/sdk.tests/testConfigs/win7/testing.properties
@@ -0,0 +1,52 @@
+###############################################################################
+# Copyright (c) 2004, 2006 IBM Corporation and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# IBM Corporation - initial API and implementation
+###############################################################################
+#target to call in test.xml: runtests-local | runtests-remote
+testTarget=runtests-hudson
+
+#platform=win32-win32-x86_64_6.0
+platform=win32-win32-x86_6.0
+
+#directory on test machine where automated testing framework will be installed
+#testDir=${testDir}
+
+#name of zip file containing automated testing framework and JUnit test plug-ins
+testFramework=${testDir}\\eclipse-Automated-Tests-${buildId}.zip
+
+#name of runtime to install and test
+#runtime=eclipse-SDK-${buildId}-win32-x86_64.zip
+runtime=eclipse-SDK-${buildId}-win32.zip
+
+#name of deltaPack to install and test
+runtimeDeltapack=eclipse-${buildId}-delta-pack.zip
+
+#name of Platform runtime to install and test
+runtimePlatform=eclipse-platform-${buildId}-win32.zip
+
+# Not currently used on eclipse.org tests
+previousRuntimePlatform=eclipse-platform-3.7.1-win32.zip
+
+
+#directory where test scripts are launched
+executionDir=${testDir}\\eclipse-testing
+
+#name of file that captures console output from running JUnit plug-in tests
+consolelog=win7-6.0_consolelog.txt
+
+testExecutable=cmd
+
+#name of script to execute on remote machine
+#testScript=start /min /wait ${executionDir}\\testAll.bat
+testScript=${executionDir}\\testAll.bat
+
+#arguments to $(testScript)
+#args=/c win7-6.0_consolelog.txt
+#Bug 384974 - consider explicit argument for tests to run
+args=
diff --git a/production/testScripts/configuration/sdk.tests/testConfigs/win7/vm.properties b/production/testScripts/configuration/sdk.tests/testConfigs/win7/vm.properties
new file mode 100644
index 00000000..f0b27dd3
--- /dev/null
+++ b/production/testScripts/configuration/sdk.tests/testConfigs/win7/vm.properties
@@ -0,0 +1,27 @@
+###############################################################################
+# Copyright (c) 2000, 2006 IBM Corporation and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# IBM Corporation - initial API and implementation
+###############################################################################
+#platform=win32.win32.x86_64_6.0
+platform=win32.win32.x86_7.0
+J2SE-6.0=c\:\\java\\jdk7u2\\jre\\bin\\java
+# https://bugs.eclipse.org/bugs/show_bug.cgi?id=390286
+#J2SE-6.0=c\:\\java\\jdk1.7.0_07\\jre\\bin\\java
+
+# currently this variable is "hard coded" to work on Hudson.
+# not required if no proxies to use or bypass
+# TODO: make more sensitive to env. setttings in future so can
+# support tests on non Ecipse Infrastructure
+# If this property is defined, and file exists, the Eclipse infrastructure
+# will copy these "preferences" to
+# ${executionDir}/test-eclipse/eclipse/configuration/.settings/
+# after the test instance of eclipse is installed.
+# It is assumed the file itself gets copied to "execution directory" by
+# runTests2.xml approx. line 488
+org.eclipse.core.net.prefs=org.eclipse.core.net.prefs
diff --git a/production/testScripts/configuration/sdk.tests/testScripts/readme.html b/production/testScripts/configuration/sdk.tests/testScripts/readme.html
new file mode 100644
index 00000000..90b31531
--- /dev/null
+++ b/production/testScripts/configuration/sdk.tests/testScripts/readme.html
@@ -0,0 +1,182 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html lang="en">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title>Automated Testing of Eclipse Builds</title>
+</head>
+
+<body bgcolor="#FFFFFF" text="#000000">
+<font size="+2"> Automated Testing of Eclipse Builds</font>
+<p>Last updated: March 2, 2011</p><p><font size="+1">Description</font></p><p>This document describes how to run Eclipse JUnit plugin tests from the command
+ line using Eclipse SDK JUnit test plug-ins and a testing framework. This method of running tests is intended
+ for anyone who wishes to automate their testing process or reproduce the testing
+ mechanism used in Eclipse builds by the Eclipse Platform Release Engineering team.</p><p>Click <a href="http://dev.eclipse.org/viewcvs/index.cgi/*checkout*/org.eclipse.test/testframework.html?rev=HEAD">here</a> for a description of the testing
+ framework, and how it can be used outside of the setup described here.</p><p>If you simply wish to write and run JUnit tests interactively from an Eclipse
+ workbench, try one of the links below:</p><p><a href="http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse.jdt.doc.user/gettingStarted/qs-junit.htm">JUnit Support in Eclipse</a><br>
+<a href="http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse.pde.doc.user/guide/tools/launchers/junit_launcher.htm">Testing Eclipse Plug-ins with JUnit</a></p><p><font size="+1">Requirements</font></p>
+<ol>
+ <li>All test machines will require 1.4 and 1.5 java runtime environments installed to run all tests. See <A HREF="#testtargets">test targets</A>
+ for details on which tests require a 1.5 level jre. All other tests can be executed with either jre levels.</li>
+
+ <li>A properties file containing the following key-value pair: J2SE-5.0=&lt;path to 1.5 java executable&gt;. On Windows, the path must be enclosed with double quotes if it contains any space characters, e.g. J2SE-5.0=&quot;c:/program files/jdk1.5.0/jre/bin/java&quot;.</li>
+
+ <li><a href="http://www.info-zip.org/pub/infozip/UnZip.html">Info-ZIP UnZip</a> version 5.41 or later installed and added to the path.</li>
+
+ <li>The JUnit Plugin Tests <code>eclipse-Automated-Tests-&lt;buildId&gt;.zip</code> from an Eclipse build (<a href="http://download.eclipse.org/eclipse/downloads/">http://download.eclipse.org/eclipse/downloads/</a>).
+ This ZIP contains this document, scripts to run the tests, the test framework plug-ins and the JUnit test plug-ins.</li>
+
+ <li>An Eclipse SDK distribution (<a href="http://download.eclipse.org/eclipse/downloads/">http://download.eclipse.org/eclipse/downloads/</a>)
+ to test. Usually you will want to test a particular Eclipse build using a matching
+ Automated Tests feature.
+
+ <li>To run the pde build tests you will need the eclipse-&lt;buildId&gt;delta-pack.zip.</li>
+
+ <li>To run the Team CVS tests you will need extssh access to a CVS repository.
+ The tests create a lot of junk modules and tags so you will want to keep the
+ test repository seperate from your development repository. While it is not necessary
+ to clean up the repository between each Team test run you will probably want
+ to clean it up periodically.</li>
+
+ <li>Some of the p2 tests require a copy of the Eclipse Platform Runtime Binary archive for the platform you
+ are testing. More information is available from the <a href="http://wiki.eclipse.org/Equinox/p2/Testing">Equinox Testing Wiki page</a>.</li>
+</ol>
+
+ <p><font size="+1">Setup</font></p>
+ <ol>
+ <li>Extract the eclipse-Automated-Tests-&lt;buildId&gt;.zip or tar.gz. On Window, extract this file close to the root of the drive to prevent some path names from exceeding
+ the 255 character limit. This will create a top-level directory <code>eclipse-testing</code>.</li>
+
+ <li>Place the Eclipse SDK distribution to test (and the Eclipse Platform Runtime Binary) in the eclipse-testing directory.
+ Do not extract these files as the test scripts will take care of this.</li>
+ <li>To run the Team CVS tests, edit the test.xml script to provide connection
+ information. Replace the following strings in the <strong>teamcvs</strong> target of the <code>test.xml</code> file with the information described below:
+ <ul>
+ <li>@cvs_user@ - the account used to connect to the cvs repository</li>
+ <li>@cvs_password@ - the account password</li><li>@cvs_host@- the name of the cvs server</li>
+ <li>@cvs_root@ - the repository path</li>
+ </ul>
+ These values are used at test time to automatically replace strings in
+ org.eclipse.team.tests.cvs.core/repository.properties. For more information
+ on how this file is used in the team CVS tests, click <a href="http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/org.eclipse.team.tests.cvs.core/readme.html?rev=HEAD">here</a>.</li>
+ </li>
+
+ <li>To Run the PDE build scripts, save the eclipse-&lt;buildId&gt;delta-pack.zip to the eclipse-testing directory.</li>
+ </ol>
+
+ <p><font size="+1">Running Tests</font></p><p>From a command prompt or terminal:</p>
+<ol>
+ <li><code>cd</code> to the <code>eclipse-testing</code> directory</li>
+ <li>Execute the following script:</p><p><b>runtests -properties &lt;path to properties file&gt; [-os &lt;operating system&gt;] [-ws &lt;windowing system&gt;] [-arch
+ &lt;architecture&gt;] [-noclean] [-vm
+ &lt;path to java executable&gt;][-Dtest.target=performance][<I>targetname1 targetname2 targetname3 etc...</I>] </b></p><p>All parameters and targets are optional on windows systems with the exception of &quot;-properties&quot;. On *nix systems, the os, ws and arch parameters
+ must be specified in addition to the -properties parameter.</p><p>The JUnit test results are produced in individual xml files for each test plug-in with a test.xml. These
+ results are copied to the eclipse-testing\results\xml directory. These results
+ can be converted into html by running the &quot;genHtml&quot; target as described
+ in the table below. Please be aware that &quot;Build Successful&quot; printed
+ to the console is NOT indicative of tests passing.</li>
+</ol>
+
+<p><font size="+1"><a name="vm"></a>Parameters</font></p><table width="90%" border="1">
+ <tr>
+ <td>Parameter</td><td>Description</td></tr>
+ <tr>
+ <td>-os &lt;operating system&gt;</td><td>The OS the tests are being run on. One of: aix, hpux, linux, macosx, solaris,
+ win32. <b>Default win32</b></td></tr>
+ <tr>
+ <td>-ws &lt;windowing system&gt;</td><td>The windowing system the tests are being run on. One of: cocoa, gtk, photon,
+ win32. <b>Default win32</b></td></tr>
+ <tr>
+ <td>-arch &lt;architecture&gt;</td><td>The architecture the tests are being run on. One of: ppc, PA_RISC, x86,
+ sparc. <b>Default x86</b></td></tr>
+ <tr>
+ <td>-noclean</td><td>Run tests without installing a clean Eclipse (in &quot;test-eclipse&quot;) between test targets. Default
+ is to delete an existing test-eclipse directory and re-extract the Eclipse distribution between test targets.</td></tr>
+ <tr>
+ <td>-properties</td><td><P>As per requirements noted above, this is used to reference a properties file containing additional Ant properties
+ used in running tests.Can be used to pass additional vm arguments to the
+ Java virtual machine running the tests by adding the entry &quot;extraVMargs=&lt;the
+ args to pass to the vm&gt;&quot; to the specified properties file.<BR><BR>At a minimum, the property file must include a &quot;J2SE-5.0&quot; property which specifies a path to a 1.5 java executable, for example:<BR><BR><B>J2SE-5.0=&quot;c:/program files/jdk1.5.0_06/jre/bin/java&quot;</B></P><P>The path must be enclosed in double quotes if it contains spaces. This key-value pair is required to run JUnit plug-in tests that require a 1.5 level jvm.</P></td></tr>
+ <tr>
+ <td>-vm</td><td><P>When runtests is executed, two instances of eclipse are started: one to invoke the org.eclipse.ant.core.antRunner application to run a test.xml script in a test plug-in (outer instance) and another in which the JUnit tests are being executed (inner). By default, both will use the java executable on the system path. The -vm property is used to specify an alternate java executable.
+ For example, &quot;-vm c:\jdk142\jre\bin\java&quot;.<BR><BR> However, the -vm value is ignored by the inner vm for JUnit plug-in tests requiring a 1.5 JRE to execute (see <A HREF="#testtargets">test targets</A>). This property must be used in conjunction with the -properties parameter described above at all times.</P></td></tr>
+ <tr>
+ <td>-Dtest.target=performance</td><td>Runs the performance target only in each test plug-in's test.xml. When running tests on Windows,
+ enclose this parameter in double quotes, ie. runtests &quot;-Dtest.target=performance&quot;.</td></tr><tr><td>targetname1 targetname2 targetname3 etc..</td><td><P>Replace with a list of <A HREF="#testtargets">test targets</A> to execute (space delineated). Each corresponds to an Ant target in the eclipse-testing/test.xml script. <BR><BR>For example, <BR><B>runtests -os linux -ws gtk -arch x86 ant antui -properties vm.properties</B><BR> This will execute the &quot;ant&quot; and &quot;antui&quot; test targets only. If not specified, the &quot;all&quot; target will be executed.<BR></P></td></tr>
+</table><p><font size="+1"><A NAME="testtargets"></A>Appendix A - Test Targets</font></p><p>Ant targets in the main test.xml which execute tests. Typically each corresponds
+ to the execution of a test plug-in's test.xml.<BR></p><table width="90%" border="1"><tr><td WIDTH="34%">Target name (special jvm requirements)</td><td WIDTH="66%">Description / test plug-in</td></tr>
+ <tr>
+ <td WIDTH="34%">all (<B>1.4, 1.5 and 1.6 JREs required</B>)</td><td WIDTH="66%">Runs all the targets below. Default.</td></tr>
+ <tr><td>ant</td><td>org.eclipse.ant.tests.core</td></tr>
+<tr><td>antui</td><td>org.eclipse.ant.tests.ui</td></tr>
+<tr><td>compare</td><td>org.eclipse.compare.tests</td></tr>
+<tr><td>coreexpressions</td><td>org.eclipse.core.expressions.tests</td></tr>
+<tr><td>coreresources</td><td>org.eclipse.core.tests.resources</td></tr>
+<tr><td>coreruntime</td><td>org.eclipse.core.tests.runtime</td></tr>
+<tr><td>coretestsnet</td><td>org.eclipse.core.tests.net</td></tr>
+<tr><td>equinoxsecurity</td><td>org.eclipse.equinox.security.tests</td></tr>
+<tr><td>filebuffers</td><td>org.eclipse.core.filebuffers.tests</td></tr>
+<tr><td>jdtapt <b>(JRE 1.5 required)</b></td><td>org.eclipse.jdt.apt.tests</td></tr>
+<td>jdtaptpluggable <b>(JRE 1.6 required)</b></td><td>org.eclipse.jdt.apt.pluggable.tests</td></tr>
+<tr><td>jdtcompilerapt <b>(JRE 1.6 required)</b></td><td>org.eclipse.jdt.compiler.apt.tests</td></tr>
+<tr><td>jdtcompilertool <b>(JRE 1.6 required)</b></td><td>org.eclipse.jdt.compiler.tool.tests</td></tr>
+<tr><td>jdtcorebuilder <b>(JRE 1.5 required)</b></td><td>org.eclipse.jdt.core.tests.builder</td></tr>
+<tr><td>jdtcorecompiler <b>(JRE 1.5 required)</b></td><td>org.eclipse.jdt.core.tests.compiler</td></tr>
+<tr><td>jdtcoremodel <b>(JRE 1.5 required)</b></td><td>org.eclipse.jdt.core.tests.model</td></tr>
+<tr><td>jdtcoreperf</td><td>org.eclipse.jdt.core.tests.performance</td></tr>
+<tr><td>jdtdebug</td><td>org.eclipse.jdt.debug.tests</td></tr>
+<tr><td>jdttext</td><td>org.eclipse.jdt.text.tests</td></tr>
+<tr><td>jdtui</td><td>org.eclipse.jdt.ui.tests</td></tr>
+<tr><td>jdtuirefactoring</td><td>org.eclipse.jdt.ui.tests.refactoring</td></tr>
+<tr><td>jface</td><td>org.eclipse.jface.text.tests</td></tr>
+<tr><td>jfacedatabinding</td><td>org.eclipse.jface.tests.databinding</td></tr>
+<tr><td>ltkcorerefactoringtests</td><td>org.eclipse.ltk.core.refactoring.tests</td></tr>
+<tr><td>ltkuirefactoringtests</td><td>org.eclipse.ltk.ui.refactoring.tests</td></tr>
+<tr><td>osgi</td><td>org.eclipse.osgi.tests</td></tr>
+<tr><td>pdeapitooling <b>(JRE 1.5 required)</b></td><td>org.eclipse.pde.api.tools.tests</td></tr>
+<tr><td>pdebuild</td><td>org.eclipse.pde.build.tests</td></tr>
+<tr><td>pdeui</td><td>org.eclipse.pde.ui.tests</td></tr>
+<tr><td>relEng</td><td>org.eclipse.releng.tests</td></tr>
+<tr><td>swt</td><td>org.eclipse.swt.tests</td></tr>
+<tr><td>teamcore</td><td>org.eclipse.team.tests.core</td></tr>
+<tr><td>teamcvs</td><td>org.eclipse.team.tests.cvs.core</td></tr>
+<tr><td>text</td><td>org.eclipse.text.tests</td></tr>
+<tr><td>ua</td><td>org.eclipse.ua.tests</td></tr>
+<tr><td>ui</td><td>org.eclipse.ui.tests</td></tr>
+<tr><td>uieditors</td><td>org.eclipse.ui.editors.tests</td></tr>
+<tr><td>uiforms</td><td>org.eclipse.ui.tests.forms</td></tr>
+<tr><td>uinavigator</td><td>org.eclipse.ui.tests.navigator</td></tr>
+<tr><td>uiperformance</td><td>org.eclipse.ui.tests.performance</td></tr>
+<tr><td>uircp</td><td>org.eclipse.ui.tests.rcp</td></tr>
+<tr><td>uiviews</td><td>org.eclipse.ui.tests.views.properties.tabbed</td></tr>
+<tr><td>uiworkbenchtexteditor</td><td>org.eclipse.ui.workbench.texteditor.tests</td></tr>
+
+
+</table><p><br>
+</p><p><font size="+1"><a name="appendixb"></a>Appendix B - Supported os, ws, and arch
+ value combinations</font></p><p>The following table contains the values that can be used with the -os, -ws,
+ and -arch switches.</p><table width="75%" border="1">
+ <tr>
+ <td>Operating System (os)</td><td>Windowing System (ws)</td><td>Architecture (arch)</td></tr>
+ <tr>
+ <td>hpux</td><td>motif</td><td>PA_RISC</td></tr>
+ <tr>
+ <td>linux</td><td>gtk</td><td>x86</td></tr>
+ <tr>
+ <td>linux</td><td>gtk</td><td>x86_64</td></tr>
+ <tr>
+ <td>macosx</td><td>carbox</td><td>ppc</td></tr>
+ <tr>
+ <td>macosx</td><td>cocoa</td><td>x86</td></tr>
+ <tr>
+ <td>macosx</td><td>cocoa</td><td>x86_64</td></tr>
+ <tr>
+ <td>solaris</td><td>gtk</td><td>sparc</td></tr>
+ <tr>
+ <td>solaris</td><td>gtk</td><td>x86</td></tr>
+ <tr>
+ <td>solaris</td><td>motif</td><td>sparc</td></tr>
+ <tr>
+ <td>win32</td><td>win32</td><td>x86</td></tr>
+</table>
+</body>
+</html>
diff --git a/production/testScripts/configuration/sdk.tests/testScripts/runTests.xml b/production/testScripts/configuration/sdk.tests/testScripts/runTests.xml
new file mode 100644
index 00000000..187c871c
--- /dev/null
+++ b/production/testScripts/configuration/sdk.tests/testScripts/runTests.xml
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project
+ name="Automated Eclipse Testing"
+ default="runtests"
+ basedir=".">
+
+<!-- This file "copied up" from base builder ... not sure why still there. Not sure what's needed? -->
+
+ <target name="runtests">
+ <!-- <delete dir="${testDir}" quiet="true" /> -->
+ <mkdir dir="${testDir}" />
+ <property
+ name="testResults"
+ value="${testDir}/testresults" />
+ <fail unless="testFramework" />
+ <fail unless="testDir" />
+ <echo message="testFramework: ${testFramework}" />
+ <echo message="testDir: ${testDir}" />
+ <echo message="buildId: ${buildId}" />
+
+ <!--set up testing directory-->
+ <unzip
+ src="${testFramework}"
+ dest="${testDir}"
+ overwrite="false">
+ <patternset>
+ <exclude name="**/equinoxp2tests.properties" />
+ <exclude name="**/test.xml" />
+ </patternset>
+ </unzip>
+
+ <echo message=" executionDir ${executionDir}" />
+ <echo message=" testExecutable ${testExecutable}" />
+ <echo message=" testScript ${testScript}" />
+ <echo message=" args ${args}" />
+
+ <!--callback to custom script for post setup-->
+ <!-- <ant antfile="${customTest}" target="customSetup" dir="${basedir}" /> -->
+ <condition
+ property="executionArguments"
+ value="/c ${testScript} ${args}">
+ <and>
+ <os family="windows" />
+ </and>
+ </condition>
+ <property
+ name="executionArguments"
+ value="${testScript} ${args}" />
+
+ <!--run the tests-->
+ <exec
+ dir="${executionDir}"
+ executable="${testExecutable}">
+ <arg line="${executionArguments}" />
+ </exec>
+ </target>
+
+</project> \ No newline at end of file
diff --git a/production/testScripts/configuration/sdk.tests/testScripts/runtests b/production/testScripts/configuration/sdk.tests/testScripts/runtests
new file mode 100644
index 00000000..d18879da
--- /dev/null
+++ b/production/testScripts/configuration/sdk.tests/testScripts/runtests
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+exec ./runtests.sh "$@" \ No newline at end of file
diff --git a/production/testScripts/configuration/sdk.tests/testScripts/runtests.bat b/production/testScripts/configuration/sdk.tests/testScripts/runtests.bat
new file mode 100644
index 00000000..bac447a9
--- /dev/null
+++ b/production/testScripts/configuration/sdk.tests/testScripts/runtests.bat
@@ -0,0 +1,89 @@
+@echo off
+SETLOCAL
+
+REM default java executable for outer and test vm
+set vmcmd=java
+
+REM reset list of ant targets in test.xml to execute
+set tests=
+
+REM default switch to determine if eclipse should be reinstalled between running of tests
+set installmode=clean
+
+REM property file to pass to Ant scripts
+set properties=
+
+REM default values for os, ws and arch
+set os=win32
+set ws=win32
+set arch=x86
+
+REM reset ant command line args
+set ANT_CMD_LINE_ARGS=
+
+IF EXIST localTestsProperties.bat CALL localTestsProperties.bat
+
+
+REM ****************************************************************
+REM
+REM Install Eclipse if it does not exist
+REM
+REM ****************************************************************
+if NOT EXIST eclipse unzip -qq -o eclipse-SDK-*.zip && unzip -qq -o -C eclipse-junit-tests*.zip plugins/org.eclipse.test* -d eclipse/dropins/
+
+
+:processcmdlineargs
+
+REM ****************************************************************
+REM
+REM Process command line arguments
+REM
+REM ****************************************************************
+
+if x%1==x goto run
+if x%1==x-ws set ws=%2 && shift && shift && goto processcmdlineargs
+if x%1==x-os set os=%2 && shift && shift && goto processcmdlineargs
+if x%1==x-arch set arch=%2 && shift && shift && goto processcmdlineargs
+if x%1==x-noclean set installmode=noclean&& shift && goto processcmdlineargs
+if x%1==x-properties set properties=-propertyfile %2 && shift && shift && goto processcmdlineargs
+if x%1==x-vm set vmcmd="%2" && shift && shift && goto processcmdlineargs
+if x%1==x-extdirprop SET extdirproperty="-Djava.ext.dirs=%2" && shift && shift && goto processcmdlineargs
+
+
+
+set tests=%tests% %1 && shift && goto processcmdlineargs
+
+echo Specified test targets (if any): %tests%
+echo Specified extdirs (if any): %extdirprop%
+
+:run
+REM ***************************************************************************
+REM Run tests by running Ant in Eclipse on the test.xml script
+REM ***************************************************************************
+REM get name of org.eclipse.equinox.launcher_*.jar with version label
+dir /b eclipse\plugins\org.eclipse.equinox.launcher_*.jar>launcher-jar-name.txt
+set /p launcher-jar=<launcher-jar-name.txt
+
+
+echo "list all environment variables in effect as tests start"
+set
+
+rem -Dtimeout=300000 "%ANT_OPTS%"
+
+IF NOT EXIST %vmcmd% (
+ECHO ERROR: vmcmd not defined or does not exist: %vmcmd%
+exit 1
+)
+
+REM -XshowSettings is supported on windows VMs but ... not every where. So where not supported
+REM causes VM to not start at all. Can be handy for diagnostics. (without running ant <echoproperties/>
+
+IF DEFINED extdirproperty (
+%vmcmd% %extdirproperty% -Dosgi.os=%os% -Dosgi.ws=%ws% -Dosgi.arch=%arch% -jar eclipse\plugins\%launcher-jar% -data workspace -application org.eclipse.ant.core.antRunner -file test.xml %tests% -Dws=%ws% -Dos=%os% -Darch=%arch% -D%installmode%=true %properties% -logger org.apache.tools.ant.DefaultLogger
+GOTO END
+)
+
+%vmcmd% -Dosgi.os=%os% -Dosgi.ws=%ws% -Dosgi.arch=%arch% -jar eclipse\plugins\%launcher-jar% -data workspace -application org.eclipse.ant.core.antRunner -file test.xml %tests% -Dws=%ws% -Dos=%os% -Darch=%arch% -D%installmode%=true %properties% -logger org.apache.tools.ant.DefaultLogger
+
+:END
+
diff --git a/production/testScripts/configuration/sdk.tests/testScripts/runtests.sh b/production/testScripts/configuration/sdk.tests/testScripts/runtests.sh
new file mode 100644
index 00000000..27272214
--- /dev/null
+++ b/production/testScripts/configuration/sdk.tests/testScripts/runtests.sh
@@ -0,0 +1,147 @@
+#!/usr/bin/env bash
+
+# This file should never exist or be needed for production machine,
+# but allows an easy way for a "local user" to provide this file
+# somewhere on the search path ($HOME/bin is common),
+# and it will be included here, thus can provide "override values"
+# to those defined by defaults for production machine.,
+# such as for vmcmd
+
+source localTestsProperties.shsource 2>/dev/null
+
+
+# by default, use the java executable on the path for outer and test jvm
+vmcmd=${vmcmd:-/shared/common/jdk-1.6.x86_64/jre/bin/java}
+#vmcmd=java
+
+echo "vmcmd: $vmcmd"
+
+#this value must be set when using rsh to execute this script, otherwise the script will execute from the user's home directory
+dir=${PWD}
+
+# operating system, windowing system and architecture variables
+os=
+ws=
+arch=
+
+# list of tests (targets) to execute in test.xml
+tests=
+
+# default value to determine if eclipse should be reinstalled between running of tests
+installmode="clean"
+
+# name of a property file to pass to Ant
+properties=
+
+# ext dir customization. Be sure "blank", if not defined explicitly on command line
+extdirproperty=
+
+# message printed to console
+usage="usage: $0 -os <osType> -ws <windowingSystemType> -arch <architecture> [-noclean] [<test target>][-properties <path>]"
+
+
+# proces command line arguments
+while [ $# -gt 0 ]
+do
+ case "${1}" in
+ -dir)
+ dir="${2}"; shift;;
+ -os)
+ os="${2}"; shift;;
+ -ws)
+ ws="${2}"; shift;;
+ -arch)
+ arch="${2}"; shift;;
+ -noclean)
+ installmode="noclean";;
+ -properties)
+ properties="-propertyfile ${2}";shift;;
+ -extdirprop)
+ extdirproperty="-Djava.ext.dirs=${2}";shift;;
+ -vm)
+ vmcmd="${2}"; shift;;
+ *)
+ tests=$tests\ ${1};;
+ esac
+ shift
+done
+
+echo "Specified test targets (if any): ${tests}"
+
+echo "Specified ext dir (if any): ${extdirproperty}"
+
+# for *nix systems, os, ws and arch values must be specified
+if [ "x$os" = "x" ]
+then
+ echo >&2 "$usage"
+ exit 1
+fi
+
+if [ "x$ws" = "x" ]
+then
+ echo >&2 "$usage"
+ exit 1
+fi
+
+if [ "x$arch" = "x" ]
+then
+ echo >&2 "$usage"
+ exit 1
+fi
+
+#necessary when invoking this script through rsh
+cd $dir
+
+ if [ ! -r eclipse ]
+ then
+ tar -xzf eclipse-SDK-*.tar.gz
+ # note, the file pattern to match, must not start with */plugins because there is no leading '/' in the zip file, since they are repos.
+ unzip -qq -o -C eclipse-junit-tests-*.zip plugins/org.eclipse.test* -d eclipse/dropins/
+ fi
+
+ # run tests
+ launcher=`ls eclipse/plugins/org.eclipse.equinox.launcher_*.jar`
+
+
+ # make sure there is a window manager running. See bug 379026
+ # we should not have to, but may be a quirk/bug of hudson setup
+ # assuming metacity attaches to "current" display by default (which should have
+ # already been set by Hudson). We echo its value here just for extra reference/cross-checks.
+
+ echo "Check if any window managers are running (xfwm|twm|metacity|beryl|fluxbox|compiz):"
+ wmpss=$(ps -ef | egrep -i "xfwm|twm|metacity|beryl|fluxbox|compiz" | grep -v egrep)
+ echo "Window Manager processes: $wmpss"
+ echo
+
+ if [[ -z $wmpss ]]
+ then
+ echo "No window managers processes found running, so will start metacity"
+ metacity --replace --sm-disable &
+ METACITYPID=$!
+ echo $METACITYPID > epmetacity.pid
+ else
+ echo "Existing window manager found running, so did not force start of metacity"
+ fi
+
+ echo
+
+ # list out metacity processes so overtime we can see if they accumulate, or if killed automatically
+ # when our process exits. If not automatic, should use epmetacity.pid to kill it when we are done.
+ echo "Current metacity processes running (check for accumulation):"
+ ps -ef | grep "metacity" | grep -v grep
+ echo
+
+ echo "Triple check if any window managers are running (at least metacity should be!):"
+ wmpss=$(ps -ef | egrep -i "xfwm|twm|metacity|beryl|fluxbox|compiz" | grep -v egrep)
+ echo "Window Manager processes: $wmpss"
+ echo
+ echo "extdirprop in runtest: ${extdirprop}"
+ echo "extdirproperty in runtest: ${extdirproperty}"
+
+ # -Dtimeout=300000 "${ANT_OPTS}"
+ if [[ ! -z "${extdirproperty}" ]]
+ then
+ $vmcmd "${extdirproperty}" -Dosgi.os=$os -Dosgi.ws=$ws -Dosgi.arch=$arch -jar $launcher -data workspace -application org.eclipse.ant.core.antRunner -file ${PWD}/test.xml $tests -Dws=$ws -Dos=$os -Darch=$arch -D$installmode=true $properties -logger org.apache.tools.ant.DefaultLogger
+ else
+ $vmcmd -Dosgi.os=$os -Dosgi.ws=$ws -Dosgi.arch=$arch -jar $launcher -data workspace -application org.eclipse.ant.core.antRunner -file ${PWD}/test.xml $tests -Dws=$ws -Dos=$os -Darch=$arch -D$installmode=true $properties -logger org.apache.tools.ant.DefaultLogger
+ fi
diff --git a/production/testScripts/configuration/sdk.tests/testScripts/runtestsmac.sh b/production/testScripts/configuration/sdk.tests/testScripts/runtestsmac.sh
new file mode 100644
index 00000000..284e342b
--- /dev/null
+++ b/production/testScripts/configuration/sdk.tests/testScripts/runtestsmac.sh
@@ -0,0 +1,123 @@
+#!/usr/bin/env bash
+
+# This file should never exist or be needed for production machine,
+# but allows an easy way for a "local user" to provide this file
+# somewhere on the search path ($HOME/bin is common),
+# and it will be included here, thus can provide "override values"
+# to those defined by defaults for production machine.,
+# such as for vmcmd
+
+source localTestsProperties.shsource 2>/dev/null
+
+# by default, use the java executable on the path for outer and test jvm
+#vmcmd=/shared/common/jdk-1.6.x86_64/jre/bin/java
+if [[ -z "{vmcmd}" ]]
+then
+ vmcmd=java
+fi
+
+echo "vmcmd: $vmcmd"
+
+#this value must be set when using rsh to execute this script, otherwise the script will execute from the user's home directory
+dir=.
+
+# operating system, windowing system and architecture variables
+os=
+ws=
+arch=
+
+# list of tests (targets) to execute in test.xml
+tests=
+
+# default value to determine if eclipse should be reinstalled between running of tests
+installmode="clean"
+
+# name of a property file to pass to Ant
+properties=
+
+# ext dir customization. Be sure "blank", if not defined explicitly on command line
+extdirproperty=
+
+# message printed to console
+usage="usage: $0 -os <osType> -ws <windowingSystemType> -arch <architecture> [-noclean] [<test target>][-properties <path>]"
+
+
+# proces command line arguments
+while [ $# -gt 0 ]
+do
+ case "${1}" in
+ -dir)
+ dir="${2}"; shift;;
+ -os)
+ os="${2}"; shift;;
+ -ws)
+ ws="${2}"; shift;;
+ -arch)
+ arch="${2}"; shift;;
+ -noclean)
+ installmode="noclean";;
+ -properties)
+ properties="-propertyfile ${2}";shift;;
+ -extdirprop)
+ extdirproperty="-Djava.ext.dirs=${2}";shift;;
+ -vm)
+ vmcmd="${2}"; shift;;
+ *)
+ tests=$tests\ ${1};;
+ esac
+ shift
+done
+
+echo "Specified test targets (if any): ${tests}"
+
+echo "Specified ext dir (if any): ${extdirproperty}"
+
+# for *nix systems, os, ws and arch values must be specified
+if [ "x$os" = "x" ]
+then
+ echo >&2 "$usage"
+ exit 1
+fi
+
+if [ "x$ws" = "x" ]
+then
+ echo >&2 "$usage"
+ exit 1
+fi
+
+if [ "x$arch" = "x" ]
+then
+ echo >&2 "$usage"
+ exit 1
+fi
+
+#necessary when invoking this script through rsh
+cd $dir
+
+if [[ ! -r eclipse ]]
+then
+ tar -xzf eclipse-SDK-*.tar.gz
+ # note, the file pattern to match, must not start with */plugins because there is no leading '/' in the zip file, since they are repos.
+ unzip -qq -o -C eclipse-junit-tests-*.zip plugins/org.eclipse.test* -d eclipse/dropins/
+fi
+
+
+# run tests
+launcher=`ls eclipse/plugins/org.eclipse.equinox.launcher_*.jar`
+
+# it have been recommended not to "probe and publish" information about systems
+# for slight improvement in security. Bug 387747
+# so I have commented out most such probes, so they won't be routine.
+
+ #echo "list all environment variables in effect as tests start"
+ #printenv
+
+# -Dtimeout=300000 "${ANT_OPTS}"
+ if [[ ! -z "${extdirproperty}" ]]
+ then
+ $vmcmd "${extdirproperty}" -Dosgi.os=$os -Dosgi.ws=$ws -Dosgi.arch=$arch -jar $launcher -data workspace -application org.eclipse.ant.core.antRunner -file ${PWD}/test.xml $tests -Dws=$ws -Dos=$os -Darch=$arch -D$installmode=true $properties -logger org.apache.tools.ant.DefaultLogger
+ else
+ $vmcmd -Dosgi.os=$os -Dosgi.ws=$ws -Dosgi.arch=$arch -jar $launcher -data workspace -application org.eclipse.ant.core.antRunner -file ${PWD}/test.xml $tests -Dws=$ws -Dos=$os -Darch=$arch -D$installmode=true $properties -logger org.apache.tools.ant.DefaultLogger
+ fi
+
+
diff --git a/production/testScripts/configuration/sdk.tests/testScripts/test.xml b/production/testScripts/configuration/sdk.tests/testScripts/test.xml
new file mode 100644
index 00000000..549682ba
--- /dev/null
+++ b/production/testScripts/configuration/sdk.tests/testScripts/test.xml
@@ -0,0 +1,1534 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project
+ name="Automated Eclipse Testing"
+ default="all"
+ basedir=".">
+
+ <!--properties file containing the build information-->
+ <property file="label.properties" />
+
+ <!--properties file containing the plugin directory name including version number,
+ and list of required test plug-ins expressed as command-line argument to unzip executable.
+ Generated and packaged at build time.
+ <property file="test.properties" /> -->
+ <!--
+ Try using "loadproperties", instead of "properties file=" to see if
+ that will "evaluate" variables as loaded. Otherwise, the <properties form
+ has to move to "top of file" ... outer scope?
+ <property file="${eclipseBuilderDir}/eclipse/buildConfigs/sdk.tests/testConfigs/${testPlatform}/testing.properties" />
+ -->
+ <property
+ name="testingPropertiesfile"
+ value="testing.properties" />
+ <loadproperties>
+ <file file="${testingPropertiesfile}" />
+ </loadproperties>
+
+
+ <!--default directory where test-eclipse will be installed-->
+ <property
+ name="install"
+ value="${basedir}/test-eclipse" />
+
+ <!--suffix added to test output files to identify platform on which tests ran.-->
+ <property
+ name="platform"
+ value="${os}.${ws}.${arch}" />
+
+ <!-- The root of the eclipse installation -->
+ <property
+ name="eclipse-home"
+ value="${install}/eclipse" />
+
+ <property
+ name="repoZip"
+ value="${basedir}/eclipse-junit-tests-${buildId}.zip" />
+ <property
+ name="repoLocation"
+ value="${basedir}/testRepo" />
+ <property
+ name="platformLocation"
+ value="${basedir}/platformLocation" />
+
+ <!-- The directory that will contain all files containing information on the tests that ran.-->
+ <property
+ name="results"
+ value="${basedir}/results" />
+
+ <!--Directory for JUnit report output, console log output and .log content for each test suite.
+ Overrides default in org.eclipse.test/library.xml-->
+ <property
+ name="junit-report-output"
+ value="${results}/${platform}" />
+
+ <!-- this dirctory, with some sort files are created during unit tests
+ ... need to find where to disable jacoco -->
+ <property
+ name="coverage-output"
+ value="${results}/coverageIGNORE" />
+
+ <echo level="debug" message="DEBUG: org.eclipse.core.net.prefs: ${org.eclipse.core.net.prefs}" />
+
+ <!--Directory name of org.eclipse.test plug-in installed in ${eclipse-home}-->
+ <target
+ name="setup"
+ unless="noclean"
+ depends="init">
+ <condition
+ property="setupTarget"
+ value="setup-zip">
+ <contains
+ string="${runtimeArchive}"
+ substring=".zip" />
+ </condition>
+ <condition
+ property="setupTarget"
+ value="setup-tar.gz">
+ <contains
+ string="${runtimeArchive}"
+ substring=".tar.gz" />
+ </condition>
+ <condition
+ property="repoexists"
+ value="true">
+ <available file="${repoLocation}" />
+ </condition>
+ <condition
+ property="extraIU"
+ value="org.eclipse.equinox.p2.discovery.feature.feature.group">
+ <equals
+ arg1="${testPlugin}"
+ arg2="org.eclipse.equinox.p2.tests.discovery" />
+ </condition>
+ <antcall target="setupRepo" />
+ <antcall target="${setupTarget}" />
+ <antcall target="configureDeltaPack" />
+ <antcall target="installPreferences" />
+ </target>
+
+ <target name="installPreferences">
+ <property
+ name="preferenceDirectory"
+ value="${install}/eclipse/configuration/.settings/" />
+ <mkdir dir="${preferenceDirectory}" />
+
+ <antcall target="installNetworkPreferences" />
+
+ </target>
+
+
+ <target
+ name="installNetworkPreferences"
+ if="org.eclipse.core.net.prefs">
+
+ <copy
+ file="${org.eclipse.core.net.prefs}"
+ todir="${preferenceDirectory}"
+ failonerror="false"
+ verbose="true" />
+ <echo message="copied ${org.eclipse.core.net.prefs} to ${preferenceDirectory}" />
+ </target>
+
+ <!--Extract test bundles repo -->
+ <target
+ name="setupRepo"
+ unless="repoexists">
+ <mkdir dir="${repoLocation}" />
+ <exec
+ dir="."
+ executable="unzip">
+ <arg line="-o ${repoZip} -d ${repoLocation}" />
+ </exec>
+ </target>
+
+ <!--setup for zip archives-->
+ <target
+ name="setup-zip"
+ description="Reinstall the test Eclipse installation if specified by user">
+ <delete dir="${install}" />
+ <mkdir dir="${install}" />
+ <exec
+ dir="."
+ executable="unzip">
+ <arg line="-o -qq ${runtimeArchive} -d ${install}" />
+ </exec>
+ <antcall target="installExtraPlugins" />
+ <antcall target="installTestPlugins" />
+ </target>
+
+ <!--setup for tar.gz archives-->
+ <target
+ name="setup-tar.gz"
+ description="Reinstall the test Eclipse installation if specified by user">
+ <property
+ name="currentDir"
+ value="${basedir}" />
+ <delete dir="${install}" />
+ <mkdir dir="${install}" />
+ <exec
+ dir="${install}"
+ executable="tar">
+ <arg line="-xzf ${currentDir}/${runtimeArchive}" />
+ </exec>
+ <antcall target="installExtraPlugins" />
+ <antcall target="installTestPlugins" />
+ </target>
+
+ <!--use an stable version of the director so that instability in the current build doesn't cause all the tests to fail -->
+ <target name="setupPlatform">
+ <echo message="os.arch ${os.arch}" />
+ <property file="equinoxp2tests.properties" />
+ <condition
+ property="platformArchive"
+ value="${org.eclipse.equinox.p2.reconciler.tests.lastrelease.platform.archive.linux}">
+ <and>
+ <os family="unix" />
+ <not>
+ <or>
+ <or>
+ <os arch="x86_64" />
+ <os arch="amd64" />
+ </or>
+ <os family="mac" />
+ </or>
+ </not>
+ </and>
+ </condition>
+ <condition
+ property="platformArchive"
+ value="${org.eclipse.equinox.p2.reconciler.tests.lastrelease.platform.archive.macosx-x86_64}">
+ <and>
+ <os family="mac" />
+ <os family="unix" />
+ <or>
+ <os arch="x86_64" />
+ <os arch="amd64" />
+ </or>
+ </and>
+ </condition>
+ <condition
+ property="platformArchive"
+ value="${org.eclipse.equinox.p2.reconciler.tests.lastrelease.platform.archive.macosx}">
+ <and>
+ <os family="mac" />
+ <os family="unix" />
+ <!-- should not need, as long as x86_64 rules (above) comes first
+ <os arch="i386" />
+ -->
+ </and>
+ </condition>
+ <condition
+ property="platformArchive"
+ value="${org.eclipse.equinox.p2.reconciler.tests.lastrelease.platform.archive.win32}">
+ <and>
+ <os family="windows" />
+ <os arch="x86" />
+ </and>
+ </condition>
+ <condition
+ property="platformArchive"
+ value="${org.eclipse.equinox.p2.reconciler.tests.lastrelease.platform.archive.win32-x86_64}">
+ <and>
+ <os family="windows" />
+ <or>
+ <os arch="x86_64" />
+ <os arch="amd64" />
+ </or>
+ </and>
+ </condition>
+ <condition
+ property="platformArchive"
+ value="${org.eclipse.equinox.p2.reconciler.tests.lastrelease.platform.archive.linux-x86_64}">
+ <and>
+ <os family="unix" />
+ <or>
+ <os arch="x86_64" />
+ <os arch="amd64" />
+ </or>
+ </and>
+ </condition>
+
+ <fail
+ unless="platformArchive"
+ message="platformArchive is not defined. Check that condidtions cover os arch ${os.arch}. May be VM dependent.)" />
+
+ <condition
+ property="platformTarget"
+ value="platform-zip">
+ <contains
+ string="${platformArchive}"
+ substring=".zip" />
+ </condition>
+ <condition
+ property="platformTarget"
+ value="platform-tar.gz">
+ <contains
+ string="${platformArchive}"
+ substring=".tar.gz" />
+ </condition>
+ <fail
+ unless="platformTarget"
+ message="platformTarget is not defined. Check that platformArchive variable and value is defined correctly, such as in equinoxp2tests.properties in the appropriate testConfig" />
+ <echo message="platformTarget ${platformTarget} platformArchive ${platformArchive}" />
+ <antcall target="${platformTarget}" />
+ </target>
+
+
+ <!--setup for platform zip archives-->
+ <target
+ name="platform-zip"
+ description="Reinstall the test Eclipse installation if specified by user">
+ <delete dir="${platformLocation}" />
+ <mkdir dir="${platformLocation}" />
+ <exec
+ dir="${platformLocation}"
+ executable="unzip">
+ <arg line="-o -qq ${platformArchive} -d ${platformLocation}" />
+ </exec>
+ </target>
+
+ <!--setup for platform tar.gz archives-->
+ <target
+ name="platform-tar.gz"
+ description="Reinstall the test Eclipse installation if specified by user">
+ <delete dir="${platformLocation}" />
+ <mkdir dir="${platformLocation}" />
+ <exec
+ dir="${platformLocation}"
+ executable="tar">
+ <arg line="-xzf ${platformArchive}" />
+ </exec>
+ </target>
+
+ <target
+ name="installExtraPlugins"
+ if="extraIU">
+ <property file="equinoxp2tests.properties" />
+ <path id="launcher.paths">
+ <fileset
+ dir="${eclipse-home}"
+ includes="plugins/org.eclipse.equinox.launcher_*" />
+ </path>
+ <property
+ name="launcherPath"
+ refid="launcher.paths" />
+
+ <property
+ name="currentBuildRepo"
+ value="${org.eclipse.equinox.p2.tests.current.build.repo}" />
+ <echo>-installIU ${extraIU} +</echo>
+ <java
+ jar="${launcherPath}"
+ failonerror="false"
+ dir="${eclipse-home}"
+ timeout="900000"
+ fork="true"
+ output="${basedir}/director.log"
+ resultproperty="directorcode">
+ <arg line="-vm ${java.home}/bin/java" />
+ <arg line="-application org.eclipse.equinox.p2.director" />
+ <arg line="-consoleLog" />
+ <arg line="-flavor tooling" />
+ <arg line="-installIUs ${extraIU}" />
+ <arg line="-p2.os ${os}" />
+ <arg line="-p2.ws ${ws}" />
+ <arg line="-p2.arch ${arch}" />
+ <arg line="-roaming" />
+ <arg line="-profile SDKProfile" />
+ <arg line="-repository ${currentBuildRepo}" />
+ <arg line="-destination ${eclipse-home}" />
+ <arg line="-bundlepool ${eclipse-home}" />
+ </java>
+ </target>
+
+ <target name="installTestPlugins">
+ <path id="launcher.paths">
+ <fileset
+ dir="${eclipse-home}"
+ includes="plugins/org.eclipse.equinox.launcher_*" />
+ </path>
+ <property
+ name="launcherPath"
+ refid="launcher.paths" />
+ <antcall target="setupPlatform" />
+ <echo>-installIU ${testPlugin} +</echo>
+ <java
+ jar="${launcherPath}"
+ failonerror="false"
+ dir="${eclipse-home}"
+ timeout="900000"
+ fork="true"
+ output="${basedir}/director.log"
+ resultproperty="directorcode">
+ <arg line="-vm ${java.home}/bin/java" />
+ <arg line="-application org.eclipse.equinox.p2.director" />
+ <arg line="-consoleLog" />
+ <arg line="-flavor tooling" />
+ <arg
+ line="-installIUs ${testPlugin},org.eclipse.test,org.eclipse.ant.optional.junit,org.eclipse.test.performance,org.eclipse.test.performance.win32,org.easymock" />
+ <arg line="-p2.os ${os}" />
+ <arg line="-p2.ws ${ws}" />
+ <arg line="-p2.arch ${arch}" />
+ <arg line="-roaming" />
+ <arg line="-profile SDKProfile" />
+ <arg line="-repository file:${repoLocation}" />
+ <arg line="-destination ${eclipse-home}" />
+ <arg line="-bundlepool ${eclipse-home}" />
+ </java>
+ <antcall target="configureTeamTest" />
+ <antcall target="unzipderby" />
+ </target>
+
+
+ <target
+ name="unzipderby"
+ if="derby"
+ unless="skipDerby">
+ <exec
+ dir="."
+ executable="unzip">
+ <arg line="-o eclipse-junit-tests-*.zip ${derby} -d ${install}" />
+ </exec>
+ <copy todir="${install}/eclipse/dropins/eclipse/plugins">
+ <fileset
+ dir="${repoLocation}/eclipse/dropins/eclipse/plugins"
+ includes="org.apache.derby**/*" />
+ </copy>
+ </target>
+
+ <target
+ name="init"
+ depends="setRuntimeArchive">
+ <mkdir dir="${results}/xml" />
+ <mkdir dir="${results}/html" />
+ <mkdir dir="${junit-report-output}" />
+ <!--Unlock files on the Mac before starting tests.
+ Required to delete some workspace directories (org.eclipse.core.filebuffers.tests and Team CVS tests).-->
+ <exec
+ dir="${basedir}"
+ executable="chflags"
+ os="Mac OS X">
+ <arg line="-R nouchg ${install}" />
+ </exec>
+ </target>
+
+ <target name="setRuntimeArchive">
+ <echo message="setRuntimeArchive os ${os} ws ${ws} arch ${arch}" />
+ <condition
+ property="runtimeArchive"
+ value="eclipse-SDK-${buildId}-win32.zip">
+ <and>
+ <equals
+ arg1="${os}"
+ arg2="win32" />
+ <equals
+ arg1="${ws}"
+ arg2="win32" />
+ <equals
+ arg1="${arch}"
+ arg2="x86" />
+ </and>
+ </condition>
+ <condition
+ property="runtimeArchive"
+ value="eclipse-SDK-${buildId}-win32-x86_64.zip">
+ <and>
+ <equals
+ arg1="${os}"
+ arg2="win32" />
+ <equals
+ arg1="${ws}"
+ arg2="win32" />
+ <equals
+ arg1="${arch}"
+ arg2="x86_64" />
+ </and>
+ </condition>
+ <condition
+ property="runtimeArchive"
+ value="eclipse-SDK-${buildId}-linux-gtk.tar.gz">
+ <and>
+ <equals
+ arg1="${os}"
+ arg2="linux" />
+ <equals
+ arg1="${ws}"
+ arg2="gtk" />
+ <equals
+ arg1="${arch}"
+ arg2="x86" />
+ </and>
+ </condition>
+ <condition
+ property="runtimeArchive"
+ value="eclipse-SDK-${buildId}-linux-gtk-ppc64.tar.gz">
+ <and>
+ <equals
+ arg1="${os}"
+ arg2="linux" />
+ <equals
+ arg1="${ws}"
+ arg2="gtk" />
+ <equals
+ arg1="${arch}"
+ arg2="ppc64" />
+ </and>
+ </condition>
+ <condition
+ property="runtimeArchive"
+ value="eclipse-SDK-${buildId}-linux-gtk-ppc.tar.gz">
+ <and>
+ <equals
+ arg1="${os}"
+ arg2="linux" />
+ <equals
+ arg1="${ws}"
+ arg2="gtk" />
+ <equals
+ arg1="${arch}"
+ arg2="ppc" />
+ </and>
+ </condition>
+ <condition
+ property="runtimeArchive"
+ value="eclipse-SDK-${buildId}-linux-gtk-x86_64.tar.gz">
+ <and>
+ <equals
+ arg1="${os}"
+ arg2="linux" />
+ <equals
+ arg1="${ws}"
+ arg2="gtk" />
+ <equals
+ arg1="${arch}"
+ arg2="x86_64" />
+ </and>
+ </condition>
+ <condition
+ property="runtimeArchive"
+ value="eclipse-SDK-${buildId}-macosx-cocoa-ppc.tar.gz">
+ <and>
+ <equals
+ arg1="${os}"
+ arg2="macosx" />
+ <equals
+ arg1="${ws}"
+ arg2="cocoa" />
+ <equals
+ arg1="${arch}"
+ arg2="ppc" />
+ </and>
+ </condition>
+ <condition
+ property="runtimeArchive"
+ value="eclipse-SDK-${buildId}-macosx-cocoa.tar.gz">
+ <and>
+ <equals
+ arg1="${os}"
+ arg2="macosx" />
+ <equals
+ arg1="${ws}"
+ arg2="cocoa" />
+ <equals
+ arg1="${arch}"
+ arg2="x86" />
+ </and>
+ </condition>
+ <condition
+ property="runtimeArchive"
+ value="eclipse-SDK-${buildId}-macosx-cocoa-x86_64.tar.gz">
+ <and>
+ <equals
+ arg1="${os}"
+ arg2="macosx" />
+ <equals
+ arg1="${ws}"
+ arg2="cocoa" />
+ <equals
+ arg1="${arch}"
+ arg2="x86_64" />
+ </and>
+ </condition>
+ <condition
+ property="runtimeArchive"
+ value="eclipse-SDK-${buildId}-hpux-gtk-ia64.zip">
+ <and>
+ <equals
+ arg1="${os}"
+ arg2="hpux" />
+ <equals
+ arg1="${ws}"
+ arg2="gtk" />
+ <equals
+ arg1="${arch}"
+ arg2="ia64" />
+ </and>
+ </condition>
+ <condition
+ property="runtimeArchive"
+ value="eclipse-SDK-${buildId}-solaris-gtk.zip">
+ <and>
+ <equals
+ arg1="${os}"
+ arg2="solaris" />
+ <equals
+ arg1="${ws}"
+ arg2="gtk" />
+ <equals
+ arg1="${arch}"
+ arg2="sparc" />
+ </and>
+ </condition>
+ <condition
+ property="runtimeArchive"
+ value="eclipse-SDK-${buildId}-solaris-gtk-x86.zip">
+ <and>
+ <equals
+ arg1="${os}"
+ arg2="solaris" />
+ <equals
+ arg1="${ws}"
+ arg2="gtk" />
+ <equals
+ arg1="${arch}"
+ arg2="x86" />
+ </and>
+ </condition>
+ <condition
+ property="runtimeArchive"
+ value="eclipse-SDK-${buildId}-aix-gtk-ppc.zip">
+ <and>
+ <equals
+ arg1="${os}"
+ arg2="aix" />
+ <equals
+ arg1="${ws}"
+ arg2="gtk" />
+ <equals
+ arg1="${arch}"
+ arg2="ppc" />
+ </and>
+ </condition>
+ <condition
+ property="runtimeArchive"
+ value="eclipse-SDK-${buildId}-aix-gtk-ppc64.zip">
+ <and>
+ <equals
+ arg1="${os}"
+ arg2="aix" />
+ <equals
+ arg1="${ws}"
+ arg2="gtk" />
+ <equals
+ arg1="${arch}"
+ arg2="ppc64" />
+ </and>
+ </condition>
+ <echo message="runtimeArchive ${runtimeArchive} !!! " />
+ </target>
+
+ <target
+ name="setJVMProperties"
+ depends="setJVMfromUserSpecified">
+ <!--enable tests requiring 1.5 or 1.6 vms to run if running vm level detected matches required execution environment-->
+ <condition
+ property="J2SE-5.0"
+ value="${java.home}/bin/java">
+ <or>
+ <or>
+ <equals
+ arg1="${ant.java.version}"
+ arg2="1.5" />
+ <equals
+ arg1="${ant.java.version}"
+ arg2="1.6" />
+ </or>
+ <equals
+ arg1="${ant.java.version}"
+ arg2="1.7" />
+ </or>
+ </condition>
+ <condition
+ property="J2SE-6.0"
+ value="${java.home}/bin/java">
+ <or>
+ <equals
+ arg1="${ant.java.version}"
+ arg2="1.6" />
+ <equals
+ arg1="${ant.java.version}"
+ arg2="1.7" />
+ </or>
+ </condition>
+ <condition
+ property="J2SE-7.0"
+ value="${java.home}/bin/java">
+ <equals
+ arg1="${ant.java.version}"
+ arg2="1.7" />
+ </condition>
+ </target>
+ <target
+ name="setJVMfromUserSpecified"
+ if="jvm">
+ <exec
+ executable="${jvm}"
+ outputproperty="javaversion">
+ <arg line="-version" />
+ </exec>
+ <echo message="java version of ${jvm} is ${javaversion}" />
+ <condition
+ property="J2SE-7.0"
+ value="${jvm}">
+ <contains
+ string="${javaversion}"
+ substring="java version &quot;1.7" />
+ </condition>
+ <condition
+ property="J2SE-6.0"
+ value="${jvm}">
+ <or>
+ <contains
+ string="${javaversion}"
+ substring="java version &quot;1.6" />
+ <contains
+ string="${javaversion}"
+ substring="java version &quot;1.7" />
+ </or>
+ </condition>
+ <condition
+ property="J2SE-5.0"
+ value="${jvm}">
+ <or>
+ <or>
+ <contains
+ string="${javaversion}"
+ substring="java version &quot;1.7" />
+ <contains
+ string="${javaversion}"
+ substring="java version &quot;1.6" />
+ </or>
+ <contains
+ string="${javaversion}"
+ substring="java version &quot;1.5" />
+ </or>
+ </condition>
+ <echo message="J2SE-7.0: ${J2SE-7.0}" />
+ <echo message="J2SE-6.0: ${J2SE-6.0}" />
+ <echo message="J2SE-5.0: ${J2SE-5.0}" />
+ </target>
+ <target
+ name="configureTeamTest"
+ if="teamcvs">
+ <!-- Fill in cvs repository information -->
+ <replace
+ file="${eclipse-home}/plugins/${org.eclipse.team.tests.cvs.core}/repository.properties"
+ token="@user@"
+ value="${cvs_user}" />
+ <replace
+ file="${eclipse-home}/plugins/${org.eclipse.team.tests.cvs.core}/repository.properties"
+ token="@password@"
+ value="${cvs_password}" />
+ <replace
+ file="${eclipse-home}/plugins/${org.eclipse.team.tests.cvs.core}/repository.properties"
+ token="@host@"
+ value="${cvs_host}" />
+ <replace
+ file="${eclipse-home}/plugins/${org.eclipse.team.tests.cvs.core}/repository.properties"
+ token="@root@"
+ value="${cvs_root}" />
+ </target>
+
+ <target
+ name="configureDeltaPack"
+ if="pdebuild">
+ <property
+ name="deltapackArchive"
+ value="eclipse-${buildId}-delta-pack.zip" />
+ <property
+ name="installDeltapack"
+ value="${install}/deltapack" />
+ <mkdir dir="${installDeltapack}" />
+ <exec
+ dir="."
+ executable="unzip">
+ <arg line="-o -qq ${deltapackArchive} -d ${installDeltapack}" />
+ </exec>
+ </target>
+
+
+ <macrodef name="runTests">
+ <attribute name="testPlugin" />
+ <sequential>
+ <antcall target="markCurrentTime">
+ <param
+ name="message"
+ value="start @{testPlugin}" />
+ </antcall>
+ <!--alwasy use eclipse executable to launch tests with the exception of performance tests-->
+ <!--condition property="useEclipseExe" value="true">
+ <not>
+ <equals arg1="${test.target}" arg2="performance"/>
+ </not>
+ </condition-->
+
+ <condition
+ property="performance.target.present"
+ value="true">
+ <isset property="@{testPlugin}.has.performance.target" />
+ </condition>
+
+ <!--override the value of this property with performance if the tests run on performance machine-->
+ <property
+ name="test.target"
+ value="junit" />
+ <property
+ name="report"
+ value="@{testPlugin}" />
+
+ <!--install db plug-ins if running performance tests-->
+ <condition
+ property="derby"
+ value="eclipse/dropins/eclipse/plugins/org.apache.derby*/**">
+ <equals
+ arg1="${test.target}"
+ arg2="performance" />
+ </condition>
+ <!-- <property name="derby" value="" /> -->
+ <!-- <param name="testPlugin" value="${@{testPlugin}}" /> -->
+ <antcall target="${test.target}">
+ <param
+ name="testPlugin"
+ value="@{testPlugin}" />
+ <param
+ name="output-file"
+ value="@{testPlugin}.xml" />
+ </antcall>
+ <antcall target="markCurrentTime">
+ <param
+ name="message"
+ value="end @{testPlugin}" />
+ </antcall>
+ </sequential>
+ </macrodef>
+
+ <target
+ name="junit"
+ unless="skip.test">
+ <antcall target="setup">
+ </antcall>
+ <property file="finalPluginsVersions.properties" />
+ <property
+ name="library-file"
+ value="${basedir}/test-eclipse/eclipse/plugins/org.eclipse.test_${org.eclipse.test}/library.xml" />
+ <property
+ name="junit-stylesheet"
+ value="${eclipse-home}/plugins/org.eclipse.test_${org.eclipse.test}/JUNIT.XSL" />
+ <echo>trying to find ${testPlugin}_*</echo>
+ <fileset
+ id="test.plugin.file"
+ dir="${eclipse-home}/plugins">
+ <filename name="${testPlugin}_*/test.xml" />
+ </fileset>
+ <property
+ name="testPluginX"
+ refid="test.plugin.file" />
+ <echo>trying to find ${testPluginX}</echo>
+ <condition
+ property="pluginexists"
+ value="true">
+ <not>
+ <equals
+ arg1="${testPluginX}"
+ arg2="" />
+ </not>
+ </condition>
+ <antcall target="runSuite" />
+ <antcall target="genResults" />
+ </target>
+
+ <target
+ name="runSuite"
+ if="pluginexists">
+ <ant
+ antfile="${eclipse-home}/plugins/${testPluginX}"
+ dir="${eclipse-home}" />
+ </target>
+
+
+ <target
+ name="runSuitePerf"
+ if="pluginexists">
+ <echo message="testPluginX ${testPluginX}" />
+ <property
+ name="junit-stylesheet"
+ value="${eclipse-home}/plugins/org.eclipse.test_${org.eclipse.test}/JUNIT.XSL" />
+ <ant
+ antfile="${eclipse-home}/plugins/${testPluginX}"
+ dir="${eclipse-home}"
+ target="performance" />
+ </target>
+
+ <target
+ name="performance"
+ if="performance.target.present"
+ unless="skip.test">
+ <antcall target="setup" />
+ <property file="finalPluginsVersions.properties" />
+ <property
+ name="library-file"
+ value="${basedir}/test-eclipse/eclipse/plugins/org.eclipse.test_${org.eclipse.test}/library.xml" />
+
+ <echo>trying to find ${testPlugin}_*</echo>
+ <fileset
+ id="test.plugin.file"
+ dir="${eclipse-home}/plugins">
+ <filename name="${testPlugin}_*/test.xml" />
+ </fileset>
+ <property
+ name="testPluginX"
+ refid="test.plugin.file" />
+ <echo>trying to find ${testPluginX}</echo>
+ <condition
+ property="pluginexists"
+ value="true">
+ <not>
+ <equals
+ arg1="${testPluginX}"
+ arg2="" />
+ </not>
+ </condition>
+ <antcall target="runSuitePerf" />
+ <antcall target="genResults" />
+ </target>
+
+ <target name="genResults">
+ <copy
+ file="${eclipse-home}/${report}.xml"
+ tofile="${results}/xml/${report}_${platform}.xml"
+ failonerror="false" />
+ <property
+ name="junit-stylesheet"
+ value="${eclipse-home}/plugins/org.eclipse.test_${org.eclipse.test}/JUNIT.XSL" />
+ <!-- some "failures" are "bad enough" that the tests were not unpacked, so style sheet won't exist -->
+ <available file="${junit-stylesheet}" property="stylesheetexists" />
+ <antcall target="convertToHTML" />
+
+ </target>
+
+ <target name="convertToHTML" if="stylesheetexists" depends="checkStylesheetexists">
+ <xslt
+ style="${junit-stylesheet}"
+ basedir="${results}/xml"
+ destdir="${results}/html" />
+ </target>
+
+ <target name="checkStylesheetexists" unless="stylesheetexists">
+ <echo message="previous suite test install failed, so style sheet did not exist" />
+ </target>
+
+ <target name="ant">
+ <runTests testPlugin="org.eclipse.ant.tests.core" />
+ </target>
+
+ <target name="antui">
+ <runTests testPlugin="org.eclipse.ant.tests.ui" />
+ </target>
+
+ <target name="compare">
+ <runTests testPlugin="org.eclipse.compare.tests" />
+ </target>
+
+ <target name="equinoxds">
+ <runTests testPlugin="org.eclipse.equinox.ds.tests" />
+ </target>
+
+ <target name="debug">
+ <runTests testPlugin="org.eclipse.debug.tests" />
+ </target>
+
+ <target name="coreresources">
+ <runTests testPlugin="org.eclipse.core.tests.resources" />
+ </target>
+
+ <target name="coreruntime">
+ <runTests testPlugin="org.eclipse.core.tests.runtime" />
+ </target>
+
+ <target name="osgi">
+ <runTests testPlugin="org.eclipse.osgi.tests" />
+ </target>
+
+ <target name="coreexpressions">
+ <runTests testPlugin="org.eclipse.core.expressions.tests" />
+ </target>
+
+ <target name="ltkuirefactoringtests">
+ <runTests testPlugin="org.eclipse.ltk.ui.refactoring.tests" />
+ </target>
+
+ <target name="ltkcorerefactoringtests">
+ <runTests testPlugin="org.eclipse.ltk.core.refactoring.tests" />
+ </target>
+
+ <target name="text">
+ <runTests testPlugin="org.eclipse.text.tests" />
+ </target>
+
+ <target name="jface">
+ <runTests testPlugin="org.eclipse.jface.text.tests" />
+ </target>
+
+ <target name="jfacedatabinding">
+ <runTests testPlugin="org.eclipse.jface.tests.databinding" />
+ </target>
+
+ <target name="filebuffers">
+ <runTests testPlugin="org.eclipse.core.filebuffers.tests" />
+ </target>
+
+ <target
+ name="jdttext"
+ unless="skip.jdttext">
+ <runTests testPlugin="org.eclipse.jdt.text.tests" />
+ </target>
+
+ <target
+ name="relEng"
+ depends="setRuntimeArchive">
+ <runTests testPlugin="org.eclipse.releng.tests" />
+ <move
+ todir="${results}/chkpii"
+ includeEmptyDirs="no"
+ failonerror="false">
+ <fileset dir="${results}/chkpii" />
+ <mapper
+ type="glob"
+ from="*"
+ to="${platform}_*" />
+ </move>
+ </target>
+
+ <target name="ua">
+ <runTests testPlugin="org.eclipse.ua.tests" />
+ </target>
+
+ <target name="uadoc">
+ <runTests testPlugin="org.eclipse.ua.tests.doc" />
+ </target>
+
+ <target name="coretestsnet">
+ <runTests testPlugin="org.eclipse.core.tests.net" />
+ </target>
+
+ <target
+ name="jdtcorecompiler"
+ depends="setJVMProperties">
+ <condition
+ property="jvm"
+ value="${J2SE-5.0}">
+ <isset property="J2SE-5.0" />
+ </condition>
+ <runTests testPlugin="org.eclipse.jdt.core.tests.compiler" />
+ </target>
+
+ <target
+ name="jdtapt"
+ depends="setJVMProperties">
+ <property
+ name="jvm"
+ value="${J2SE-5.0}" />
+ <!--only run test if J2SE-5.0 property set-->
+ <condition property="skip.test">
+ <not>
+ <isset property="J2SE-5.0" />
+ </not>
+ </condition>
+ <runTests testPlugin="org.eclipse.jdt.apt.tests" />
+ </target>
+
+ <target
+ name="jdtaptpluggable"
+ depends="setJVMProperties">
+ <property
+ name="jvm"
+ value="${J2SE-6.0}" />
+ <!--only run test if J2SE-5.0 property set-->
+ <condition property="skip.test">
+ <not>
+ <or>
+ <isset property="J2SE-6.0" />
+ <isset property="J2SE-7.0" />
+ </or>
+ </not>
+ </condition>
+ <runTests testPlugin="org.eclipse.jdt.apt.pluggable.tests" />
+ </target>
+
+
+ <target
+ name="jdtcorebuilder"
+ depends="setJVMProperties">
+ <!--Run with 1.5 vm if it is available-->
+ <condition
+ property="jvm"
+ value="${J2SE-5.0}">
+ <isset property="J2SE-5.0" />
+ </condition>
+ <runTests testPlugin="org.eclipse.jdt.core.tests.builder" />
+ </target>
+
+ <target
+ name="jdtcompilertool"
+ depends="setJVMProperties">
+ <property
+ name="jvm"
+ value="${J2SE-6.0}" />
+ <!--only run test if J2SE-6.0 property set-->
+ <condition property="skip.test">
+ <not>
+ <or>
+ <isset property="J2SE-6.0" />
+ <isset property="J2SE-7.0" />
+ </or>
+ </not>
+ </condition>
+ <runTests testPlugin="org.eclipse.jdt.compiler.tool.tests" />
+ </target>
+
+ <target
+ name="jdtcompilerapt"
+ depends="setJVMProperties">
+ <property
+ name="jvm"
+ value="${J2SE-6.0}" />
+ <!--only run test if J2SE-6.0 property set-->
+ <condition property="skip.test">
+ <not>
+ <or>
+ <isset property="J2SE-6.0" />
+ <isset property="J2SE-7.0" />
+ </or>
+ </not>
+ </condition>
+ <runTests testPlugin="org.eclipse.jdt.compiler.apt.tests" />
+ </target>
+
+ <target
+ name="jdtcoremodel"
+ depends="setJVMProperties">
+ <condition
+ property="jvm"
+ value="${J2SE-5.0}">
+ <isset property="J2SE-5.0" />
+ </condition>
+ <runTests testPlugin="org.eclipse.jdt.core.tests.model" />
+ </target>
+
+ <target name="jdtcoreperf">
+ <runTests testPlugin="org.eclipse.jdt.core.tests.performance" />
+ </target>
+
+ <target name="jdtdebug">
+ <runTests testPlugin="org.eclipse.jdt.debug.tests" />
+ </target>
+
+ <target name="jdtui">
+ <runTests testPlugin="org.eclipse.jdt.ui.tests" />
+ </target>
+
+ <target name="jdtuirefactoring">
+ <runTests testPlugin="org.eclipse.jdt.ui.tests.refactoring" />
+ </target>
+
+ <target name="pdeui">
+ <runTests testPlugin="org.eclipse.pde.ui.tests" />
+ </target>
+
+ <target name="pdebuild">
+ <property
+ name="pdebuild"
+ value="true" />
+ <runTests testPlugin="org.eclipse.pde.build.tests" />
+ </target>
+
+ <target name="swt">
+ <runTests testPlugin="org.eclipse.swt.tests" />
+ </target>
+
+ <target name="teamcore">
+ <runTests testPlugin="org.eclipse.team.tests.core" />
+ </target>
+
+ <target name="teamcvs">
+ <property
+ name="teamcvs"
+ value="true" />
+ <runTests testPlugin="org.eclipse.team.tests.cvs.core" />
+ </target>
+
+ <target name="ui">
+ <runTests testPlugin="org.eclipse.ui.tests" />
+ </target>
+
+ <target name="uinavigator">
+ <runTests testPlugin="org.eclipse.ui.tests.navigator" />
+ </target>
+
+ <target name="uircp">
+ <runTests testPlugin="org.eclipse.ui.tests.rcp" />
+ </target>
+
+ <target name="uiforms">
+ <runTests testPlugin="org.eclipse.ui.tests.forms" />
+ </target>
+
+ <target name="uieditors">
+ <runTests testPlugin="org.eclipse.ui.editors.tests" />
+ </target>
+
+ <target name="uiperformance">
+ <runTests testPlugin="org.eclipse.ui.tests.performance" />
+ </target>
+
+ <target name="uiviews">
+ <runTests testPlugin="org.eclipse.ui.tests.views.properties.tabbed" />
+ </target>
+
+ <target name="uiworkbenchtexteditor">
+ <runTests testPlugin="org.eclipse.ui.workbench.texteditor.tests" />
+ </target>
+
+ <target name="update">
+ <runTests testPlugin="org.eclipse.update.tests.core" />
+ </target>
+
+ <target
+ name="pdeapitooling"
+ depends="setJVMProperties">
+ <property
+ name="jvm"
+ value="${J2SE-5.0}" />
+ <!--only run test if J2SE-5.0 property set-->
+ <condition property="skip.test">
+ <not>
+ <isset property="J2SE-5.0" />
+ </not>
+ </condition>
+ <runTests testPlugin="org.eclipse.pde.api.tools.tests" />
+ </target>
+
+ <target name="equinoxsecurity">
+ <runTests testPlugin="org.eclipse.equinox.security.tests" />
+ </target>
+
+ <!--
+ disable this tests for mac, for now, since always DNSs. See
+ https://bugs.eclipse.org/bugs/show_bug.cgi?id=390392
+ -->
+ <target
+ name="equinoxp2"
+ depends="setJVMProperties, checkOS"
+ unless="isMac">
+ <property
+ name="jvm"
+ value="${J2SE-5.0}" />
+ <!--only run test if J2SE-5.0 property set-->
+ <condition property="skip.test">
+ <not>
+ <isset property="J2SE-5.0" />
+ </not>
+ </condition>
+ <runTests testPlugin="org.eclipse.equinox.p2.tests" />
+ </target>
+
+ <!--
+ disable this tests for mac, for now, since always DNSs. See
+ https://bugs.eclipse.org/bugs/show_bug.cgi?id=390392
+ -->
+ <target
+ name="equinoxp2ui"
+ depends="setJVMProperties, checkOS"
+ unless="isMac">
+ <property
+ name="jvm"
+ value="${J2SE-5.0}" />
+ <!--only run test if J2SE-5.0 property set-->
+ <condition property="skip.test">
+ <not>
+ <isset property="J2SE-5.0" />
+ </not>
+ </condition>
+ <runTests testPlugin="org.eclipse.equinox.p2.tests.ui" />
+ </target>
+
+ <target
+ name="equinoxp2discovery"
+ depends="setJVMProperties">
+ <property
+ name="jvm"
+ value="${J2SE-5.0}" />
+ <!--only run test if J2SE-5.0 property set-->
+ <condition property="skip.test">
+ <not>
+ <isset property="J2SE-5.0" />
+ </not>
+ </condition>
+ <runTests testPlugin="org.eclipse.equinox.p2.tests.discovery" />
+ </target>
+
+ <target name="search">
+ <runTests testPlugin="org.eclipse.search.tests" />
+ </target>
+
+ <target name="pdeds">
+ <runTests testPlugin="org.eclipse.pde.ds.tests" />
+ </target>
+
+ <target name="bidi">
+ <runTests testPlugin="org.eclipse.equinox.bidi.tests" />
+ </target>
+
+ <target name="all">
+
+ <antcall target="quickTests" />
+ <!-- <antcall target="longRunningTests" /> -->
+
+ </target>
+
+ <target name="quickTests">
+
+ <antcall target="markCurrentTime">
+ <param
+ name="message"
+ value="start quickTests" />
+ </antcall>
+
+ <antcall target="markCurrentTime">
+ <param
+ name="message"
+ value="start platform" />
+ </antcall>
+ <antcall target="platform" />
+ <antcall target="markCurrentTime">
+ <param
+ name="message"
+ value="end platform" />
+ </antcall>
+
+ <antcall target="markCurrentTime">
+ <param
+ name="message"
+ value="start pde" />
+ </antcall>
+ <antcall target="pde" />
+ <antcall target="markCurrentTime">
+ <param
+ name="message"
+ value="end pde" />
+ </antcall>
+<!--
+ <antcall target="markCurrentTime">
+ <param
+ name="message"
+ value="start jdt" />
+ </antcall>
+ <antcall target="jdt" />
+ <antcall target="markCurrentTime">
+ <param
+ name="message"
+ value="end jdt" />
+ </antcall>
+-->
+ <antcall target="markCurrentTime">
+ <param
+ name="message"
+ value="end quickTests" />
+ </antcall>
+
+ </target>
+
+ <target name="longRunningTests">
+
+ <antcall target="markCurrentTime">
+ <param
+ name="message"
+ value="start longRunningTests" />
+ </antcall>
+
+ <antcall target="markCurrentTime">
+ <param
+ name="message"
+ value="start platformLR" />
+ </antcall>
+ <antcall target="platformLR" />
+ <antcall target="markCurrentTime">
+ <param
+ name="message"
+ value="end platformLR" />
+ </antcall>
+
+ <antcall target="markCurrentTime">
+ <param
+ name="message"
+ value="start pdeLR" />
+ </antcall>
+ <antcall target="pdeLR" />
+ <antcall target="markCurrentTime">
+ <param
+ name="message"
+ value="end pdeLR" />
+ </antcall>
+
+ <antcall target="markCurrentTime">
+ <param
+ name="message"
+ value="start jdtLR" />
+ </antcall>
+ <antcall target="jdtLR" />
+ <antcall target="markCurrentTime">
+ <param
+ name="message"
+ value="end jdtLR" />
+ </antcall>
+
+ <antcall target="markCurrentTime">
+ <param
+ name="message"
+ value="end longRunningTests" />
+ </antcall>
+
+ </target>
+
+ <!--
+ admittedly, not quite all of 'platform', but for
+ now serves dual purpose of a "short set" of tests, that area
+ relatively quick, and realtively reliable on build.eclipse.org hardware
+ -->
+ <target name="platform">
+ <antcall target="relEng" />
+ <antcall target="ant" />
+ <antcall target="antui" />
+ <antcall target="compare" />
+ <antcall target="coreruntime" />
+ <antcall target="swt" />
+ <antcall target="coreexpressions" />
+ <antcall target="coretestsnet" />
+ <antcall target="text" />
+ <antcall target="jfacedatabinding" />
+ <antcall target="filebuffers" />
+ <antcall target="teamcore" />
+ <antcall target="uadoc" />
+ <antcall target="uieditors" />
+ <antcall target="uinavigator" />
+ <antcall target="uiworkbenchtexteditor" />
+
+
+
+ <antcall target="ua" />
+ <antcall target="uiforms" />
+ <antcall target="equinoxp2ui" />
+ <antcall target="equinoxsecurity" />
+ <antcall target="search" />
+ <antcall target="debug" />
+ <antcall target="equinoxds" />
+ <antcall target="equinoxp2discovery" />
+ <antcall target="bidi" />
+ <antcall target="ltkuirefactoringtests" />
+ <antcall target="ltkcorerefactoringtests" />
+ </target>
+
+ <!-- this group is "platform tests" that are Long Running (or, perhaps
+ hang, during performance tests
+ -->
+ <target name="platformLR">
+ <antcall target="osgi" />
+ <antcall target="coreresources" />
+ <antcall target="equinoxp2" />
+ <antcall target="teamcvs" />
+ <antcall target="jface" />
+ <antcall target="ui" />
+ <antcall target="uiperformance" />
+ <!-- don't run now, for 4.2. See bug 380553.
+ <antcall target="uircp" />
+ -->
+
+ <!-- disable for now, bug 398717
+ antcall target="uiviews" /
+ -->
+ </target>
+
+ <target name="pde">
+ <antcall target="pdeds" />
+ <antcall target="pdeui" />
+ </target>
+
+ <target name="pdeLR">
+ <antcall target="pdeapitooling" />
+ <antcall target="pdebuild" />
+ </target>
+
+ <target name="jdt">
+ <antcall target="jdtcompilertool" />
+ <antcall target="jdtcompilerapt" />
+ <antcall target="jdttext" />
+ <antcall target="jdtcoreperf" />
+ <antcall target="jdtcorebuilder" />
+ <antcall target="jdtdebug" />
+ <antcall target="jdtapt" />
+ <antcall target="jdtaptpluggable" />
+ </target>
+
+ <target name="jdtLR">
+ <antcall target="jdtui" />
+ <antcall target="jdtuirefactoring" />
+ <antcall target="jdtcoremodel" />
+ <antcall target="jdtcorecompiler" />
+ </target>
+
+ <!-- we could put other variables/os checks here, if needed -->
+ <target name="checkOS">
+ <condition
+ property="isMac"
+ value="true">
+ <os family="mac" />
+ </condition>
+ <condition
+ property="isUnix"
+ value="true">
+ <os family="unix" />
+ </condition>
+ </target>
+ <macrodef name="markTime">
+ <attribute name="msg" />
+ <sequential>
+ <!--
+ we write the message first, with no ${line.separator} so that the timestamp can
+ go on same line, and my side-effect writes an EOL
+ -->
+ <echo
+ message="@{msg} "
+ append="true"
+ file="${junit-report-output}/testTimes.log" />
+ <!-- This executable should run on all unix platforms (linux, mac) -->
+ <exec
+ executable="date"
+ append="true"
+ output="${junit-report-output}/testTimes.log"
+ osfamily="unix">
+ <arg value="+%s" />
+ </exec>
+ </sequential>
+ </macrodef>
+ <target
+ name="markCurrentTime"
+ depends="checkOS"
+ if="isUnix">
+ <!-- caller in callant is expected to supply msg -->
+ <property
+ name="message"
+ value="no message given by caller" />
+ <markTime msg="${message}" />
+ </target>
+
+</project>
diff --git a/production/testScripts/configuration/streamSpecific-build.properties b/production/testScripts/configuration/streamSpecific-build.properties
new file mode 100644
index 00000000..f84d58cb
--- /dev/null
+++ b/production/testScripts/configuration/streamSpecific-build.properties
@@ -0,0 +1,38 @@
+# misc. build properties, varing by stream or release
+
+# purely title or identifier for display, to help confirm right file
+# is being retrived and used.
+streamSpecificPropertiesTitle="Properties for 4.3.0 builds and tests"
+
+# emfRepoURL should NOT be defined in 38 builds, so the
+# builder will know to "skip" tasks related to EMF
+# Note: this URL needs to be updated everyone milestone/RC when ever there is a
+# new version to pick up.
+#emfRepoURL=http://download.eclipse.org/modeling/emf/emf/updates/2.8/base/R201206060717
+emfRepoURL=http://download.eclipse.org/modeling/emf/emf/updates/2.9milestones/base/S201212130932
+
+# TODO: we could likely get rid of this section,
+# now that we have ${eclipseStreamMajor} and ${eclipseStreamMinor} available in main scripts
+# (but, we'd still need _this_ file anyway, so can improve these repo location variables later.
+p2repoN=http://@localmirror@/eclipse/updates/4.3-N-builds
+p2repoI=http://@localmirror@/eclipse/updates/4.3-I-builds
+p2repoM=http://@localmirror@/eclipse/updates/4.3.x
+p2repoNPath=/eclipse/updates/4.3-N-builds
+p2repoIPath=/eclipse/updates/4.3-I-builds
+p2repoMPath=/eclipse/updates/4.3.x
+p2repopreviousR=http://@localmirror@/eclipse/updates/3.7/R-3.7.2-201202080800
+p2repoXPath=/eclipse/updates/4.3-X-builds
+
+# Note: API tests needs the _base_ of previous release, and also the previous service release
+# Bug 378587 - update releng tests (data) to go work against previous release
+# Bug 380033 - temp fix to hard code 'archive.eclipse.org' for now
+apiTestsPreviousBaseDLBaseURL=http://${ARCHIVE_HOST}/eclipse/downloads/drops4/R-4.1-201106201631
+apiTestsPreviousBaseWin32Filename=eclipse-SDK-4.1-win32.zip
+apiTestsPreviousRefererenceBaseDLBaseURL=http://${ARCHIVE_HOST}/eclipse/downloads/drops4/R-4.1.2-201202230900
+apiTestsPreviousRefererenceWin32Filename=eclipse-SDK-4.1.2-win32.zip
+
+# Bug 392521 - add variable to represent hpux ia64 bitness per stream
+# https://bugs.eclipse.org/bugs/show_bug.cgi?id=392521
+hpuxia64bitness=ia64
+
+excludeicubase=true
diff --git a/production/testScripts/genTestIndexes.xml b/production/testScripts/genTestIndexes.xml
new file mode 100644
index 00000000..42954789
--- /dev/null
+++ b/production/testScripts/genTestIndexes.xml
@@ -0,0 +1,252 @@
+<project
+ name="Helper targets"
+ default="generateEclipseIndex"
+ basedir=".">
+
+ <target name="init" depends="initStreamVariables" unless="genTestIndexesInitialized">
+ <fail unless="buildId" />
+ <fail unless="eclipseStream" />
+ <fail unless="BUILD_TECH" />
+
+
+ <script language="javascript">
+ var buildId = project.getProperty("buildId");
+ var pattern = new RegExp(/^([IMNSR])(\d{8})-(\d{4})$/);
+
+ var sArray = pattern.exec(buildId);
+ // sArray 0 is "whole match"
+ project.setProperty("buildType", sArray[1]);
+ </script>
+
+ <!--
+ TODO: make less exactly hard coded in future
+ also, check for validity using "matches" digit*\.digit*\.digit*
+ -->
+ <condition
+ property="dropsDirSegment"
+ value="drops4"
+ else="drops">
+ <equals
+ arg1="${eclipseStreamMajor}"
+ arg2="4" />
+ </condition>
+
+ <condition
+ property="dropsDirXSegment"
+ value="${dropsDirSegment}cbibased"
+ else="${dropsDirSegment}">
+ <equals
+ arg1="${BUILD_TECH}"
+ arg2="CBI" />
+ </condition>
+
+ <condition
+ property="buildRoot"
+ value="/shared/eclipse/builds/${eclipseStreamMajor}${buildType}"
+ else="/shared/eclipse/eclipse${eclipseStreamMajor}${buildType}">
+ <equals
+ arg1="${BUILD_TECH}"
+ arg2="CBI" />
+ </condition>
+
+ <property
+ name="postingDirectory"
+ value="${buildRoot}/siteDir/eclipse/downloads/${dropsDirXSegment}" />
+
+ <!--
+ <property
+ name="builderDir"
+ value="${buildRoot}/build/supportDir/org.eclipse.releng.eclipsebuilder" />
+ -->
+
+ <!-- This is purely a subset of tychoeclipsebuilder files, copyied at build time, so part of
+ the results output we are working on, so they will be the same once the tests are done, even if gitCache updated by anohter build,
+ or a run from previous test results -->
+ <!-- /data/shared/eclipse/builds/4N/master/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.releng.tychoeclipsebuilder/eclipse/publishingFiles -->
+ <property
+ name="publishingContent"
+ value="${postingDirectory}/${buildId}/eclipse.platform.releng.aggregator/eclipse.platform.releng.tychoeclipsebuilder/eclipse/publishingFiles" />
+
+ <!-- This is our new, "safe for every test" location -->
+ <property
+ name="base.builder"
+ value="${postingDirectory}/${buildId}/org.eclipse.releng.basebuilder" />
+
+ <!-- publish.xml expects buildLabel in places, instead of buildId,
+ though we use them interchangebly -->
+ <property
+ name="buildLabel"
+ value="${buildId}" />
+ <!--
+ <property
+ name="eclipse.build.configs"
+ value="${builderDir}/eclipse/buildConfigs" />
+ -->
+ <!--
+ <property
+ name="buildDirectory"
+ value="${basedir}/../src" />
+-->
+ <!-- Not sure this is the "working directory" expected. May impact ability
+ to get/find "buildNotes"? Need to copy such "source" things at build time. -->
+ <property
+ name="buildDirectory"
+ value="${postingDirectory}/${buildId}" />
+
+
+ <property name="genTestIndexesInitialized" value="true"/>
+
+
+ </target>
+
+ <target name="generateEclipseIndex" depends="init" >
+ <condition
+ property="generatorClass"
+ value="org.eclipse.releng.generators.EclipseTestResultsGeneratorNoMail">
+ <equals
+ arg1="${hudson}"
+ arg2="true" />
+ </condition>
+ <property
+ name="generatorClass"
+ value="org.eclipse.releng.generators.EclipseTestResultsGenerator" />
+
+ <echo message="DEBUG: generatorClass: ${generatorClass}" />
+ <available
+ classname="${generatorClass}"
+ property="class"
+ value="${generatorClass}" />
+
+ <property name="genTestIndexesdropTokenList"
+ value="%sdk%,%tests%,%example%,%rcpruntime%,%rcpsdk%,%deltapack%,%icubase%,%runtime%,%jdt%,%jdtsdk%,%jdtc%,%pde%,%pdesdk%,%cvs%,%cvssdk%,%swt%,%relengtools%" />
+
+ <!--regenerate the index page with links to test results -->
+ <!-- function moved from "helpernew.xml" to here, to consolidate yet modularize all it did was set properties and call publish.xml
+ <ant
+ antfile="${builderDir}/eclipse/helpernew.xml"
+ dir="${publishingContent}"
+ target="generateEclipseIndex">
+ -->
+
+ <property
+ name="isBuildTested"
+ value="true" />
+ <!--<property
+ name="buildType"
+ value="${buildType}" /> -->
+ <property name="dropTokenList"
+ value="${genTestIndexesdroptTokenList}" />
+ <property
+ name="platformIdentifierToken"
+ value="%platform%" />
+ <property
+ name="platformSpecificTemplateList"
+ value="Windows,${publishingContent}/templateFiles/platform.php.template,winPlatform.php;Linux,${publishingContent}/templateFiles/platform.php.template,linPlatform.php;Solaris,${publishingContent}/templateFiles/platform.php.template,solPlatform.php;AIX,${publishingContent}/templateFiles/platform.php.template,aixPlatform.php;Macintosh,${publishingContent}/templateFiles/platform.php.template,macPlatform.php;HP-UX,${publishingContent}/templateFiles/platform.php.template,hpuxPlatform.php" />
+ <property
+ name="indexFileName"
+ value="index.php" />
+ <property
+ name="result"
+ value="${postingDirectory}/${buildId}" />
+ <property
+ name="testResultsTemplateFileName"
+ value="${publishingContent}/templateFiles/testResults.php.template" />
+ <property
+ name="dropTemplateFileName"
+ value="${publishingContent}/templateFiles/index.php.template" />
+ <property
+ name="testManifestFileName"
+ value="${publishingContent}/testManifest.xml" />
+
+ <antcall target="publishEclipseIndex">
+ </antcall>
+
+ </target>
+
+ <target name="publishEclipseIndex">
+
+
+ <!--regenerate the index page with links to test results -->
+ <ant
+ antfile="${base.builder}/plugins/org.eclipse.build.tools/scripts/publish.xml"
+ dir="${publishingContent}"
+ target="generateIndex">
+ <property
+ name="isBuildTested"
+ value="true" />
+ <property
+ name="buildType"
+ value="${buildType}" />
+ <property
+ name="dropTokenList"
+ value="%sdk%,%tests%,%example%,%rcpruntime%,%rcpsdk%,%deltapack%,%icubase%,%runtime%,%jdt%,%jdtsdk%,%jdtc%,%pde%,%pdesdk%,%cvs%,%cvssdk%,%swt%,%relengtools%" />
+ <property
+ name="platformIdentifierToken"
+ value="%platform%" />
+ <property
+ name="platformSpecificTemplateList"
+ value="Windows,${publishingContent}/templateFiles/platform.php.template,winPlatform.php;Linux,${publishingContent}/templateFiles/platform.php.template,linPlatform.php;Solaris,${publishingContent}/templateFiles/platform.php.template,solPlatform.php;AIX,${publishingContent}/templateFiles/platform.php.template,aixPlatform.php;Macintosh,${publishingContent}/templateFiles/platform.php.template,macPlatform.php;HP-UX,${publishingContent}/templateFiles/platform.php.template,hpuxPlatform.php" />
+ <property
+ name="indexFileName"
+ value="index.php" />
+ <property
+ name="result"
+ value="${postingDirectory}/${buildLabel}" />
+ <property
+ name="testResultsTemplateFileName"
+ value="${publishingContent}/templateFiles/testResults.php.template" />
+ <property
+ name="dropTemplateFileName"
+ value="${publishingContent}/templateFiles/index.php.template" />
+ <property
+ name="testManifestFileName"
+ value="${publishingContent}/testManifest.xml" />
+ </ant>
+
+ <!-- Replace build label in generated html files
+ TODO: Make these "php variables" that are read by index.php, from dl directory so we don't need to do this
+ -->
+ <replace
+ dir="${postingDirectory}/${buildLabel}"
+ token="@buildlabel@"
+ value="${buildLabel}"
+ includes="**/*.php" />
+ <replace
+ dir="${postingDirectory}/${buildId}"
+ token="@eclipseStream@"
+ value="${eclipseStream}"
+ includes="**/*.php" />
+
+
+
+ </target>
+
+ <target name="initStreamVariables">
+
+ <fail
+ unless="eclipseStream"
+ message="eclipseStream must be provided by caller" />
+ <condition property="streamOK">
+ <matches
+ pattern="\d\.\d\.\d"
+ string="${eclipseStream}" />
+ </condition>
+ <fail
+ message="eclipseStream variable had unexpected format. Should be digit.digit.digit, but was ${eclipseStream}"
+ unless="streamOK" />
+ <script language="javascript">
+ var eclipseStream = project.getProperty("eclipseStream");
+ var pattern = new
+ RegExp(/(\d+)\.(\d+)\.(\d+)/);
+
+ var sArray = pattern.exec(eclipseStream);
+ // sArray[0] is "whole match"
+ project.setProperty("eclipseStreamMajor", sArray[1]);
+ project.setProperty("eclipseStreamMinor", sArray[2]);
+ project.setProperty("eclipseStreamService", sArray[3]);
+
+ </script>
+
+ </target>
+
+</project>
diff --git a/production/testScripts/getBaseBuilder.xml b/production/testScripts/getBaseBuilder.xml
new file mode 100644
index 00000000..e318736d
--- /dev/null
+++ b/production/testScripts/getBaseBuilder.xml
@@ -0,0 +1,274 @@
+<?xml version="1.0" encoding="UTF-8"?>
+ <!--
+ A utility ant script get the base builder from CVS.
+ Hudson jobs can call this script from ant
+ as one of it first build steps.
+ -->
+<project
+ name="getBaseBuilder"
+ default="getBaseBuilder"
+ basedir=".">
+
+ <target
+ name="hudson-init"
+ if="hudson"
+ depends="checkHudson">
+ <!-- as of this writing, 04/22/2012, this was current list of
+ hudson provided variables. We take advantage of a number
+ of them, but "translate" them into our own variable names,
+ for a little loser build-system seperattion
+ BUILD_NUMBER
+ The current build number, such as "153"
+ BUILD_ID
+ The current build id, such as "2005-08-22_23-59-59" (YYYY-MM-DD_hh-mm-ss)
+ JOB_NAME
+ Name of the project of this build, such as "foo"
+ BUILD_TAG
+ String of "hudson-${JOB_NAME}-${BUILD_NUMBER}". Convenient to put into a resource file, a jar file, etc for easier identification.
+ EXECUTOR_NUMBER
+ The unique number that identifies the current executor (among executors of the same machine) that's carrying out this build. This is the number you see in the "build executor status", except that the number starts from 0, not 1.
+ NODE_NAME
+ Name of the slave if the build is on a slave, or "" if run on master
+ NODE_LABELS
+ Whitespace-separated list of labels that the node is assigned.
+ JAVA_HOME
+ If your job is configured to use a specific JDK, this variable is set to the JAVA_HOME of the specified JDK. When this variable is set, PATH is also updated to have $JAVA_HOME/bin.
+ WORKSPACE
+ The absolute path of the workspace.
+ HUDSON_URL
+ Full URL of Hudson, like http://server:port/hudson/
+ BUILD_URL
+ Full URL of this build, like http://server:port/hudson/job/foo/15/
+ JOB_URL
+ Full URL of this job, like http://server:port/hudson/job/foo/
+ SVN_REVISION
+ For Subversion-based projects, this variable contains the revision number of the module.
+ CVS_BRANCH
+ For CVS-based projects, this variable contains the branch of the module. If CVS is configured to check out the trunk, this environment variable will not be set.
+ HUDSON_USER
+ Currently logged in user
+ -->
+ <property environment="hudson" />
+ <property
+ name="WORKSPACE"
+ value="${hudson.WORKSPACE}" />
+ <!--
+ <property
+ name="BUILD_ID"
+ value="${hudson.BUILD_ID}" />
+ <property
+ name="BUILD_NUMBER"
+ value="${hudson.BUILD_NUMBER}" />
+ <property
+ name="JOB_NAME"
+ value="${hudson.JOB_NAME}" />
+ -->
+
+
+ </target>
+ <target
+ name="init"
+ depends="hudson-init"
+ unless="getBaseBuilderInitialized">
+
+ <!-- assign defaults if not on hudson, for local testing if nothing else -->
+ <property
+ name="WORKSPACE"
+ value="${basedir}" />
+
+ <property
+ name="builderVersion"
+ value="R38M6PlusRC3F" />
+
+ <property
+ name="cvsRoot"
+ value=":pserver:anonymous@dev.eclipse.org:/cvsroot/eclipse" />
+ <property
+ name="cvsProject"
+ value="org.eclipse.releng.basebuilder" />
+
+ <!-- the desired folder name (made to stay consistent with cvs module name, though Git project
+ is named eclipse.platform.releng.basebuilder fil-->
+ <property
+ name="folderName"
+ value="org.eclipse.releng.basebuilder" />
+
+ <condition property="fetchSource" value="git">
+ <not>
+ <isset property="basebuilderlocal" />
+ </not>
+ </condition>
+
+ <echo message="hudson: ${hudson}" />
+ <echo message="WORKSPACE: ${WORKSPACE}" />
+ <echo message="basebuilder version: ${builderVersion}" />
+ <echo message="cvsRoot: ${cvsRoot}" />
+ <echo message="cvsProject: ${cvsProject}" />
+ <echo message="fetchSource: ${fetchSource}" />
+
+ <!-- leave useGit undefined to imply to use CVS. Callers can override git defaults with -DfetchSource=cvs
+ or, anything besides 'git' implies cvs.
+ -->
+ <condition
+ property="useGit"
+ value="true">
+ <equals
+ arg1="${fetchSource}"
+ arg2="git"
+ casesensitive="false"
+ trim="true" />
+ </condition>
+ <echo message="useGit: ${useGit}" />
+ <!-- don't need? yet
+ <echo message="BUILD_ID: ${BUILD_ID}" />
+ <echo message="BUILD_NUMBER: ${BUILD_NUMBER}" />
+ <echo message="JOB_NAME: ${JOB_NAME}" />
+ <echo message="buildId: ${buildId}" />
+ -->
+
+
+ <!-- not used? But, may want in future?
+ <condition
+ property="buildcleanarg"
+ value="-Dbuild.clean=${build.clean}"
+ else="">
+ <isset property="build.clean" />
+ </condition>
+
+ <condition
+ property="buildercleanarg"
+ value="-Dcheckout.builder.clean=${checkout.builder.clean}"
+ else="">
+ <isset property="checkout.builder.clean" />
+ </condition>
+ -->
+ <property
+ name="getBaseBuilderInitialized"
+ value="true" />
+ </target>
+
+
+ <target
+ name="getBaseBuilder"
+ depends="checkHudson, init">
+
+ <fail
+ unless="builderVersion"
+ message="This script needs builderVersion to run" />
+
+ <!-- remove old one, if there, and make sure one exists for eventual checkout/copy/globmapper -->
+ <delete dir="${WORKSPACE}/${folderName}" />
+ <mkdir dir="${WORKSPACE}/${folderName}" />
+
+ <antcall target="fetchBaseBuilder" />
+ <antcall target="fetchBaseBuilderLocal" />
+
+ </target>
+ <!-- hurestic to check if we are running on hudson variable, if so -->
+ <target name="checkHudson">
+ <!-- HUDSON_USER should just be "anonyous" for most of our cases (currently)
+ but seems a safe variable to check ... if set, assume we are on hudson,
+ if not set, assume we are not and leave "hudson" unset (not false)
+ Hmm, seems HUDSON_USER is not reliably set. The only 4 I saw reliably
+ set were
+ [echoproperties] env.HUDSON_COOKIE
+ [echoproperties] env.HUDSON_HOME
+ [echoproperties] env.HUDSON_SERVER_COOKIE
+ [echoproperties] env.HUDSON_URL
+ Not sure which would be best/safest to use in huristic, but
+ I'll go with URL for now.
+ -->
+ <property environment="env" />
+ <condition property="hudson">
+ <isset property="env.HUDSON_URL" />
+ </condition>
+
+ </target>
+ <target
+ name="fetchBaseBuilderFromGit"
+ depends="init"
+ if="useGit">
+ <echo message="Fetching basebuilder from Git via CGit" />
+ <get
+ src="http://git.eclipse.org/c/platform/eclipse.platform.releng.basebuilder.git/snapshot/eclipse.platform.releng.basebuilder-${builderVersion}.zip"
+ dest="${WORKSPACE}/basebuilder-${builderVersion}.zip" />
+ <unzip
+ src="${WORKSPACE}/basebuilder-${builderVersion}.zip"
+ dest="${WORKSPACE}"
+ overwrite="true" />
+
+ <move todir="${WORKSPACE}/${folderName}">
+ <fileset dir="${WORKSPACE}/eclipse.platform.releng.basebuilder-${builderVersion}">
+ <include name="**/*" />
+ </fileset>
+ </move>
+
+ <chmod perm="ugo+x">
+ <fileset dir="${WORKSPACE}/${folderName}">
+ <include name="eclipse" />
+ <include name="*.so*" />
+ </fileset>
+ </chmod>
+
+ <!-- we've moved the files, now to remove the empty dir -->
+ <delete dir="${WORKSPACE}/eclipse.platform.releng.basebuilder-${builderVersion}" />
+
+ <!-- not sure why I couldn't get globmapper to work here with unzip?
+ <globmapper
+ from="eclipse.platform.releng.basebuilder-${builderVersion}/*"
+ to="${folderName}/*" />
+ -->
+
+ <!-- cleanup (may eventually want to "cache" this zip file, so no need to re-fetch if already exists
+ temp leave to save a copy
+ <delete file="${WORKSPACE}/basebuilder-${builderVersion}.zip" />
+ -->
+
+ </target>
+
+ <target
+ name="fetchBaseBuilderFromCVS"
+ depends="init"
+ unless="useGit">
+ <echo message="Fetching basebuilder from CVS" />
+ <cvs
+ cvsroot="${cvsRoot}"
+ command="export"
+ quiet="true"
+ dest="${WORKSPACE}"
+ tag="${builderVersion}"
+ package="${cvsProject}">
+ </cvs>
+ </target>
+
+ <target
+ name="fetchBaseBuilder"
+ depends="init, fetchBaseBuilderFromCVS, fetchBaseBuilderFromGit"
+ unless="basebuilderlocal">
+ <echo message="Fetched basebuilder to ${WORKSPACE}/${folderName}" />
+ </target>
+ <target
+ name="fetchBaseBuilderLocal"
+ depends="init"
+ if="basebuilderlocal">
+ <unzip
+ src="${basebuilderlocal}/basebuilder-${builderVersion}.zip"
+ dest="${WORKSPACE}"
+ overwrite="true" />
+
+ <move todir="${WORKSPACE}/${folderName}">
+ <fileset dir="${WORKSPACE}/eclipse.platform.releng.basebuilder-${builderVersion}">
+ <include name="**/*" />
+ </fileset>
+ </move>
+
+ <chmod perm="ugo+x">
+ <fileset dir="${WORKSPACE}/${folderName}">
+ <include name="eclipse" />
+ <include name="*.so*" />
+ </fileset>
+ </chmod>
+ <echo message="Copied basebuilder to ${WORKSPACE}/${folderName}" />
+
+ </target>
+</project> \ No newline at end of file
diff --git a/production/testScripts/invokeTestsJSON.xml b/production/testScripts/invokeTestsJSON.xml
new file mode 100644
index 00000000..40402b45
--- /dev/null
+++ b/production/testScripts/invokeTestsJSON.xml
@@ -0,0 +1,180 @@
+<!-- Copyright (c) 2011 IBM Corporation and others. All rights reserved.
+ This program and the accompanying materials are made available under the
+ terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ and is available at http://www.eclipse.org/legal/epl-v10.html Contributors:
+ IBM Corporation - initial API and implementation -->
+
+ <!--
+ this script is invoked by the build, on the build machine,
+ to signify to hudson "the build is done", pass a few parameters,
+ then let Hudson take over.
+
+ wget - -no-verbose -O invokeTestsJSON.xml http://git.eclipse.org/c/platform/eclipse.platform.releng.eclipsebuilder.git/plain/invokeTestsJSON.xml?h=master 2>&1;
+
+ -->
+
+<project
+ name="Hudson-Tests"
+ default="runTests"
+ basedir=".">
+
+ <target
+ name="runTests"
+ depends="init">
+ <echo message="invokeTestsJSON.xml" />
+ <echo message="env.HUDSON_PROTOCOL: ${env.HUDSON_PROTOCOL}" />
+ <echo message="env.HUDSON_HOST: ${env.HUDSON_HOST}" />
+ <echo message="buildId: ${buildId} " />
+ <echo message="eclipseStream: ${eclipseStream}" />
+ <echo message="eclipseStreamMajor: ${eclipseStreamMajor}" />
+ <echo message="BUILD_TECH: ${BUILD_TECH}" />
+ <echo message="EBUILDER_HASH: ${EBUILDER_HASH}" />
+ <antcall target="JUnitTests" />
+ </target>
+
+
+ <target
+ name="JUnitTests"
+ depends="init">
+
+ <!--
+ currently we test on three platforms.
+ So, three parallel calls since on different machines (and Hudson queues).
+ TODO: Can these be called, in parrallel via callant (or, perhaps subant?)
+ for greater flexibility in what to test?
+ -->
+
+ <parallel>
+
+ <antcall target="triggerHudsonTests">
+ <param
+ name="job"
+ value="ep${eclipseStreamMajor}-unit-lin64" />
+ </antcall>
+<!-- TEMP: Linux only, for now, for CBI.
+ <antcall target="triggerHudsonTests">
+ <param
+ name="job"
+ value="ep${eclipseStreamMajor}-unit-win32" />
+ </antcall>
+
+ <antcall target="triggerHudsonTests">
+ <param
+ name="job"
+ value="ep${eclipseStreamMajor}-unit-mac64" />
+ </antcall>
+-->
+ </parallel>
+ </target>
+
+
+ <target
+ name="triggerHudsonTests"
+ depends="init">
+
+
+
+ <!--
+ baseURL used to be "required parameter" for Hudson job, but seemed overly complicated so
+ I compute all this later (based on stream and id) but, I've learned, one disadvantage is this
+ restricts test code locations to "downloads". There might be times we want to do from "build"
+ locations, or similar. Not to mention, other, internal test systems someday.
+
+ <property
+ name="baseURL"
+ value="http://download.eclipse.org/eclipse/downloads/${dropsDirSegment}/${buildId}" />
+ -->
+
+ <!-- Hudson jobs currently have four required parameters -->
+ <property
+ name="JSON_buildId"
+ value="{&quot;name&quot;:&quot;buildId&quot;,&quot;value&quot;:&quot;${buildId}&quot;}" />
+ <property
+ name="JSON_eclipseStream"
+ value="{&quot;name&quot;:&quot;eclipseStream&quot;,&quot;value&quot;:&quot;${eclipseStream}&quot;}" />
+ <property
+ name="JSON_BUILD_TECH"
+ value="{&quot;name&quot;:&quot;BUILD_TECH&quot;,&quot;value&quot;:&quot;${BUILD_TECH}&quot;}" />
+ <property
+ name="JSON_EBUILDER_HASH"
+ value="{&quot;name&quot;:&quot;EBUILDER_HASH&quot;,&quot;value&quot;:&quot;${EBUILDER_HASH}&quot;}" />
+
+ <property
+ name="json"
+ value="{&quot;parameter&quot;: [${JSON_buildId},${JSON_eclipseStream},${JSON_BUILD_TECH},${JSON_EBUILDER_HASH}] }" />
+
+
+
+ <echo message="env.HUDSON_PROTOCOL: ${env.HUDSON_PROTOCOL}" />
+ <echo message="env.HUDSON_HOST: ${env.HUDSON_HOST}" />
+
+ <echo message="${json}" />
+ <exec executable="curl">
+ <arg line="-X POST" />
+ <arg value="${env.HUDSON_PROTOCOL}://${env.HUDSON_HOST}/hudson/job/${job}/build" />
+ <arg line="-d token=${env.HUDSON_TOKEN}" />
+ <arg value="--data-urlencode" />
+ <arg value="json=${json}" />
+ </exec>
+
+ </target>
+
+ <target
+ name="init"
+ depends="initStreamVariables"
+ unless="invokeTestsJSONinitialized">
+
+ <property environment="env" />
+
+ <property
+ name="env.HUDSON_HOST"
+ value="hudson.eclipse.org" />
+ <property
+ name="env.HUDSON_PROTOCOL"
+ value="https" />
+
+
+ <script language="javascript">
+ var buildId = project.getProperty("buildId");
+ var pattern = new RegExp(/^([IMNSR])(\d{8})-(\d{4})$/);
+
+ var sArray = pattern.exec(buildId);
+ // sArray 0 is "whole match"
+ project.setProperty("buildType", sArray[1]);
+ </script>
+
+ <property
+ name="invokeTestsJSONinitialized"
+ value="true" />
+ </target>
+
+ <target name="initStreamVariables">
+
+ <fail
+ unless="eclipseStream"
+ message="eclipseStream must be provided by caller" />
+ <condition property="streamOK">
+ <matches
+ pattern="\d\.\d\.\d"
+ string="${eclipseStream}" />
+ </condition>
+ <fail
+ message="eclipseStream variable had unexpected format. Should be digit.digit.digit, but was ${eclipseStream}"
+ unless="streamOK" />
+ <script language="javascript">
+ var eclipseStream = project.getProperty("eclipseStream");
+ var pattern = new
+ RegExp(/(\d+)\.(\d+)\.(\d+)/);
+
+ var sArray = pattern.exec(eclipseStream);
+ // sArray[0] is "whole match"
+ project.setProperty("eclipseStreamMajor", sArray[1]);
+ project.setProperty("eclipseStreamMinor", sArray[2]);
+ project.setProperty("eclipseStreamService", sArray[3]);
+
+ </script>
+
+ </target>
+
+
+</project> \ No newline at end of file
diff --git a/production/testScripts/runTests2.xml b/production/testScripts/runTests2.xml
new file mode 100644
index 00000000..f2771602
--- /dev/null
+++ b/production/testScripts/runTests2.xml
@@ -0,0 +1,751 @@
+<project
+ name="runTests2"
+ default="runTests2"
+ basedir=".">
+
+ <!-- hurestic to check if we are running on hudson variable, if so -->
+ <target name="checkHudson">
+ <!-- HUDSON_USER should just be "anonyous" for most of our cases (currently)
+ but seems a safe variable to check ... if set, assume we are on hudson,
+ if not set, assume we are not and leave "hudson" unset (not false)
+ Hmm, seems HUDSON_USER is not reliably set. The only 4 I saw reliably
+ set were
+ [echoproperties] env.HUDSON_COOKIE
+ [echoproperties] env.HUDSON_HOME
+ [echoproperties] env.HUDSON_SERVER_COOKIE
+ [echoproperties] env.HUDSON_URL
+ Not sure which would be best/safest to use in huristic, but
+ I'll go with URL for now.
+ -->
+ <property environment="env" />
+ <condition property="hudson">
+ <isset property="env.HUDSON_URL" />
+ </condition>
+
+ </target>
+
+ <target
+ name="hudson-init"
+ if="hudson"
+ depends="checkHudson">
+ <!-- as of this writing, 04/22/2012, this was current list of
+ hudson provided variables. We take advantage of a number
+ of them, but "translate" them into our own variable names,
+ for a little loser build-system seperattion
+ BUILD_NUMBER
+ The current build number, such as "153"
+ BUILD_ID
+ The current build id, such as "2005-08-22_23-59-59" (YYYY-MM-DD_hh-mm-ss)
+ JOB_NAME
+ Name of the project of this build, such as "foo"
+ BUILD_TAG
+ String of "hudson-${JOB_NAME}-${BUILD_NUMBER}". Convenient to put into a resource file, a jar file, etc for easier identification.
+ EXECUTOR_NUMBER
+ The unique number that identifies the current executor (among executors of the same machine) that's carrying out this build. This is the number you see in the "build executor status", except that the number starts from 0, not 1.
+ NODE_NAME
+ Name of the slave if the build is on a slave, or "" if run on master
+ NODE_LABELS
+ Whitespace-separated list of labels that the node is assigned.
+ JAVA_HOME
+ If your job is configured to use a specific JDK, this variable is set to the JAVA_HOME of the specified JDK. When this variable is set, PATH is also updated to have $JAVA_HOME/bin.
+ WORKSPACE
+ The absolute path of the workspace.
+ HUDSON_URL
+ Full URL of Hudson, like http://server:port/hudson/
+ BUILD_URL
+ Full URL of this build, like http://server:port/hudson/job/foo/15/
+ JOB_URL
+ Full URL of this job, like http://server:port/hudson/job/foo/
+ SVN_REVISION
+ For Subversion-based projects, this variable contains the revision number of the module.
+ CVS_BRANCH
+ For CVS-based projects, this variable contains the branch of the module. If CVS is configured to check out the trunk, this environment variable will not be set.
+ HUDSON_USER
+ Currently logged in user
+ -->
+ <property environment="hudson" />
+ <property
+ name="WORKSPACE"
+ value="${hudson.WORKSPACE}" />
+ <echo message="Found we are running in hudson and set workspace to ${WORKSPACE}" />
+
+ </target>
+ <target
+ name="init"
+ depends="hudson-init, streamSpecificInit">
+
+ <!-- if not specified on command line, assume files come from 'download.eclipse.org' -->
+ <property name="DOWNLOAD_HOST" value="download.eclipse.org"/>
+ <property name="ARCHIVE_HOST" value="archive.eclipse.org"/>
+
+ <condition
+ property="dropsSuffix"
+ value="cbibased"
+ else="">
+ <equals
+ arg1="${BUILD_TECH}"
+ arg2="CBI" />
+ </condition>
+
+ <!-- if not otherwise set, such as by hudson-init,
+ assume "current directory" for WORKSPACE -->
+ <property
+ name="WORKSPACE"
+ value="${basedir}" />
+
+
+ <property
+ name="relengBaseBuilderDir"
+ value="${WORKSPACE}/org.eclipse.releng.basebuilder" />
+ <property
+ name="eclipseBuilderDir"
+ value="${WORKSPACE}/eclipse.platform.releng.aggregator/production/testScripts/configuration" />
+
+ <fail
+ unless="buildId"
+ message="buildId value must be provided by caller (such as 'I20120717-0800'" />
+
+ <!--
+ this "buildId check" may be overly strict, but best to start off strict for now,
+ loosen in future if we start to find/have variety
+ -->
+
+ <condition property="buildIdOK">
+ <matches
+ pattern="^[IMNSR]\d{8}-\d{4}$"
+ string="${buildId}" />
+ </condition>
+ <fail
+ message="buildId variable had unexpected format. Should be of the form [IMNSR] 8 digits '-' 4 digits, but was ${buildId}"
+ unless="buildIdOK" />
+
+ <script language="javascript">
+ var buildId = project.getProperty("buildId");
+ var pattern = new RegExp(/^([IMNSR])(\d{8})-(\d{4})$/);
+
+ var sArray = pattern.exec(buildId);
+ // sArray 0 is "whole match"
+ project.setProperty("buildType", sArray[1]);
+ </script>
+
+
+ <fail unless="buildType" />
+
+
+ <echo message="hudson: ${hudson}" />
+ <echo message="WORKSPACE: ${WORKSPACE}" />
+ <echo message="buildId: ${buildId}" />
+ <echo message="relengBaseBuilderDir: ${relengBaseBuilderDir}" />
+ <echo message="eclipseBuilderDir: ${eclipseBuilderDir}" />
+ <echo message="java.home: ${java.home}" />
+ <echo message="eclipseStream: ${eclipseStream}" />
+ <echo message="buildType: ${buildType}" />
+
+ <property
+ name="testDir"
+ value="${WORKSPACE}/workarea/${buildId}" />
+ <echo message="DEBUG: testDir ${testDir}" />
+ <property
+ name="executionDir"
+ value="${testDir}/eclipse-testing" />
+ <mkdir dir="${executionDir}" />
+ <echo message="executionDir ${executionDir}" />
+
+ <!-- what's intended/needed? specific, simple repo? Or composite? -->
+ <property
+ name="currentbuildrepo"
+ value="http://${DOWNLOAD_HOST}/eclipse/updates/${updateSiteSegment}-${buildType}-builds/${buildId}" />
+ <echo message="currentbuildrepo: ${currentbuildrepo}" />
+
+ <property
+ name="buildURL"
+ value="http://${DOWNLOAD_HOST}/eclipse/downloads/${dropsDirSegment}${dropsSuffix}/${buildId}" />
+
+ <!--
+ there's nothing "automatic" about the local cache (so far).
+ If specified (such as on hudson command line that executes this
+ file, as, say,
+ -DlocalCache=file:///shared/eclipse/localCache
+ then all the downloads required must be already available there.
+ It is intended to speed up local testing to avoid re-downloading
+ files.
+ -->
+ <condition
+ property="archiveLocation"
+ value="${localCache}"
+ else="${buildURL}">
+ <isset property="localCache" />
+ </condition>
+
+ <echo message="buildURL ${buildURL}" />
+ <echo message="archiveLocation ${archiveLocation}" />
+ </target>
+
+ <target
+ name="platformIndependentZips"
+ unless="skipInstall">
+
+ <get
+ httpusecaches="false"
+ src="${archiveLocation}/eclipse-Automated-Tests-${buildId}.zip"
+ dest="${testDir}/eclipse-Automated-Tests-${buildId}.zip" />
+ <get
+ httpusecaches="false"
+ src="${archiveLocation}/eclipse-${buildId}-delta-pack.zip"
+ dest="${executionDir}/eclipse-${buildId}-delta-pack.zip" />
+ <get
+ httpusecaches="false"
+ src="${archiveLocation}/eclipse-Automated-Tests-${buildId}.zip"
+ dest="${executionDir}/eclipse-Automated-Tests-${buildId}.zip" />
+ </target>
+
+ <target
+ name="getwinzips"
+ depends="platformIndependentZips"
+ unless="skipInstall">
+ <get
+ src="${archiveLocation}/eclipse-SDK-${buildId}-win32.zip"
+ dest="${executionDir}/eclipse-SDK-${buildId}-win32.zip" />
+ <get
+ src="${archiveLocation}/eclipse-platform-${buildId}-win32.zip"
+ dest="${executionDir}/eclipse-platform-${buildId}-win32.zip" />
+ <get
+ src="http://${ARCHIVE_HOST}/eclipse/downloads/drops/R-3.7.2-201202080800/eclipse-platform-3.7.2-win32.zip"
+ dest="${executionDir}/eclipse-platform-3.7.2-win32.zip" />
+ </target>
+ <target
+ name="getwinzips64"
+ depends="platformIndependentZips"
+ unless="skipInstall">
+ <get
+ src="${archiveLocation}/eclipse-SDK-${buildId}-win32-x86_64.zip"
+ dest="${executionDir}/eclipse-SDK-${buildId}-win32-x86_64.zip" />
+ <get
+ src="${archiveLocation}/eclipse-platform-${buildId}-win32-x86_64.zip"
+ dest="${executionDir}/eclipse-platform-${buildId}-win32-x86_64.zip" />
+ <get
+ src="http://${ARCHIVE_HOST}/eclipse/downloads/drops/R-3.7.2-201202080800/eclipse-platform-3.7.2-win32-x86_64.zip"
+ dest="${executionDir}/eclipse-platform-3.7.2-win32.zip-x86_64" />
+ </target>
+ <target
+ name="getlinzips"
+ depends="platformIndependentZips"
+ unless="skipInstall">
+ <get
+ src="${archiveLocation}/eclipse-SDK-${buildId}-linux-gtk-x86_64.tar.gz"
+ dest="${executionDir}/eclipse-SDK-${buildId}-linux-gtk-x86_64.tar.gz" />
+ <get
+ src="${archiveLocation}/eclipse-platform-${buildId}-linux-gtk-x86_64.tar.gz"
+ dest="${executionDir}/eclipse-platform-${buildId}-linux-gtk-x86_64.tar.gz" />
+ <get
+ src="http://${ARCHIVE_HOST}/eclipse/downloads/drops/R-3.7.2-201202080800/eclipse-platform-3.7.2-linux-gtk-x86_64.tar.gz"
+ dest="${executionDir}/eclipse-platform-3.7.2-linux-gtk-x86_64.tar.gz" />
+ </target>
+
+ <target
+ name="getlinzips32"
+ depends="platformIndependentZips"
+ unless="skipInstall">
+ <get
+ src="${archiveLocation}/eclipse-SDK-${buildId}-linux-gtk.tar.gz"
+ dest="${executionDir}/eclipse-SDK-${buildId}-linux-gtk.tar.gz" />
+ <get
+ src="${archiveLocation}/eclipse-platform-${buildId}-linux-gtk.tar.gz"
+ dest="${executionDir}/eclipse-platform-${buildId}-linux-gtk.tar.gz" />
+ <get
+ src="http://${ARCHIVE_HOST}/eclipse/downloads/drops/R-3.7.2-201202080800/eclipse-platform-3.7.2-linux-gtk.tar.gz"
+ dest="${executionDir}/eclipse-platform-3.7.2-linux-gtk.tar.gz" />
+ </target>
+
+ <target
+ name="getmaczips"
+ depends="platformIndependentZips"
+ unless="skipInstall">
+ <get
+ src="${archiveLocation}/eclipse-SDK-${buildId}-macosx-cocoa.tar.gz"
+ dest="${executionDir}/eclipse-SDK-${buildId}-macosx-cocoa.tar.gz" />
+ <get
+ src="${archiveLocation}/eclipse-platform-${buildId}-macosx-cocoa.tar.gz"
+ dest="${executionDir}/eclipse-platform-${buildId}-macosx-cocoa.tar.gz" />
+ <get
+ src="http://${ARCHIVE_HOST}/eclipse/downloads/drops/R-3.7.2-201202080800/eclipse-platform-3.7.2-macosx-cocoa.tar.gz"
+ dest="${executionDir}/eclipse-platform-3.7.2-macosx-cocoa.tar.gz" />
+ </target>
+
+ <target
+ name="getmacosx"
+ depends="platformIndependentZips"
+ unless="skipInstall">
+ <get
+ src="${archiveLocation}/eclipse-SDK-${buildId}-macosx-cocoa-x86_64.tar.gz"
+ dest="${executionDir}/eclipse-SDK-${buildId}-macosx-cocoa-x86_64.tar.gz" />
+ <get
+ src="${archiveLocation}/eclipse-platform-${buildId}-macosx-cocoa-x86_64.tar.gz"
+ dest="${executionDir}/eclipse-platform-${buildId}-macosx-cocoa-x86_64.tar.gz" />
+ <get
+ src="http://${ARCHIVE_HOST}/eclipse/downloads/drops/R-3.7.2-201202080800/eclipse-platform-3.7.2-macosx-cocoa-x86_64.tar.gz"
+ dest="${executionDir}/eclipse-platform-3.7.2-macosx-cocoa-x86_64.tar.gz" />
+ </target>
+
+ <target
+ name="configure.team.cvs.test"
+ depends="computeExpectedLocation,getcvstestProperties" />
+
+ <target name="computeExpectedLocation">
+ <condition
+ property="cvstest.properties"
+ value="/shared/eclipse/buildtests/cvstest.properties">
+ <and>
+ <os family="unix" />
+ <not>
+ <os family="mac" />
+ </not>
+ </and>
+ </condition>
+ <condition
+ property="cvstest.properties"
+ value="c:\users\hudsonbuild\cvstest.properties">
+ <os family="windows" />
+ </condition>
+ <condition
+ property="cvstest.properties"
+ value="/Users/hudsonbuild/cvstest.properties">
+ <os family="mac" />
+ </condition>
+ </target>
+
+ <target
+ name="getcvstestProperties"
+ if="cvsPropertiesAvailable"
+ depends="computeExpectedLocation,checkCVSPropExists,logNoExistence">
+
+ <echo message="cvstest.properties file: ${cvstest.properties}" />
+ <replace
+ file="${executionDir}/test.xml"
+ propertyFile="${cvstest.properties}">
+ <replacefilter
+ token="${cvs_user}"
+ property="cvs_user" />
+ <replacefilter
+ token="${cvs_password}"
+ property="cvs_password" />
+ <replacefilter
+ token="${cvs_host}"
+ property="cvs_host" />
+ <replacefilter
+ token="${cvs_root}"
+ property="cvs_root" />
+ </replace>
+
+ </target>
+
+ <target
+ name="checkCVSPropExists"
+ depends="computeExpectedLocation">
+ <condition property="cvsPropertiesAvailable">
+ <available file="${cvstest.properties}" />
+ </condition>
+ </target>
+ <target
+ name="logNoExistence"
+ depends="checkCVSPropExists"
+ unless="cvsPropertiesAvailable">
+ <echo message="cvs properties file was not found in this environment. " />
+ <echo message=" expected file: ${cvstest.properties} " />
+ </target>
+ <target
+ name="runTests2"
+ depends="init">
+
+ <echo message="DEBUG: echoproperties at start of main runTests2.xml (after inits)" />
+ <echoproperties />
+ <property
+ name="test.xml"
+ value="${WORKSPACE}/sdk.tests/testScripts/runTests.xml" />
+ <!-- value="${relengBaseBuilderDir}/plugins/org.eclipse.build.tools/scripts/test.xml" /> -->
+ <condition
+ property="testPlatform"
+ value="win7-64">
+ <and>
+ <equals
+ arg1="${osgi.os}"
+ arg2="win32" />
+ <equals
+ arg1="${osgi.ws}"
+ arg2="win32" />
+ <equals
+ arg1="${osgi.arch}"
+ arg2="x86_64" />
+ </and>
+ </condition>
+ <condition
+ property="testPlatform"
+ value="win7">
+ <and>
+ <equals
+ arg1="${osgi.os}"
+ arg2="win32" />
+ <equals
+ arg1="${osgi.ws}"
+ arg2="win32" />
+ <equals
+ arg1="${osgi.arch}"
+ arg2="x86" />
+ </and>
+ </condition>
+ <echo message="os ws arch ${osgi.os} ${osgi.ws} ${osgi.arch}" />
+ <condition
+ property="testPlatform"
+ value="linux">
+ <and>
+ <equals
+ arg1="${osgi.os}"
+ arg2="linux" />
+ <equals
+ arg1="${osgi.ws}"
+ arg2="gtk" />
+ <equals
+ arg1="${osgi.arch}"
+ arg2="x86_64" />
+ </and>
+ </condition>
+ <condition
+ property="testPlatform"
+ value="linux32">
+ <and>
+ <equals
+ arg1="${osgi.os}"
+ arg2="linux" />
+ <equals
+ arg1="${osgi.ws}"
+ arg2="gtk" />
+ <equals
+ arg1="${osgi.arch}"
+ arg2="x86" />
+ </and>
+ </condition>
+ <condition
+ property="testPlatform"
+ value="macosx">
+ <and>
+ <equals
+ arg1="${osgi.os}"
+ arg2="macosx" />
+ <equals
+ arg1="${osgi.ws}"
+ arg2="cocoa" />
+ <equals
+ arg1="${osgi.arch}"
+ arg2="x86_64" />
+ </and>
+ </condition>
+ <condition
+ property="testPlatform"
+ value="macmini">
+ <and>
+ <equals
+ arg1="${osgi.os}"
+ arg2="macosx" />
+ <equals
+ arg1="${osgi.ws}"
+ arg2="cocoa" />
+ <equals
+ arg1="${osgi.arch}"
+ arg2="x86" />
+ </and>
+ </condition>
+ <echo message="testPlatform ${testPlatform}" />
+ <fail
+ unless="testPlatform"
+ message="testPlatform did not match any of the supported combinations of osgi.os, osgi.ws, osgi.arch" />
+ <condition
+ property="getArtifacts"
+ value="getwinzips">
+ <equals
+ arg1="${testPlatform}"
+ arg2="win7" />
+ </condition>
+ <condition
+ property="getArtifacts"
+ value="getwinzips64">
+ <equals
+ arg1="${testPlatform}"
+ arg2="win7-64" />
+ </condition>
+ <condition
+ property="getArtifacts"
+ value="getlinzips">
+ <equals
+ arg1="${testPlatform}"
+ arg2="linux" />
+ </condition>
+ <condition
+ property="getArtifacts"
+ value="getlinzips32">
+ <equals
+ arg1="${testPlatform}"
+ arg2="linux32" />
+ </condition>
+ <condition
+ property="getArtifacts"
+ value="getmaczips">
+ <equals
+ arg1="${testPlatform}"
+ arg2="macmini" />
+ </condition>
+ <condition
+ property="getArtifacts"
+ value="getmacosx">
+ <equals
+ arg1="${testPlatform}"
+ arg2="macosx" />
+ </condition>
+ <echo message="getArtifacts ${getArtifacts}" />
+ <antcall target="${getArtifacts}" />
+
+ <!--
+ Try using "loadproperties", insstead of "properties file=" to see if
+ that will "evaluate" variables as loaded. Otherwise, the <properties form
+ has to move to "top of file" ... outer scope?
+ <property file="${eclipseBuilderDir}/eclipse/buildConfigs/sdk.tests/testConfigs/${testPlatform}/testing.properties" />
+ -->
+ <property
+ name="testingPropertiesfile"
+ value="${eclipseBuilderDir}/sdk.tests/testConfigs/${testPlatform}/testing.properties" />
+ <loadproperties>
+ <file file="${testingPropertiesfile}" />
+ </loadproperties>
+
+ <echo message="DEBUG: testingPropertiesfile: ${testingPropertiesfile}" />
+ <echo message="buildId: ${buildId}" />
+
+ <echo message="DEBUG: org.eclipse.core.net.prefs: ${org.eclipse.core.net.prefs}" />
+
+ <property
+ name="tester"
+ value="${executionDir}" />
+
+ <echo message="DEBUG: testDir: ${testDir}" />
+ <echo message="DEBUG: executionDir: ${executionDir}" />
+
+ <!--if executiondir starts with c:\ you'll need to escape it so it can load the filename properly with java -->
+ <pathconvert
+ targetos="unix"
+ property="windowsfile">
+ <path location="${executionDir}" />
+ </pathconvert>
+ <echo message="windowsfile ${windowsfile}" />
+ <property
+ name="p2executionDir"
+ value="${windowsfile}" />
+ <replace
+ file="${eclipseBuilderDir}/sdk.tests/testConfigs/${testPlatform}/equinoxp2tests.properties"
+ token="@executionDir@"
+ value="${p2executionDir}" />
+ <replace
+ file="${eclipseBuilderDir}/sdk.tests/testConfigs/${testPlatform}/equinoxp2tests.properties"
+ token="@buildId@"
+ value="${buildId}" />
+ <replace
+ file="${eclipseBuilderDir}/sdk.tests/testConfigs/${testPlatform}/equinoxp2tests.properties"
+ token="@org.eclipse.equinox.p2.tests.current.build.repo@"
+ value="${currentbuildrepo}" />
+ <property file="${eclipseBuilderDir}/sdk.tests/testConfigs/${testPlatform}/equinoxp2tests.properties" />
+
+ <echo message="executionDir ${executionDir}" />
+
+ <copy
+ todir="${executionDir}"
+ verbose="true">
+ <fileset dir="${eclipseBuilderDir}/sdk.tests/testConfigs/${testPlatform}" />
+ </copy>
+ <copy
+ verbose="true"
+ todir="${executionDir}"
+ overwrite="true">
+ <fileset dir="${eclipseBuilderDir}/sdk.tests/testScripts" />
+ </copy>
+
+ <antcall target="configure.team.cvs.test" />
+ <echo message="test.xml: ${test.xml}" />
+ <echoproperties />
+ <ant antfile="${test.xml}">
+ </ant>
+
+
+ </target>
+
+ <!--
+ This streamSpecificInit target was copied from buildAll.xml and does about exactly the same thing,
+ purposely left close to original, though not as much is actually required.
+ TODO: in future, pull out into one file, and reuse
+
+ Its purpose, here, is entirely to pick up "stream specific" stings from the releng maps
+ project, 'configuration' folder.
+
+ Important note: here, unlike the one in buildAll.xml, we assume the maps have already
+ been checked out, say by hudson, as a peer of eclipseBuilder, rather then us doing
+ the checkout here, ourselves. Not sure which is easier, but current means hudson job
+ has to be set up with two git checkout steps, right version for maps (for 3.8 vs 4.2).
+
+ -->
+ <target
+ name="streamSpecificInit"
+ unless="streamSpecificInitComplete"
+ depends="initStreamVariables,hudson-init">
+ <echo message="DEBUG: executing streamSpecificInit" />
+
+
+ <property
+ name="configurationLocation"
+ value="configuration" />
+
+ <!-- TODO: I moved (copied) this from init, probably only needs to
+ be set once, but, needs to be set before loading the repo properties -->
+ <!--set local mirror location depending if hudson is running -->
+ <condition
+ property="localmirror"
+ value="${DOWNLOAD_HOST}">
+ <equals
+ arg1="${hudson}"
+ arg2="true" />
+ </condition>
+
+
+
+
+ <!--
+ these condidtions used to be in "init". Conceptually seems right to be in "stream
+ specific" init (since their value depends on stream) but may have side effects?)
+ -->
+ <condition
+ property="dropsDirSegment"
+ value="drops4"
+ else="drops">
+ <equals
+ arg1="${eclipseStreamMajor}"
+ arg2="4" />
+ </condition>
+
+ <copy
+ verbose="true"
+ failonerror="true"
+ todir="${WORKSPACE}"
+ overwrite="true">
+ <fileset dir="${configurationLocation}/">
+ <include name="**" />
+ </fileset>
+ </copy>
+
+ <!-- bug 376217: repos.properties is one of the files moved from
+ Eclipsebuild to maps project and into a common file, streamSpecific-build.properties -->
+ <replace
+ token="@localmirror@"
+ file="${WORKSPACE}/streamSpecific-build.properties"
+ value="${localmirror}" />
+ <!-- The reading/loading of the these streamSpecific-build.properties
+ is critical to several stream specific areas of code, so may have to be moved
+ "earlier"? Made it own task for depends on clauses? -->
+ <loadproperties srcFile="${WORKSPACE}/streamSpecific-build.properties" />
+
+ <!-- echo a few typically expected properties, to make sure getting right file -->
+
+ <echo message="streamSpecificPropertiesTitle: ${streamSpecificPropertiesTitle}" />
+ <echo message="p2repopreviousR: ${p2repopreviousR}" />
+ <echo message="apiTestsPreviousBaseDLBaseURL: ${apiTestsPreviousBaseDLBaseURL}" />
+ <echo message="apiTestsPreviousBaseWin32Filename: ${apiTestsPreviousBaseWin32Filename}" />
+
+ <!-- now that we have maps (and we already have eclipseBuider from
+ masterBuild.sh, before calling buildAll.xml, then now its time to "overlay"
+ the stream specific files of eclipseBuild that are in the maps project, in
+ the folder named /org.eclipse.releng/configuration/eclipseBuilderOverlays -->
+ <!-- TODO: semi hard code for now, figure out variables later maybe
+ do away with "supportDir" segment? maybe call 'base' and other variables
+ 'eclipsebulder.base'? -->
+
+ <property
+ name="eclipseBuilderDir"
+ value="${WORKSPACE}/eclipse.platform.releng.aggregator/production/testScripts/configuration" />
+
+
+
+ <!-- now that we've done that little merge, let's "fix up" eclipseBuild
+ stuff that depends on exact version numbers -->
+ <replace
+ dir="${eclipseBuilderDir}"
+ token="@eclipseStream@"
+ value="${eclipseStream}" />
+ <replace
+ dir="${eclipseBuilderDir}"
+ token="@eclipseStreamMajor@"
+ value="${eclipseStreamMajor}" />
+ <replace
+ dir="${eclipseBuilderDir}"
+ token="@eclipseStreamMinor@"
+ value="${eclipseStreamMinor}" />
+ <!-- seems unlikely we'd ever need this all by itself, and not just
+ use eclipseStream, which should be all three fields
+ <replace summary="true"
+ dir="${eclipseBuilderDir}" token="@eclipseStreamService@"
+ value="${eclipseStreamService}" />
+ -->
+
+ <!-- no need to re-init the properties, once done (in this scope)
+ so no one else can ever set streamSpecificInitComplete properties. It is
+ our control property -->
+ <property
+ name="streamSpecificInitComplete"
+ value="true" />
+ </target>
+ <!--
+ note: no check for "if maps local". Here we want to be sure to get
+ a fresh copy, but only once
+ -->
+
+ <!--
+ main purpose of initStreamVariables, it to be sure we have eclipseStreamMajor and eclipseStreamMinor
+ Uses script, which requires Java 1.6 (or ... else gets complicated to setup)
+ -->
+ <target name="initStreamVariables">
+ <fail
+ unless="eclipseStream"
+ message="eclipseStream value must be provided by caller, such as '4.3.0'." />
+ <condition property="streamOK">
+ <matches
+ pattern="\d\.\d\.\d"
+ string="${eclipseStream}" />
+ </condition>
+ <fail
+ message="eclipseStream variable had unexpected format. Should be of form digit.digit.digit, but was ${eclipseStream}"
+ unless="streamOK" />
+
+ <script language="javascript">
+ var eclipseStream = project.getProperty("eclipseStream");
+ var pattern = new
+ RegExp(/(\d+)\.(\d+)\.(\d+)/);
+
+ var sArray = pattern.exec(eclipseStream);
+ // sArray[0] is "whole match"
+ project.setProperty("eclipseStreamMajor", sArray[1]);
+ project.setProperty("eclipseStreamMinor", sArray[2]);
+ project.setProperty("eclipseStreamService", sArray[3]);
+ project.setProperty("updateSiteSegment", sArray[1] + "." +
+ sArray[2]);
+ </script>
+
+ <fail
+ unless="eclipseStreamMajor"
+ message="eclipseStreamMajor not defined or computed" />
+ <fail
+ unless="eclipseStreamMinor"
+ message="eclipseStreamMinor not defined or computed" />
+ <fail
+ unless="eclipseStreamService"
+ message="eclipseStreamService not defined or computed" />
+ <fail
+ unless="updateSiteSegment"
+ message="updateSiteSegment not defined or computed" />
+
+ </target>
+
+</project>
diff --git a/production/testScripts/startTests.sh b/production/testScripts/startTests.sh
new file mode 100755
index 00000000..a7fe84f0
--- /dev/null
+++ b/production/testScripts/startTests.sh
@@ -0,0 +1,182 @@
+#!/usr/bin/env bash
+
+# Small utility to start unit tests (or re-run them) after a build
+# and after upload to downloads server is complete.
+
+# need to be running Java 6 and Ant 1.8 for <sript> to work in invokeTestsJSON
+# and, default on current build system is Ant 1.7 ... so ...
+export ANT_HOME=/shared/common/apache-ant-1.8.4
+
+function usage ()
+{
+ printf "\t\t%s\n" "usage: "
+ printf "\t\t%s\n" "$( basename $0 ) eclipseStream buildId"
+ printf "\t\t\t%s\n" "where "
+ printf "\t\t\t%s\n" "eclipseStream == 4.3.0, 3.8.2, etc. "
+ printf "\t\t\t%s\n" "buildId == M20120705-1200, IM20121005-0800, etc. "
+ printf "\t\t\t\t%s\n" "or, provide those parameters in buildParams.shshource on search path"
+}
+
+# compute main (left part) of download site
+function dlpath()
+{
+ eclipseStream=$1
+ if [[ -z "${eclipseStream}" ]]
+ then
+ printf "\n\n\t%s\n\n" "ERROR: Must provide eclipseStream as first argumnet, for this function $(basename $0)"
+ return 1;
+ fi
+
+
+ buildId=$2
+ if [[ -z "${buildId}" ]]
+ then
+ printf "\n\n\t%s\n\n" "ERROR: Must provide buildId as second argumnet, for this function $(basename $0)"
+ return 1;
+ fi
+
+ BUILD_TECH=$3
+ if [[ -z "${BUILD_TECH}" ]]
+ then
+ printf "\n\n\t%s\n\n" "ERROR: Must provide BUILD_TECH as third argumnet, for this function $(basename $0)"
+ return 1;
+ fi
+
+
+
+ eclipseStreamMajor=${eclipseStream:0:1}
+ buildType=${buildId:0:1}
+
+ #TODO: eventual switch so CBI is "normal" one and PDE is marked one
+ if [[ "${BUILD_TECH}" == 'CBI' ]]
+ then
+ dropsuffix=cbibased
+ else
+ dropsuffix=""
+ fi
+
+ pathToDL=eclipse/downloads/drops
+ if [[ $eclipseStreamMajor > 3 ]]
+ then
+ pathToDL=$pathToDL$eclipseStreamMajor
+ fi
+
+ pathToDL=$pathToDL$dropsuffix
+
+ echo $pathToDL
+}
+
+
+# This file, buildParams.shsource, normally does not exist on build system,
+# but can be provided if running "by hand" as an easy way to provide the
+# parameters required. For example, the contents might be
+# eclipseStream=4.2.1
+# buildId=M20120705-1200
+#
+source buildParams.shsource 2>/dev/null
+
+# can provide eclipseStream and buildId as first to arts to this script
+# which is how invoke from "promote script"
+eclipseStream=${eclipseStream:-${1}}
+buildId=${buildId:-${2}}
+BUILD_TECH=${BUILD_TECH:-${3}}
+EBUILDER_HASH=${EBUILDER_HASH:-${4}}
+
+if [[ -z ${eclipseStream} || -z ${buildId} ]]
+then
+ printf "\n\t%s\n" "ERROR: missing required parameters."
+ usage
+ exit 1
+fi
+
+if [[ -z "${BUILD_TECH}" ]]
+then
+ BUILD_TECH=PDE
+fi
+
+if [[ -z "${EBUILDER_HASH}" ]]
+then
+ EBUILDER_HASH=master
+fi
+
+# contrary to intuition (and previous behavior, bash 3.1) do NOT use quotes around right side of expression.
+if [[ "${eclipseStream}" =~ ([[:digit:]]*)\.([[:digit:]]*)\.([[:digit:]]*) ]]
+then
+ eclipseStreamMajor=${BASH_REMATCH[1]}
+ eclipseStreamMinor=${BASH_REMATCH[2]}
+ eclipseStreamService=${BASH_REMATCH[3]}
+else
+ printf "\n\t%s\n" "ERROR: eclipseStream, $eclipseStream, must contain major, minor, and service versions."
+ usage
+ exit 1
+fi
+
+if [[ "${buildId}" =~ ([MNI]+)([[:digit:]]*)\-([[:digit:]]*) ]]
+then
+ # old, simpler way, if we don't do regex and input checkinging
+ #buildType=${buildId:0:1}
+ buildType=${BASH_REMATCH[1]}
+else
+ printf "\n\t%s\n" "ERROR: buildId, $buildId, did not match expected pattern."
+ usage
+ exit 1
+fi
+
+source buildeclipse.shsource 2>/dev/null
+
+echo "values in ${0}"
+echo "eclipseStream: $eclipseStream"
+echo "eclipseStreamMajor: $eclipseStreamMajor"
+echo "eclipseStreamMinor: $eclipseStreamMinor"
+echo "eclipseStreamService: $eclipseStreamService"
+echo "buildType: $buildType"
+echo "buildId: $buildId"
+echo "BUILD_TECH: $BUILD_TECH"
+echo "EBUILDER_HASH: $EBUILDER_HASH"
+
+
+ if [[ "${BUILD_TECH}" == 'CBI' ]]
+ then
+ buildRoot=/shared/eclipse/builds/${eclipseStreamMajor}${buildType}
+ eclipsebuilder=eclipse.platform.releng.aggregator/production/testScripts
+ dlPath=$( dlpath $eclipseStream $buildId $BUILD_TECH )
+ echo "DEBUG dlPath: $dlPath"
+ buildDropDir=${buildRoot}/siteDir/$dlPath/${buildId}
+ echo "DEBGUG buildDropDir: $buildDropDir"
+ builderDropDir=${buildDropDir}/${eclipsebuilder}
+ echo "DEBUG: builderDropDir: ${builderDropDir}"
+ else
+ buildRoot=/shared/eclipse/eclipse${eclipseStreamMajor}${buildType}
+# we don't really use this file for PDE build tests.
+# if we did, we'd need to fix this up.
+ #buildDir=${buildRoot}/build
+ #supportDir=${buildDir}/supportDir
+ #eclipsebuilder=org.eclipse.releng.eclipsebuilder
+ #builderDir=${supportDir}/$eclipsebuilder
+#$buildRoot=/shared/eclipse/eclipse${eclipseStreamMajor}${buildType}
+#$buildDir=${buildRoot}/build
+#$supportDir=${buildDir}/supportDir
+#$eclipsebuilder=org.eclipse.releng.eclipsebuilder
+#$builderDir=${supportDir}/$eclipsebuilder
+
+# should buildDirectory be set at "main" one from actual build?
+#$buildDirectory=${supportDir}/src
+
+# note, to be consistent, I changed json xml file so it adds buildId to postingDirectory
+#$siteDir=${buildRoot}/siteDir
+#$postingDirectory=${siteDir}/eclipse/downloads/drops
+#$if [[ "${eclipseStreamMajor}" > 3 ]]
+#$then
+ # $ postingDirectory=${siteDir}/eclipse/downloads/drops${eclipseStreamMajor}
+#$fi
+fi
+
+echo "DEBUG: invoking test scripts on Hudson"
+
+HUDSON_TOKEN=windows2012tests ant \
+ -DbuildId=${buildId} \
+ -DeclipseStream=${eclipseStream} \
+ -DBUILD_TECH=${BUILD_TECH} \
+ -DEBUILDER_HASH=${EBUILDER_HASH} \
+ -f ${builderDropDir}/invokeTestsJSON.xml
+
diff --git a/production/testScripts/updateTestResultsPages.sh b/production/testScripts/updateTestResultsPages.sh
new file mode 100755
index 00000000..90a3f980
--- /dev/null
+++ b/production/testScripts/updateTestResultsPages.sh
@@ -0,0 +1,139 @@
+#!/usr/bin/env bash
+
+# Utility to invoke eclipse antrunner to update test index pages and
+# re-sync dl site.
+
+
+if [[ $# != 3 ]]
+then
+ # usage:
+ scriptname=$(basename $0)
+ printf "\n\t%s\n" "This script, $scriptname requires three arguments, in order: "
+ printf "\t\t%s\t%s\n" "eclipseStream" "(e.g. 4.2.0 or 3.8.0) "
+ printf "\t\t%s\t%s\n" "buildId" "(e.g. N20120415-2015) "
+ printf "\t\t%s\t%s\n" "BUILD_TECH" "(e.g. CBI or PDE) "
+ printf "\t%s\n" "for example,"
+ printf "\t%s\n\n" "./$scriptname 4.2.0 N20120415-2015 CBI"
+ exit 1
+fi
+
+eclipseStream=$1
+if [ -z "${eclipseStream}" ]
+then
+ echo "must provide eclipseStream as first argumnet, for this function $0"
+ exit 1
+fi
+
+
+buildId=$2
+if [ -z "${buildId}" ]
+then
+ echo "must provide buildId as second argumnet, for this function $0"
+ exit 1
+fi
+
+BUILD_TECH=$3
+if [[ -z "${BUILD_TECH}" ]]
+ then
+ echo "must provide BUILD_TECH as third argumnet, for this function $0"
+ exit 1
+ fi
+
+ eclipseStreamMajor=${eclipseStream:0:1}
+ buildType=${buildId:0:1}
+
+ pathToDL=eclipse/downloads/drops
+ if [[ $eclipseStreamMajor > 3 ]]
+ then
+ pathToDL=eclipse/downloads/drops$eclipseStreamMajor
+ fi
+
+ if [[ "$BUILD_TECH" == "CBI" ]]
+ then
+ pathToDL="${pathToDL}cbibased"
+ fi
+
+ buildRoot=/shared/eclipse/eclipse${eclipseStreamMajor}${buildType}
+ if [[ "$BUILD_TECH" == "CBI" ]]
+ then
+ buildRoot=/shared/eclipse/builds/${eclipseStreamMajor}${buildType}
+ fi
+
+ siteDir=${buildRoot}/siteDir
+
+ fromDir=${siteDir}/${pathToDL}/${buildId}
+ if [ ! -d "${fromDir}" ]
+ then
+ echo "ERROR: fromDir is not a directory? fromDir: ${fromDir}"
+ exit 1
+ fi
+
+
+
+JAVA_7_HOME=${JAVA_7_HOME:-/shared/common/jdk1.7.0_11}
+
+export JAVA_HOME=${JAVA_HOME:-${JAVA_7_HOME}}
+
+devJRE=$JAVA_HOME/jre/bin/java
+
+if [[ ! -n ${devJRE} && -x ${devJRE} ]]
+then
+ echo "ERROR: could not find (or execute) JRE where expected: ${devJRE}"
+ exit 1
+else
+ # display version, just to be able to log it.
+ echo "JRE Location and Version: ${devJRE}"
+ echo $( $devJRE -version )
+fi
+
+# We use a seperate basebuilder for each "drop", to make sure it is specific for that drop,
+# and they won't interfere with each other.
+basebuilderDir=${fromDir}/org.eclipse.releng.basebuilder
+aggregatorDir=${fromDir}/eclipse.platform.releng.aggregator
+
+if [[ ! -d "${basebuilderDir}" ]]
+then
+ ant -f /shared/eclipse/sdk/promotion/getBaseBuilder.xml -DWORKSPACE=$fromDir
+fi
+
+# remember, the Eclipse install must match the VM used (e.g. both 64 bit, both 32 bit, etc).
+ECLIPSE_EXE="${basebuilderDir}/eclipse"
+# somehow, seems like this is often not executable ... I guess launcher jar usually used.
+chmod -c +x $ECLIPSE_EXE
+
+if [ ! -n ${ECLIPSE_EXE} -a -x ${ECLIPSE_EXE} ]
+then
+ echo "ERROR: ECLIPSE_EXE is not defined or not executable: ${ECLIPSE_EXE}"
+ exit 1
+fi
+
+BUILDFILE=${aggregatorDir}/production/testScripts/genTestIndexes.xml
+
+BUILDFILESTR="-f ${BUILDFILE}"
+echo
+echo " BUILDFILESTR: $BUILDFILESTR"
+
+# provide blank, to get default
+BUILDTARGET=" "
+
+devworkspace="${basebuilderDir}/workspace-updateTestResults"
+devArgs="-Xmx256m -Dhudson=true -DeclipseStream=${eclipseStream} -DeclipseStreamMajor=${eclipseStreamMajor} -DbuildId=${buildId} -DBUILD_TECH=${BUILD_TECH}"
+
+echo
+echo " dev script: $0"
+echo " devworkspace: $devworkspace"
+echo " devArgs: $devArgs"
+echo " devJRE: $devJRE"
+echo " BUILDFILESTR: $BUILDFILESTR"
+echo
+
+if [ -n ${ECLIPSE_EXE} -a -x ${ECLIPSE_EXE} ]
+then
+
+${ECLIPSE_EXE} --launcher.suppressErrors -nosplash -console -data $devworkspace -application org.eclipse.ant.core.antRunner $BUILDFILESTR $BUILDTARGET -vm $devJRE -vmargs $devArgs
+ RC=$?
+else
+ echo "ERROR: ECLIPSE_EXE is not defined to executable eclipse"
+ RC=1
+fi
+exit $RC

Back to the top