From abb0845a5d53e5a7cfc8fa12ecb15da3f14b5423 Mon Sep 17 00:00:00 2001 From: Anna Dushistova Date: Tue, 16 Feb 2010 16:14:55 +0000 Subject: [PATCH] [302196] Migrated tm.releng to the Athena CBI. --- releng/org.eclipse.tm.releng/build.properties | 78 +++++ releng/org.eclipse.tm.releng/build.xml | 88 +++-- releng/org.eclipse.tm.releng/build.xml.launch | 22 ++ releng/org.eclipse.tm.releng/buildAll.xml | 227 ------------- releng/org.eclipse.tm.releng/buildExtra.xml | 316 ++++++++++++++++++ .../builder/discovery/build.properties | 36 -- .../builder/discovery/customTargets.xml | 177 ---------- .../builder/doc/build.properties | 37 -- .../builder/doc/customTargets.xml | 186 ----------- .../builder/examples/build.properties | 36 -- .../builder/examples/customTargets.xml | 186 ----------- .../builder/runtime/build.properties | 36 -- .../builder/runtime/customTargets.xml | 187 ----------- .../builder/sdk/build.properties | 36 -- .../builder/sdk/customTargets.xml | 186 ----------- .../builder/terminal/build.properties | 36 -- .../builder/terminal/customTargets.xml | 177 ---------- .../builder/tests/build.properties | 36 -- .../configs/local/chkpii_ignore_list.txt | 2 - .../tests/configs/local/customTest.xml | 44 --- .../tests/configs/local/relengbuildgtk.sh | 278 --------------- .../tests/configs/local/testing.properties | 57 ---- .../builder/tests/customTargets.xml | 274 --------------- .../builder/tests/scripts/readme.html | 162 --------- .../builder/tests/scripts/test.xml | 118 ------- releng/org.eclipse.tm.releng/hudson/run.sh | 94 ++++++ releng/org.eclipse.tm.releng/maps/build.cfg | 1 - .../org.eclipse.tm.releng/maps/discovery.map | 20 +- releng/org.eclipse.tm.releng/maps/rse.map | 120 +++---- .../org.eclipse.tm.releng/maps/terminal.map | 26 +- .../maps/testdrivers.map | 4 +- releng/org.eclipse.tm.releng/maps/tmcore.map | 4 +- releng/org.eclipse.tm.releng/maps/wince.map | 10 +- .../promoteToEclipse.rse.properties | 175 ---------- .../org.eclipse.tm.releng/repoInfo.properties | 18 - releng/org.eclipse.tm.releng/testManifest.xml | 59 ---- .../org.eclipse.tm.releng/testing.properties | 5 + 37 files changed, 671 insertions(+), 2883 deletions(-) create mode 100644 releng/org.eclipse.tm.releng/build.properties create mode 100644 releng/org.eclipse.tm.releng/build.xml.launch delete mode 100644 releng/org.eclipse.tm.releng/buildAll.xml create mode 100644 releng/org.eclipse.tm.releng/buildExtra.xml delete mode 100644 releng/org.eclipse.tm.releng/builder/discovery/build.properties delete mode 100644 releng/org.eclipse.tm.releng/builder/discovery/customTargets.xml delete mode 100644 releng/org.eclipse.tm.releng/builder/doc/build.properties delete mode 100644 releng/org.eclipse.tm.releng/builder/doc/customTargets.xml delete mode 100644 releng/org.eclipse.tm.releng/builder/examples/build.properties delete mode 100644 releng/org.eclipse.tm.releng/builder/examples/customTargets.xml delete mode 100644 releng/org.eclipse.tm.releng/builder/runtime/build.properties delete mode 100644 releng/org.eclipse.tm.releng/builder/runtime/customTargets.xml delete mode 100644 releng/org.eclipse.tm.releng/builder/sdk/build.properties delete mode 100644 releng/org.eclipse.tm.releng/builder/sdk/customTargets.xml delete mode 100644 releng/org.eclipse.tm.releng/builder/terminal/build.properties delete mode 100644 releng/org.eclipse.tm.releng/builder/terminal/customTargets.xml delete mode 100644 releng/org.eclipse.tm.releng/builder/tests/build.properties delete mode 100644 releng/org.eclipse.tm.releng/builder/tests/configs/local/chkpii_ignore_list.txt delete mode 100644 releng/org.eclipse.tm.releng/builder/tests/configs/local/customTest.xml delete mode 100644 releng/org.eclipse.tm.releng/builder/tests/configs/local/relengbuildgtk.sh delete mode 100644 releng/org.eclipse.tm.releng/builder/tests/configs/local/testing.properties delete mode 100644 releng/org.eclipse.tm.releng/builder/tests/customTargets.xml delete mode 100644 releng/org.eclipse.tm.releng/builder/tests/scripts/readme.html delete mode 100644 releng/org.eclipse.tm.releng/builder/tests/scripts/test.xml create mode 100644 releng/org.eclipse.tm.releng/hudson/run.sh delete mode 100644 releng/org.eclipse.tm.releng/maps/build.cfg delete mode 100644 releng/org.eclipse.tm.releng/promoteToEclipse.rse.properties delete mode 100644 releng/org.eclipse.tm.releng/repoInfo.properties delete mode 100644 releng/org.eclipse.tm.releng/testManifest.xml create mode 100644 releng/org.eclipse.tm.releng/testing.properties diff --git a/releng/org.eclipse.tm.releng/build.properties b/releng/org.eclipse.tm.releng/build.properties new file mode 100644 index 00000000000..b014b7c1482 --- /dev/null +++ b/releng/org.eclipse.tm.releng/build.properties @@ -0,0 +1,78 @@ +############################################################################### +# Copyright (c) 2010 Mentor Graphics 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: +# Anna Dushistova (Mentor Graphics) - initial API and implementation +############################################################################### + +## BEGIN PROJECT BUILD PROPERTIES ## + +# default settings for all this project's builds, for this branch; see also o.e.d.common.releng/build.properties for more overrideable defaults + +# To permit automatic downloads of non-EPL compatible code, set this to property to "I accept" +thirdPartyDownloadLicenseAcceptance="I accept" + +# MUST BE SET # +projectid=dsdp.tm +zipPrefix=TM +incubation= +version=3.1.0 +buildType=N +branch=HEAD +mainFeatureToBuildID=org.eclipse.tm.releng.master +testFeatureToBuildID=org.eclipse.rse.tests + +# MUST BE SET # +#Anna's settings +#JAVA_HOME=/usr/lib/jvm/jre +#JAVA_HOME=/usr/java/j2re1.4.2_19 +#JAVA14_HOME=/usr/java/j2re1.4.2_19 +#JAVA50_HOME=/usr/java/jdk1.5.0_15 +#JAVADOC14_HOME=/usr/bin +#JAVA_FOUNDATION_HOME=/home/anna/cdc-foundation/ +#PACK200_JAVA_HOME=${JAVA50_HOME} + +#Default settings +JAVA_HOME=/opt/public/common/ibm-java2-ppc-50 +JAVA14_HOME=/opt/public/common/ibm-java2-ppc-50 +JAVA50_HOME=/opt/public/common/ibm-java2-ppc-50 +JAVA60_HOME=/opt/public/common/ibm-java2-ppc-50 +JAVADOC14_HOME=/opt/public/common/ibm-java2-ppc-50/bin + + +dependencyURLs=http://download.eclipse.org/eclipse/downloads/drops/R-3.5-200906111540/eclipse-SDK-3.5-linux-gtk.tar.gz,\ +http://download.eclipse.org/modeling/emf/emf/downloads/drops/2.5.0/R200906151043/emf-runtime-2.5.0.zip,\ +http://download.eclipse.org/tools/orbit/downloads/drops/I20090816061335/bundles/org.apache.commons.net_2.0.0.v200905272248.jar,\ +http://download.eclipse.org/tools/orbit/downloads/drops/I20090816061335/bundles/org.apache.commons.net.source_2.0.0.v200905272248.jar,\ +http://rxtx.qbang.org/eclipse/downloads/RXTX-runtime-I20071016-1945.zip + +#what steps should we do? default: build.steps=buildZips,buildTests,generateDigests,test,publish,cleanup +build.steps=buildUpdate,buildZips,buildTests,generateDigests,publish,cleanup +#build.steps=buildUpdate + +#localSourceCheckoutDir=/home/anna/RSETM-BUILD-workspace/org.eclipse.tm.tree + +compilerArg=-enableJavadoc -encoding ISO-8859-1 +noclean=true +individualSourceBundles=true +packageFeaturesIncludedBinaries=true +flattenDependencies=true +parallelCompilation=true +generateFeatureVersionSuffix=true + + +# For windows, must be explicit about paths using correct slashes (/); dirs with spaces should be avoided +#relengBuilderDir=C:/workspace/org.eclipse.gef.releng +#relengBaseBuilderDir=C:/workspace/org.eclipse.releng.basebuilder +#relengCommonBuilderDir=C:/workspace/org.eclipse.dash.common.releng +#writableBuildRoot=C:/tmp/build + +# use this to omit pack200 step (does not yet work on Windows - https://bugs.eclipse.org/bugs/show_bug.cgi?id=268405) +#skipPack=true + +## END PROJECT BUILD PROPERTIES ## + diff --git a/releng/org.eclipse.tm.releng/build.xml b/releng/org.eclipse.tm.releng/build.xml index 1d4767e0566..b2fe69d5e0b 100644 --- a/releng/org.eclipse.tm.releng/build.xml +++ b/releng/org.eclipse.tm.releng/build.xml @@ -1,27 +1,67 @@ - - - - - - - - - - - + + + - - - - - - - + org.eclipse.releng.basebuilder + org.eclipse.dash.common.releng + org.eclipse.myproject.releng + + 2. You must provide Ant-Contrib in one of four places: + + org.eclipse.dash.common.releng/lib/ant-contrib.jar + org.eclipse.myproject.releng/lib/ant-contrib.jar + ${thirdPartyJarsDir}/ant-contrib.jar (path can be customized below) + /usr/share/java/ant-contrib.jar (may require a symlink) + + You can install Ant-Contrib 1.0b2 via RPM, or download it here: + + http://downloads.sourceforge.net/ant-contrib/ant-contrib-1.0b2-bin.zip + + 3. If your project's sources are in SVN, you must unpack this zip into the basebuilder project's plugins/ folder: + + http://downloads.sourceforge.net/svn-pde-build/org.eclipse.pde.build.svn-1.0.1RC2.zip + + 4. To run automated JUnit tests headlessly, you will require Xvfb or Xvnc; without this, + UI tests will be launched into your current OS session (ie., on view port :0) and you may + inadvertently interact with them. (Non-UI tests can be run without fear of accidental + interaction and do not have this requirement.) + + 5. You must also ensure that the path specified for Java, and the version of Eclipse stated in build.properties + are correct for your machine. Edit these properties to suit your needs. Note that JAVA*_HOME variables are for + convenience, set in common.releng/server.properties. You can override them in your build.properties, or define + different defaults in server.properties, if you intend to run more than one build on this server. + + dependencyURLs=http://download.eclipse.org/eclipse/downloads/drops/S-3.5M5-200902021535/eclipse-SDK-3.5M5-linux-gtk.tar.gz + JAVA_HOME=${JAVA14_HOME} + --> - - - - + + + + + + + + + + + + + + + + + + + - \ No newline at end of file + diff --git a/releng/org.eclipse.tm.releng/build.xml.launch b/releng/org.eclipse.tm.releng/build.xml.launch new file mode 100644 index 00000000000..fb1438d8808 --- /dev/null +++ b/releng/org.eclipse.tm.releng/build.xml.launch @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/releng/org.eclipse.tm.releng/buildAll.xml b/releng/org.eclipse.tm.releng/buildAll.xml deleted file mode 100644 index bc33b9f5a0a..00000000000 --- a/releng/org.eclipse.tm.releng/buildAll.xml +++ /dev/null @@ -1,227 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - buildType=${buildType} - - - buildId=${buildId} - - - timestamp=${timestamp} - - - buildLabel=${buildLabel} - - - buildAlias=${buildAlias} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/releng/org.eclipse.tm.releng/buildExtra.xml b/releng/org.eclipse.tm.releng/buildExtra.xml new file mode 100644 index 00000000000..20ada30ba40 --- /dev/null +++ b/releng/org.eclipse.tm.releng/buildExtra.xml @@ -0,0 +1,316 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/releng/org.eclipse.tm.releng/builder/discovery/build.properties b/releng/org.eclipse.tm.releng/builder/discovery/build.properties deleted file mode 100644 index 60a9131e9a3..00000000000 --- a/releng/org.eclipse.tm.releng/builder/discovery/build.properties +++ /dev/null @@ -1,36 +0,0 @@ -############################################################################### -# Copyright (c) 2005, 2008 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 -# Martin Oberhuber (Wind River) - adapt for DSDP from o.e.emf.validation.releng -############################################################################### -# TODO: set correct source and target levels here -javacSource=1.4 -javacTarget=1.4 - -buildDirectory=${builder}/../eclipse -buildType=I -buildId=${buildId} -buildLabel=${buildLabel} -timestamp=0000 -collPlace=. -collBase=. -baseLocation= -configs=*,*,* -baseos=linux -basews=gtk -basearch=x86 -bootclasspath=${java.home}/lib/*.jar -javacFailOnError=true -javacVerbose=true -javacDebugInfo=on -zipargs= -archivesFormat = *,*,*-antZip -collectingFolder=eclipse -archivePrefix=eclipse -generateFeatureVersionSuffix=true diff --git a/releng/org.eclipse.tm.releng/builder/discovery/customTargets.xml b/releng/org.eclipse.tm.releng/builder/discovery/customTargets.xml deleted file mode 100644 index 54d7ac7eb37..00000000000 --- a/releng/org.eclipse.tm.releng/builder/discovery/customTargets.xml +++ /dev/null @@ -1,177 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/releng/org.eclipse.tm.releng/builder/doc/build.properties b/releng/org.eclipse.tm.releng/builder/doc/build.properties deleted file mode 100644 index 918aa8e7fc7..00000000000 --- a/releng/org.eclipse.tm.releng/builder/doc/build.properties +++ /dev/null @@ -1,37 +0,0 @@ -############################################################################### -# Copyright (c) 2005, 2008 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 -# Martin Oberhuber (Wind River) - adapt for DSDP from o.e.emf.validation.releng -############################################################################### -# TODO: set correct source and target levels here -javacSource=1.4 -javacTarget=1.4 - -buildDirectory=${builder}/../eclipse -buildType=I -buildId=${buildId} -buildLabel=${buildLabel} -timestamp=0000 -collPlace=. -collBase=. -baseLocation= -configs=*,*,* -baseos=linux -basews=gtk -basearch=x86 -bootclasspath=${java.home}/lib/*.jar -javacFailOnError=true -javacVerbose=true -javacDebugInfo=on -zipargs= -archivesFormat = *,*,*-antZip -collectingFolder=eclipse -archivePrefix=eclipse -generateFeatureVersionSuffix=true -generateVersionsList=true diff --git a/releng/org.eclipse.tm.releng/builder/doc/customTargets.xml b/releng/org.eclipse.tm.releng/builder/doc/customTargets.xml deleted file mode 100644 index 1f3fab9bdf8..00000000000 --- a/releng/org.eclipse.tm.releng/builder/doc/customTargets.xml +++ /dev/null @@ -1,186 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/releng/org.eclipse.tm.releng/builder/examples/build.properties b/releng/org.eclipse.tm.releng/builder/examples/build.properties deleted file mode 100644 index 5cfbca4fdf7..00000000000 --- a/releng/org.eclipse.tm.releng/builder/examples/build.properties +++ /dev/null @@ -1,36 +0,0 @@ -############################################################################### -# Copyright (c) 2005, 2008 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 -# Martin Oberhuber (Wind River) - adapt for DSDP from o.e.emf.validation.releng -############################################################################### -# TODO: set correct source and target levels here -javacSource=1.4 -javacTarget=1.4 - -buildDirectory=${builder}/../eclipse -buildType=I -buildId=${buildId} -buildLabel=${buildLabel} -timestamp=0000 -collPlace=. -collBase=. -baseLocation= -configs=*,*,* -baseos=linux -basews=gtk -basearch=x86 -bootclasspath=${java.home}/lib/*.jar -javacFailOnError=true -javacVerbose=true -javacDebugInfo=on -zipargs= -archivesFormat = *,*,*-antZip -collectingFolder=eclipse -archivePrefix=eclipse -generateFeatureVersionSuffix=true \ No newline at end of file diff --git a/releng/org.eclipse.tm.releng/builder/examples/customTargets.xml b/releng/org.eclipse.tm.releng/builder/examples/customTargets.xml deleted file mode 100644 index b3cc2255969..00000000000 --- a/releng/org.eclipse.tm.releng/builder/examples/customTargets.xml +++ /dev/null @@ -1,186 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/releng/org.eclipse.tm.releng/builder/runtime/build.properties b/releng/org.eclipse.tm.releng/builder/runtime/build.properties deleted file mode 100644 index 60a9131e9a3..00000000000 --- a/releng/org.eclipse.tm.releng/builder/runtime/build.properties +++ /dev/null @@ -1,36 +0,0 @@ -############################################################################### -# Copyright (c) 2005, 2008 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 -# Martin Oberhuber (Wind River) - adapt for DSDP from o.e.emf.validation.releng -############################################################################### -# TODO: set correct source and target levels here -javacSource=1.4 -javacTarget=1.4 - -buildDirectory=${builder}/../eclipse -buildType=I -buildId=${buildId} -buildLabel=${buildLabel} -timestamp=0000 -collPlace=. -collBase=. -baseLocation= -configs=*,*,* -baseos=linux -basews=gtk -basearch=x86 -bootclasspath=${java.home}/lib/*.jar -javacFailOnError=true -javacVerbose=true -javacDebugInfo=on -zipargs= -archivesFormat = *,*,*-antZip -collectingFolder=eclipse -archivePrefix=eclipse -generateFeatureVersionSuffix=true diff --git a/releng/org.eclipse.tm.releng/builder/runtime/customTargets.xml b/releng/org.eclipse.tm.releng/builder/runtime/customTargets.xml deleted file mode 100644 index e685f2ab720..00000000000 --- a/releng/org.eclipse.tm.releng/builder/runtime/customTargets.xml +++ /dev/null @@ -1,187 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/releng/org.eclipse.tm.releng/builder/sdk/build.properties b/releng/org.eclipse.tm.releng/builder/sdk/build.properties deleted file mode 100644 index 60a9131e9a3..00000000000 --- a/releng/org.eclipse.tm.releng/builder/sdk/build.properties +++ /dev/null @@ -1,36 +0,0 @@ -############################################################################### -# Copyright (c) 2005, 2008 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 -# Martin Oberhuber (Wind River) - adapt for DSDP from o.e.emf.validation.releng -############################################################################### -# TODO: set correct source and target levels here -javacSource=1.4 -javacTarget=1.4 - -buildDirectory=${builder}/../eclipse -buildType=I -buildId=${buildId} -buildLabel=${buildLabel} -timestamp=0000 -collPlace=. -collBase=. -baseLocation= -configs=*,*,* -baseos=linux -basews=gtk -basearch=x86 -bootclasspath=${java.home}/lib/*.jar -javacFailOnError=true -javacVerbose=true -javacDebugInfo=on -zipargs= -archivesFormat = *,*,*-antZip -collectingFolder=eclipse -archivePrefix=eclipse -generateFeatureVersionSuffix=true diff --git a/releng/org.eclipse.tm.releng/builder/sdk/customTargets.xml b/releng/org.eclipse.tm.releng/builder/sdk/customTargets.xml deleted file mode 100644 index cc15e33f5b3..00000000000 --- a/releng/org.eclipse.tm.releng/builder/sdk/customTargets.xml +++ /dev/null @@ -1,186 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/releng/org.eclipse.tm.releng/builder/terminal/build.properties b/releng/org.eclipse.tm.releng/builder/terminal/build.properties deleted file mode 100644 index 60a9131e9a3..00000000000 --- a/releng/org.eclipse.tm.releng/builder/terminal/build.properties +++ /dev/null @@ -1,36 +0,0 @@ -############################################################################### -# Copyright (c) 2005, 2008 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 -# Martin Oberhuber (Wind River) - adapt for DSDP from o.e.emf.validation.releng -############################################################################### -# TODO: set correct source and target levels here -javacSource=1.4 -javacTarget=1.4 - -buildDirectory=${builder}/../eclipse -buildType=I -buildId=${buildId} -buildLabel=${buildLabel} -timestamp=0000 -collPlace=. -collBase=. -baseLocation= -configs=*,*,* -baseos=linux -basews=gtk -basearch=x86 -bootclasspath=${java.home}/lib/*.jar -javacFailOnError=true -javacVerbose=true -javacDebugInfo=on -zipargs= -archivesFormat = *,*,*-antZip -collectingFolder=eclipse -archivePrefix=eclipse -generateFeatureVersionSuffix=true diff --git a/releng/org.eclipse.tm.releng/builder/terminal/customTargets.xml b/releng/org.eclipse.tm.releng/builder/terminal/customTargets.xml deleted file mode 100644 index f28b54a7aa7..00000000000 --- a/releng/org.eclipse.tm.releng/builder/terminal/customTargets.xml +++ /dev/null @@ -1,177 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/releng/org.eclipse.tm.releng/builder/tests/build.properties b/releng/org.eclipse.tm.releng/builder/tests/build.properties deleted file mode 100644 index 60a9131e9a3..00000000000 --- a/releng/org.eclipse.tm.releng/builder/tests/build.properties +++ /dev/null @@ -1,36 +0,0 @@ -############################################################################### -# Copyright (c) 2005, 2008 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 -# Martin Oberhuber (Wind River) - adapt for DSDP from o.e.emf.validation.releng -############################################################################### -# TODO: set correct source and target levels here -javacSource=1.4 -javacTarget=1.4 - -buildDirectory=${builder}/../eclipse -buildType=I -buildId=${buildId} -buildLabel=${buildLabel} -timestamp=0000 -collPlace=. -collBase=. -baseLocation= -configs=*,*,* -baseos=linux -basews=gtk -basearch=x86 -bootclasspath=${java.home}/lib/*.jar -javacFailOnError=true -javacVerbose=true -javacDebugInfo=on -zipargs= -archivesFormat = *,*,*-antZip -collectingFolder=eclipse -archivePrefix=eclipse -generateFeatureVersionSuffix=true diff --git a/releng/org.eclipse.tm.releng/builder/tests/configs/local/chkpii_ignore_list.txt b/releng/org.eclipse.tm.releng/builder/tests/configs/local/chkpii_ignore_list.txt deleted file mode 100644 index a4dc1c6c4d9..00000000000 --- a/releng/org.eclipse.tm.releng/builder/tests/configs/local/chkpii_ignore_list.txt +++ /dev/null @@ -1,2 +0,0 @@ -references/javadoc/*.html -**/epl-v10.html diff --git a/releng/org.eclipse.tm.releng/builder/tests/configs/local/customTest.xml b/releng/org.eclipse.tm.releng/builder/tests/configs/local/customTest.xml deleted file mode 100644 index c1e66649716..00000000000 --- a/releng/org.eclipse.tm.releng/builder/tests/configs/local/customTest.xml +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/releng/org.eclipse.tm.releng/builder/tests/configs/local/relengbuildgtk.sh b/releng/org.eclipse.tm.releng/builder/tests/configs/local/relengbuildgtk.sh deleted file mode 100644 index 97221e5d864..00000000000 --- a/releng/org.eclipse.tm.releng/builder/tests/configs/local/relengbuildgtk.sh +++ /dev/null @@ -1,278 +0,0 @@ -############################################################################### -# Copyright (c) 2005, 2008 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 -# Martin Oberhuber (Wind River) - adapt for DSDP from o.e.emf.validation.releng -############################################################################### -#!/bin/bash - -echo -n "[relengbuild] $0 started on: `date +%Y%m%d\ %H\:%M\:%S`"; - -# environment variables -PATH=.:/bin:/usr/bin:/usr/bin/X11:/usr/local/bin:/usr/X11R6/bin:`pwd`/../linux;export PATH - -export USERNAME=`whoami` -echo " running as $USERNAME"; -echo " currently in dir: `pwd`"; - -# fix for org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed] -# fix for Failed to invoke suite():org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed] -export CVS_RSH=ssh -ulimit -c unlimited; # core file size (blocks, -c) unlimited - -echo "Set JAVA_HIGH_ZIPFDS=500 & LANG=C"; -export JAVA_HIGH_ZIPFDS=500 -export LANG=C - -# configure X server thread for tests :: not yet working! -echo "Start Xvfb on :42" -Xvfb :42 -screen 0 1024x768x24 -ac & -sleep 40 -export DISPLAY=localhost:42.0 -xhost + - -#startkde & -#sleep 40 -# xwd -silent -display :42 -root -out /tmp/snap.xwd; # save a snapshot -#import -window root screenshot1.png # save a snapshot - -readPropertyOut=""; -readProperty () -{ - readPropertyOut=""; - file=$1 - property=$2 - readPropertyOut=$(grep $property $file | egrep -v "^#" | tail -1 | sed -e "s/$property=//"); -} - -if [[ ! $JAVA_HOME ]]; then - echo -n "[relengbuild] Get JAVA_HOME from build.cfg ... "; - buildcfg=$PWD/../../../build.cfg; - export JAVA_HOME=$(grep "JAVA_HOME=" $buildcfg | egrep -v "^#" | tail -1 | sed -e "s/JAVAHOME=//"); - echo "$JAVA_HOME"; -fi - -Xflags=""; -Dflags=""; - -# default target to run in org.eclipse.$subprojectName.releng/builder/tests/scripts/test.xml -antTestTarget=all - -# process command line arguments -while [ $# -gt 0 ] -do - case "$1" in - -vmExecutable) vmExecutable="$2"; shift;; - -consolelog) consolelog="$2"; shift;; - -X*) Xflags=$Xflags\ $1;; - -D*) Dflags=$Dflags\ $1;; - esac - shift -done - -checkIfj9 () -{ -# given a series of -X flags, see if the string -Xj9 can be found - j9=$Xflags; - #echo "Xflags=$Xflags" - j9=${j9/\-Xj9/} # substring replacement - #echo "remaining: $j9" - if [ "$j9" != "$Xflags" ]; then # found it - j9="j9"; - else - j9=""; - fi -} -checkIfj9; - -defined=0; -checkIfDefined () -{ - if [ -f $1 ] ; then - defined=1; - else - defined=0; - fi -} - -execCmd () -{ - echo ""; echo "[relengbuild] [`date +%H\:%M\:%S`]"; - echo " $1" | perl -pe "s/ -/\n -/g"; - if [ "x$2" != "x" ]; then - $1 2>&1 | tee $2; - else - $1; - fi -} - -doFunction () -{ - cmd=$1; - params=$2 - for pth in "." "/bin" "/usr/bin" "/usr/bin/X11" "/usr/local/bin" "/usr/X11R6/bin" "`pwd`/../linux" ; do - defined=0; - checkIfDefined $pth/$cmd - if [ $defined -eq 1 ] ; then - $cmd $params - sleep 3 - break; - fi - done - if [ $defined -eq 0 ] ; then - echo "$cmd is not defined (command not found)"; - fi -} - -# these don't work on old build server, so not point wrapping them to say so when we can just omit -# doFunction Xvfb ":42 -screen 0 1024x768x24 -ac & " -# doFunction Xnest ":43 -display :42 -depth 24 & " -# doFunction fvwm2 "-display localhost:43.0 & " -#export DISPLAY=$HOSTNAME:43.0 -#ulimit -c unlimited - -getBuildID() -{ # given $PWD: /home/www-data/build/dsdp/$projectName/$subprojectName/downloads/drops/1.1.0/N200702112049/testing/N200702112049/testing - # return N200702110400 - buildID=$1; #echo "buildID=$buildID"; - buildID=${buildID##*drops\/}; # trim up to drops/ (from start) (substring notation) - buildID=${buildID%%\/test*}; # trim off /test (to end) (substring notation) - buildID=${buildID##*\/}; # trim up to / (from start) (substring notation) -} -buildID=""; getBuildID $PWD; #echo buildID=$buildID; - -getBranch() -{ # given $PWD: /home/www-data/build/dsdp/$projectName/$subprojectName/downloads/drops/1.1.0/N200702112049/testing/N200702112049/testing - # return 1.1.0 - branch=$1; #echo "branch=$branch"; - branch=${branch##*drops\/}; # trim up to drops/ (from start) (substring notation) - branch=${branch%%\/*}; # trim off / (to end) (substring notation) -} -branch=""; getBranch $PWD; #echo branch=$branch; - -############################# BEGIN RUN TESTS ############################# - - -# operating system, windowing system and architecture variables -# for *nix systems, os, ws and arch values must be specified -Dflags=$Dflags" "-Dplatform=linux.gtk -os=linux -ws=gtk -arch=x86 - -# default value to determine if eclipse should be reinstalled between running of tests -installmode="clean" - -#this value must be set when using rsh to execute this script, otherwise the script will execute from the user's home directory -dir=. -cd $dir -workspaceDir="$dir/eclipse/workspace" - -# Replace the boot eclipse (The eclipse used to run the main test.xml, this will start another eclipse later) -if [ -d $dir/eclipse ] ; then - rm -rf $dir/eclipse -fi -if [ -d $workspaceDir ] ; then - rm -rf $dir/workspace -fi - -echo "[runtests] Currently in `pwd`:" -# need conditional processing here: M3.0.2 = zip, I3.1.0 = tar.gz -sdks=`find $dir -name "eclipse-SDK-*"` -# get extension from file(s) -for sdk in $sdks; do - sdk="eclipse"${sdk##*eclipse}; # trim up to eclipse (substring notation) - #echo -n "[runtests] Eclipse SDK $sdk is a"; - ext=${sdk%%\.zip}; # trim off .zip (substring notation) - if [ "$ext" != "$sdk" ]; then # it's a zip - #echo " zip. Unpacking..."; - unzip -qq -o $sdk - else - ext=${sdk%%\.tar\.gz}; # trim off .tar.gz (substring notation) - if [ "$ext" != "$sdk" ]; then # it's a tar.gz - #echo " tar.gz. Unpacking..."; - tar -xzf $sdk - else - ext=${sdk%%\.tar\.Z}; # trim off .tar.Z (substring notation) - if [ "$ext" != "$sdk" ]; then # it's a tar.Z - #echo " tar.Z. Unpacking..."; - tar -xZf $sdk - else - echo "[runtests] ERROR: Eclipse SDK $sdk is an UNKNOWN file type. Failure."; - exit 2 - fi - fi - fi -done - -J2SE15flags=""; -# TODO: if a 1.5 JDK and want source/target = 1.5, leave these in -# TODO: if source/target = 1.4, remove these! -if [ ${JAVA_HOME##*1.5*}"" = "" -o ${JAVA_HOME##*15*}"" = "" -o ${JAVA_HOME##*5.0*}"" = "" -o ${JAVA_HOME##*50*}"" = "" ]; then - # set J2SE-1.5 properties (-Dflags) - bootclasspath="."`find $JAVA_HOME/jre/lib -name "*.jar" -printf ":%p"`; - J2SE15flags=$J2SE15flags" -DJ2SE-1.5=$bootclasspath" - J2SE15flags=$J2SE15flags" -DbundleBootClasspath=$bootclasspath" - J2SE15flags=$J2SE15flags" -DjavacSource=1.5" - J2SE15flags=$J2SE15flags" -DjavacTarget=1.5" - J2SE15flags=$J2SE15flags" -DbundleJavacSource=1.5" - J2SE15flags=$J2SE15flags" -DbundleJavacTarget=1.5" -fi - -# different ways to get the launcher and Main class -if [[ -f eclipse/startup.jar ]]; then - cpAndMain="eclipse/startup.jar org.eclipse.core.launcher.Main"; # up to M4_33 -elif [[ -f eclipse/plugins/org.eclipse.equinox.launcher.jar ]]; then - cpAndMain="eclipse/plugins/org.eclipse.equinox.launcher.jar org.eclipse.equinox.launcher.Main"; # M5_33 -else - cpAndMain=`find eclipse/ -name "org.eclipse.equinox.launcher_*.jar" | sort | head -1`" org.eclipse.equinox.launcher.Main"; -fi - -# run tests -echo "[runtests] [`date +%H\:%M\:%S`] Launching Eclipse (installmode = $installmode with -enableassertions turned on) ..." -execCmd "$JAVA_HOME/bin/java $Xflags -enableassertions -cp $cpAndMain -ws $ws -os $os -arch $arch \ --application org.eclipse.ant.core.antRunner -data $workspaceDir -file test.xml $antTestTarget \ -$Dflags -Dws=$ws -Dos=$os -Darch=$arch -D$installmode=true $J2SE15flags \ -$properties -logger org.apache.tools.ant.DefaultLogger" $consolelog; -echo "[runtests] [`date +%H\:%M\:%S`] Eclipse test run completed. " - -#import -window root screenshot1.png # save a snapshot - -############################# END RUN TESTS ############################# - -# supress errors by checking for the file first -if [ -r /tmp/.X43-lock ] ; then - kill `cat /tmp/.X43-lock` -fi -if [ -r /tmp/.X42-lock ] ; then - kill `cat /tmp/.X42-lock` -fi - -if [[ ! -d $PWD/results ]]; then - echo "[relengbuild] No test results found in $PWD/results!"; - echo "[relengbuild] Creating 'noclean' file to prevent cleanup after build completes." - echo "1" > $PWD/../../../noclean; -else -# if the build failed for some reason, don't clean up! -xmls=`find $PWD/results/xml -name "*.xml"`; -testsFailed=1; -for xml in $xmls; do - if [ $testsFailed -eq 1 ]; then - testsFailed=`cat $xml | grep -c " $PWD/../../../noclean; - break; - fi - fi -done -fi; - -echo "[relengbuild] relengbuildgtk.sh completed on: `date +%Y%m%d\ %H\:%M\:%S`" - diff --git a/releng/org.eclipse.tm.releng/builder/tests/configs/local/testing.properties b/releng/org.eclipse.tm.releng/builder/tests/configs/local/testing.properties deleted file mode 100644 index 9dc29709e68..00000000000 --- a/releng/org.eclipse.tm.releng/builder/tests/configs/local/testing.properties +++ /dev/null @@ -1,57 +0,0 @@ -############################################################################### -# Copyright (c) 2005, 2008 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 -# Martin Oberhuber (Wind River) - adapt for DSDP from o.e.emf.validation.releng -############################################################################### -#which (sub)project? -project=rse - -#target to call in test.xml: runtests-local | runtests-remote -testTarget=runtests-local - -#directory on test machine where automated testing framework will be installed -testDir=${testBase}/${buildLabel} - -#name of zip file containing automated testing framework and JUnit test plug-ins -testFramework=RSE-automated-tests-${buildAlias}.zip - -#directory where test scripts are launched -executionDir=${testDir}/testing - -#name of runtime to install and test -runtime=RSE-SDK-${buildAlias}.zip - -# leave this blank and it will be generated by genBuildDetails.sh -javaHome=%%JAVA_HOME%% -vmExecutable=${javaHome}/bin/java - -#hack to override unneeded function in releng.basebuilder/plugins/org.eclipse.build.tools/scripts/test.xml -vmUrl= -vmDest=/dev/null -vmInstallExecutable=${vmExecutable} -vmInstallCommand=-version - -#eclipse platforms: win32 | linux.motif | linux.gtk | aix.motif | hpux.motif |solaris.motif -platform=${baseos}.${basews} - -#name of file that captures console output from running JUnit plug-in tests -consolelog=${baseos}.${basews}_consolelog.txt - -#Works with IBM and Sun JDKs, 1.4+ -#name of script to execute -testExecutable=bash - -#arguments to $(testExecutable) - .sh script + args -args=${executionDir}/${shell} -vmExecutable ${vmExecutable} -consolelog ${consolelog} ${Xflags} ${Dflags} - -#TODO: set vm-specific flags -#Xflags=-Xms64M -Xmx192M -Xflags=-Xms256M -Xmx256M -Dflags= - diff --git a/releng/org.eclipse.tm.releng/builder/tests/customTargets.xml b/releng/org.eclipse.tm.releng/builder/tests/customTargets.xml deleted file mode 100644 index 648f1745f6f..00000000000 --- a/releng/org.eclipse.tm.releng/builder/tests/customTargets.xml +++ /dev/null @@ -1,274 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/releng/org.eclipse.tm.releng/builder/tests/scripts/readme.html b/releng/org.eclipse.tm.releng/builder/tests/scripts/readme.html deleted file mode 100644 index 628cbca98eb..00000000000 --- a/releng/org.eclipse.tm.releng/builder/tests/scripts/readme.html +++ /dev/null @@ -1,162 +0,0 @@ - - -Instructions - - - - - Automated Testing of DSDP Project Builds -

last updated: November 9, 2005

-

Description

-

This document describes how to run the your project's JUnit test plugins from the command - line. This is the same mechanism used in the builds.

-

Click here for a description of the testing - framework, and how it can be used outside of the setup described here.

-

If you simply wish to write and run JUnit tests interactively from an Eclipse - workbench, try one of the links below:

-

JUnit - Support in Eclipse
-Using - JUnit

- -

Requirements

-

1. All test machines must have a java runtime environment (version 1.3.1) installed and added to the path environment variable (see - -vm parameter below).
- 2. Info-ZIP UnZip - version 5.41 or later installed and added to the path.
- 3. The Automated Test feature from a - downloads. - This contains the test framework plugins and the JUnit test plugins to run.
- 4. The zip file from the same build as the Automated Test feature. You can use the RSE-*-SDK zip file instead of the individual files.
- 5. An Eclipse SDK zip file. The URL and build name of the required builds - are specified in the build.cfg file included in the Automated Test zip file.

-

Setup

-

1. Extract the RSE-*-automated-tests-<buildid>.zip. 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 "testing".
- 2. Place the Eclipse SDK zip file and the project's runtime in the testing directory. - Do not unzip these files. (The test scripts will take care of this)
-

-

Running Tests

-

1. cd to the testing directory
- 2. Run the following script:

-

runtests.sh [-os <operating system>] [-ws <windowing system>] [-arch - <architecture>] [-noclean] [<testTarget>][-properties <path>][-vm - <path to java executable>]

-All parameters and targets are optional on windows systems. Just running "runtests.sh" -will run ALL tests on Windows, installing a clean Eclipse and your project's SDK between -each test target. On *nix systems, the os, ws and arch parameters must be specified. -
-
-Test results are placed in the testing/results directory in xml and html format.
-

Parameters

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ParameterDescription
-os <operating system>The OS the tests are being run on. One of: aix, hpux, linux, qnx, solaris, - win32. Default win32
-ws <windowing system>The windowing system the tests are being run on. One of: motif, gtk, photon, - win32. Default win32
-arch <architecture>The architecture the tests are being run on. One of: ppc, PA_RISC, x86, - sparc. Default x86
-nocleanRun tests without installing an Eclipse and GEF SDK and tests between - test targets. Default is to re-install these between test targets.
-propertiesUsed 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 "extraVMargs=<the - args to pass to the vm>" to the specified properties file.
-vmThe full path to the java executable with which to run the tests. Use - this to specify a specific virtual machine with which to run the tests. - For example, "-vm c:\sun131\jre\bin\java". Default set to "java" - (i.e. java executable on system path).
- -

Test Targets

-

Specifies which ant target to run in the main test.xml. Typically this corresponds - to a test project's tests. If you do not specify a test target then the all - test target is run.

- - - - - - - - - - - - - - -
allRuns all the targets below.
rseRuns the JUnit tests located in the test plug-ins
genHtmlConverts xml test results in the "testing/results" directory - to html.
-

 

-

Appendix A- Supported os, ws, and arch - value combinations

-

The following table contains the values that can be used with the -os, -ws, - and -arch switches.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Operating System (os)Windowing System (ws)Architecture (arch)
aixmotifppc
hpuxmotifPA_RISC
linuxgtkx86
linuxmotifx86
qnxphotonx86
solarismotifsparc
win32win32x86
- - diff --git a/releng/org.eclipse.tm.releng/builder/tests/scripts/test.xml b/releng/org.eclipse.tm.releng/builder/tests/scripts/test.xml deleted file mode 100644 index 0583e3d30c2..00000000000 --- a/releng/org.eclipse.tm.releng/builder/tests/scripts/test.xml +++ /dev/null @@ -1,118 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -