diff options
Diffstat (limited to 'TMP')
27 files changed, 0 insertions, 2217 deletions
diff --git a/TMP/eclipse-junit-tests/eclipse-junit-tests.product b/TMP/eclipse-junit-tests/eclipse-junit-tests.product deleted file mode 100755 index 9f53d3d27..000000000 --- a/TMP/eclipse-junit-tests/eclipse-junit-tests.product +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<?pde version="3.5"?> - -<product uid="eclipse-junit-tests" name="eclipse-junit-tests" version="3.8.0.qualifier" useFeatures="true" includeLaunchers="false"> - - <features> - <feature id="org.eclipse.sdk.tests"/> - <feature id="org.eclipse.test"/> - </features> - -</product> diff --git a/TMP/eclipse-junit-tests/pom.xml b/TMP/eclipse-junit-tests/pom.xml deleted file mode 100644 index 4b3ae34a8..000000000 --- a/TMP/eclipse-junit-tests/pom.xml +++ /dev/null @@ -1,156 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - Copyright (c) 2012 Eclipse Foundation. - All rights reserved. This program and the accompanying materials - are made available under the terms of the Eclipse Distribution License v1.0 - which accompanies this distribution, and is available at - http://www.eclipse.org/org/documents/edl-v10.php - - Contributors: - Igor Fedorenko - initial implementation ---> - -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> - <modelVersion>4.0.0</modelVersion> - - <parent> - <groupId>org.eclipse</groupId> - <artifactId>eclipse-parent</artifactId> - <version>1.0.0-SNAPSHOT</version> - <relativePath>../eclipse-parent</relativePath> - </parent> - - <artifactId>eclipse-junit-tests</artifactId> - <packaging>eclipse-repository</packaging> - - <!-- - igorf: I *guess* junit-tests is built by PDE/Build from org.eclipse.releng.eclipsebuilder/eclipse/buildConfigs/sdk.tests - --> - - <build> - <finalName>${project.artifactId}</finalName> - - <resources> - <resource> - <directory>src/main/resources</directory> - <filtering>true</filtering> - </resource> - </resources> - - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-resources-plugin</artifactId> - <version>2.5</version> - <executions> - <execution> - <id>filter-resources</id> - <goals> - <goal>resources</goal> - </goals> - <phase>process-resources</phase> - <configuration> - <outputDirectory>${project.build.directory}/resources</outputDirectory> - <escapeString>\</escapeString> - </configuration> - </execution> - </executions> - </plugin> - - <plugin> - <groupId>org.eclipse.tycho</groupId> - <artifactId>target-platform-configuration</artifactId> - <configuration> - <resolver>p2</resolver> - <environments> - <environment> - <os>linux</os> - <ws>gtk</ws> - <arch>x86</arch> - </environment> - <environment> - <os>linux</os> - <ws>gtk</ws> - <arch>x86_64</arch> - </environment> - <environment> - <os>win32</os> - <ws>win32</ws> - <arch>x86</arch> - </environment> - <environment> - <os>win32</os> - <ws>win32</ws> - <arch>x86_64</arch> - </environment> - <environment> - <os>macosx</os> - <ws>cocoa</ws> - <arch>x86_64</arch> - </environment> - </environments> - </configuration> - </plugin> - <plugin> - <groupId>org.eclipse.tycho</groupId> - <artifactId>tycho-p2-repository-plugin</artifactId> - <executions> - <execution> - <id>archive-repository</id> - <phase>package</phase> - <goals> - <goal>archive-repository</goal> - </goals> - </execution> - </executions> - </plugin> - <plugin> - <groupId>org.eclipse.cbi</groupId> - <artifactId>maven-cbi-plugin</artifactId> - <version>0.0.1-SNAPSHOT</version> - <executions> - <execution> - <id>plugin-versions</id> - <goals> - <goal>plugin-versions</goal> - </goals> - <phase>package</phase> - <configuration> - <destination>${project.build.directory}/resources/finalPluginsVersions.properties</destination> - </configuration> - </execution> - <execution> - <id>test-properties</id> - <goals> - <goal>test-properties</goal> - </goals> - <phase>package</phase> - <configuration> - <destination>${project.build.directory}/resources/test.properties</destination> - </configuration> - </execution> - </executions> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-assembly-plugin</artifactId> - <configuration> - <descriptors> - <descriptor>src/main/assembly/assembly.xml</descriptor> - </descriptors> - </configuration> - <executions> - <execution> - <id>make-assembly</id> - <phase>package</phase> - <goals> - <goal>single</goal> - </goals> - </execution> - </executions> - </plugin> - </plugins> - </build> - -</project> diff --git a/TMP/eclipse-junit-tests/src/main/assembly/assembly.xml b/TMP/eclipse-junit-tests/src/main/assembly/assembly.xml deleted file mode 100644 index 86d59c11b..000000000 --- a/TMP/eclipse-junit-tests/src/main/assembly/assembly.xml +++ /dev/null @@ -1,24 +0,0 @@ -<assembly> - <id>bundle</id> - <formats> - <format>zip</format> - </formats> - <includeBaseDirectory>false</includeBaseDirectory> - <fileSets> - <fileSet> - <directory>${project.basedir}/src/main/scripts</directory> - <outputDirectory>/</outputDirectory> - </fileSet> - <fileSet> - <directory>${project.build.directory}/resources</directory> - <outputDirectory>/</outputDirectory> - </fileSet> - </fileSets> - <files> - <file> - <source>${project.build.directory}/eclipse-junit-tests.zip</source> - <outputDirectory>/</outputDirectory> - <destName>eclipse-junit-tests-${buildQualifier}.zip</destName> - </file> - </files> -</assembly> diff --git a/TMP/eclipse-junit-tests/src/main/resources/equinoxp2tests.properties b/TMP/eclipse-junit-tests/src/main/resources/equinoxp2tests.properties deleted file mode 100644 index 726eb2bd6..000000000 --- a/TMP/eclipse-junit-tests/src/main/resources/equinoxp2tests.properties +++ /dev/null @@ -1,18 +0,0 @@ -#Properties required by equinox p2 tests -#Wed, 14 Mar 2012 19:41:56 -0400 - -org.eclipse.equinox.p2.reconciler.tests.platform.archive.linux=\${basedir}/eclipse-platform-${buildQualifier}-linux-gtk.tar.gz -org.eclipse.equinox.p2.reconciler.tests.platform.archive.linux-x86_64=\${basedir}/eclipse-platform-${buildQualifier}-linux-gtk-x86_64.tar.gz -org.eclipse.equinox.p2.reconciler.tests.platform.archive.win32=\${basedir}\\eclipse-platform-${buildQualifier}-win32.zip -org.eclipse.equinox.p2.reconciler.tests.platform.archive.win32-x86_64=\${basedir}\\\\eclipse-platform-${buildQualifier}-win32-x86_64.zip -org.eclipse.equinox.p2.reconciler.tests.platform.archive.macosx=\${basedir}/eclipse-platform-${buildQualifier}-macosx-cocoa.tar.gz -org.eclipse.equinox.p2.reconciler.tests.platform.archive.macosx-x86_64=\${basedir}/eclipse-platform-${buildQualifier}-macosx-cocoa-x86_64.tar.gz -org.eclipse.equinox.p2.reconciler.tests.lastrelease.platform.archive.linux=\${basedir}/eclipse-platform-3.7.2-linux-gtk.tar.gz -org.eclipse.equinox.p2.reconciler.tests.lastrelease.platform.archive.linux-x86_64=\${basedir}/eclipse-platform-3.7.2-linux-gtk-x86_64.tar.gz -org.eclipse.equinox.p2.reconciler.tests.lastrelease.platform.archive.win32=\${basedir}\\\\eclipse-platform-3.7.2-win32.zip -org.eclipse.equinox.p2.reconciler.tests.lastrelease.platform.archive.win32-x86_64=\${basedir}\\\\eclipse-platform-3.7.2-win32-x86_64.zip -org.eclipse.equinox.p2.reconciler.tests.lastrelease.platform.archive.macosx=\${basedir}/eclipse-platform-3.7.2-macosx-cocoa.tar.gz -org.eclipse.equinox.p2.reconciler.tests.lastrelease.platform.archive.macosx-x86_64=\${basedir}/eclipse-platform-3.7.2-macosx-cocoa-x86_64.tar.gz -org.eclipse.equinox.p2.tests.current.build.repo=file:/shared/eclipse/e4/lts/R3_platform-aggregator/TMP/org.eclipse.sdk.epp/target/repository/ -org.eclipse.equinox.p2.tests.last.release.build.repo=http://download.eclipse.org/eclipse/updates/3.7/R-3.7-201106131736 - diff --git a/TMP/eclipse-junit-tests/src/main/resources/label.properties b/TMP/eclipse-junit-tests/src/main/resources/label.properties deleted file mode 100644 index 81c91a842..000000000 --- a/TMP/eclipse-junit-tests/src/main/resources/label.properties +++ /dev/null @@ -1,5 +0,0 @@ -# can't access timestamp, so use version qualifier instead -timestamp=${buildQualifier} -buildType=I -buildId=${buildQualifier} -buildLabel=${buildQualifier} diff --git a/TMP/eclipse-junit-tests/src/main/scripts/readme.html b/TMP/eclipse-junit-tests/src/main/scripts/readme.html deleted file mode 100755 index d1df078e5..000000000 --- a/TMP/eclipse-junit-tests/src/main/scripts/readme.html +++ /dev/null @@ -1,183 +0,0 @@ -<!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=<path to 1.5 java executable>. On Windows, the path must be enclosed with double quotes if it contains any space characters, e.g. J2SE-5.0="c:/program files/jdk1.5.0/jre/bin/java".</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-<buildId>.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-<buildId>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-<buildId>.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-<buildId>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 <path to properties file> [-os <operating system>] [-ws <windowing system>] [-arch - <architecture>] [-noclean] [-vm - <path to java executable>][-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 "-properties". 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 "genHtml" target as described - in the table below. Please be aware that "Build Successful" 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 <operating system></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 <windowing system></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 <architecture></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 "test-eclipse") 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 "extraVMargs=<the - args to pass to the vm>" to the specified properties file.<BR><BR>At a minimum, the property file must include a "J2SE-5.0" property which specifies a path to a 1.5 java executable, for example:<BR><BR><B>J2SE-5.0="c:/program files/jdk1.5.0_06/jre/bin/java"</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, "-vm c:\jdk142\jre\bin\java".<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 "-Dtest.target=performance".</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 "ant" and "antui" test targets only. If not specified, the "all" 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> -<tr><td>update</td><td>org.eclipse.update.tests.core</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/TMP/eclipse-junit-tests/src/main/scripts/runtests b/TMP/eclipse-junit-tests/src/main/scripts/runtests deleted file mode 100755 index da0d6464d..000000000 --- a/TMP/eclipse-junit-tests/src/main/scripts/runtests +++ /dev/null @@ -1,87 +0,0 @@ -# !/bin/sh - -#set the DISPLAY for running tests on Linux -DISPLAY=:0.0;export DISPLAY - -# by default, use the java executable on the path for outer and test jvm -vmcmd=java - -#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= - -# 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;; - -vm) vmcmd="$2"; shift;; - *) tests=$tests\ $1;; - esac - shift -done - -# 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 - -# verify os, ws and arch values passed in are valid before running tests -if [ "$os-$ws-$arch" = "linux-gtk-x86" ] || [ "$os-$ws-$arch" = "macosx-cocoa-ppc" ] || [ "$os-$ws-$arch" = "macosx-cocoa-x86" ] || [ "$os-$ws-$arch" = "macosx-cocoa-x86_64" ] || [ "$os-$ws-$arch" = "aix-gtk-ppc" ] || [ "$os-$ws-$arch" = "aix-gtk-ppc64" ] || [ "$os-$ws-$arch" = "solaris-gtk-sparc" ] || [ "$os-$ws-$arch" = "solaris-gtk-x86" ] || [ "$os-$ws-$arch" = "linux-gtk-ppc64" ] || [ "$os-$ws-$arch" = "linux-gtk-ia64" ] || [ "$os-$ws-$arch" = "linux-gtk-x86_64" ] || [ "$os-$ws-$arch" = "hpux-gtk-ia64_32"] -then - if [ ! -r eclipse ] - then - tar -xzf eclipse-SDK-*.tar.gz - 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` -$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 - -# display message to user if os, ws and arch are invalid -else - echo "The os, ws and arch values are either invalid or are an invalid combination" - -exit 1 -fi - diff --git a/TMP/eclipse-junit-tests/src/main/scripts/runtests.bat b/TMP/eclipse-junit-tests/src/main/scripts/runtests.bat deleted file mode 100755 index f9a578deb..000000000 --- a/TMP/eclipse-junit-tests/src/main/scripts/runtests.bat +++ /dev/null @@ -1,63 +0,0 @@ -@echo off - -REM default java executable for outer and test vm -set vmcmd=java -set no_proxy=localhost,dev.eclipse.org,hudson.eclipse.org - -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= - -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 - -set tests=%tests% %1 && shift && goto processcmdlineargs - - -: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 - -%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 - -goto end - -:end diff --git a/TMP/eclipse-junit-tests/src/main/scripts/runtests.sh b/TMP/eclipse-junit-tests/src/main/scripts/runtests.sh deleted file mode 100755 index 10ad816da..000000000 --- a/TMP/eclipse-junit-tests/src/main/scripts/runtests.sh +++ /dev/null @@ -1,89 +0,0 @@ -#!/bin/sh - -#set the DISPLAY for running tests on Linux -#DISPLAY=`$HOST`:0.0;export DISPLAY -export no_proxy=localhost,dev.eclipse.org,hudson.eclipse.org - -# 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 -vmcmd=java - -#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= - -# 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;; - -vm) vmcmd="$2"; shift;; - *) tests=$tests\ $1;; - esac - shift -done - -# 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 - -# verify os, ws and arch values passed in are valid before running tests -if [ "$os-$ws-$arch" = "linux-gtk-x86" ] || [ "$os-$ws-$arch" = "macosx-cocoa-ppc" ] || [ "$os-$ws-$arch" = "macosx-cocoa-x86" ] || [ "$os-$ws-$arch" = "aix-gtk-ppc" ] || [ "$os-$ws-$arch" = "aix-gtk-ppc64" ] || [ "$os-$ws-$arch" = "solaris-gtk-sparc" ] || [ "$os-$ws-$arch" = "solaris-gtk-x86" ] || [ "$os-$ws-$arch" = "linux-gtk-ppc64" ] || [ "$os-$ws-$arch" = "linux-gtk-ia64" ] || [ "$os-$ws-$arch" = "linux-gtk-x86_64" ] || [ "$os-$ws-$arch" = "hpux-gtk-ia64_32"] -then - if [ ! -r eclipse ] - then - tar -xzf eclipse-SDK-*.tar.gz - 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` -$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 - -# display message to user if os, ws and arch are invalid -else - echo "The os, ws and arch values are either invalid or are an invalid combination" - -exit 1 -fi - diff --git a/TMP/eclipse-junit-tests/src/main/scripts/test.xml b/TMP/eclipse-junit-tests/src/main/scripts/test.xml deleted file mode 100755 index a9d3b1661..000000000 --- a/TMP/eclipse-junit-tests/src/main/scripts/test.xml +++ /dev/null @@ -1,1015 +0,0 @@ -<project name="Automated Eclipse Testing" default="all" basedir="." xmlns:jacoco="antlib:org.jacoco.ant"> - - <!--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" /> - - <!--properties file containing the build information--> - <property file="label.properties" /> - - <!--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}" /> - <property name="coverage-output" value="${results}/coverage" /> - <condition property="codecoverage" value="true"> - <and> - <and> - <equals arg1="${buildType}" arg2="I" /> - <os family="unix" /> - </and> - <not> - <equals arg1="${test.target}" arg2="performance" /> - </not> - </and> - </condition> - - <!--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" /> - </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> - <os family="mac" /> - <os arch="x86_64" /> - <os arch="amd64" /> - </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.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> - <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> - <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"> - <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-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.zip"> - <and> - <equals arg1="${os}" arg2="hpux" /> - <equals arg1="${ws}" arg2="gtk" /> - <equals arg1="${arch}" arg2="ia64_32" /> - </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> - <equals arg1="${ant.java.version}" arg2="1.5" /> - <equals arg1="${ant.java.version}" arg2="1.6" /> - </or> - </condition> - <condition property="J2SE-6.0" value="${java.home}/bin/java"> - <equals arg1="${ant.java.version}" arg2="1.6" /> - </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-6.0" value="${jvm}"> - <contains string="${javaversion}" substring="java version "1.6" /> - </condition> - <condition property="J2SE-5.0" value="${jvm}"> - <or> - <contains string="${javaversion}" substring="java version "1.6" /> - <contains string="${javaversion}" substring="java version "1.5" /> - </or> - </condition> - <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> - - <!--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> - </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" /> - <xslt style="${junit-stylesheet}" basedir="${results}/xml" destdir="${results}/html" /> - </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> - <isset property="J2SE-6.0" /> - </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> - <isset property="J2SE-6.0" /> - </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> - <isset property="J2SE-6.0" /> - </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> - - <target name="equinoxp2" 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" /> - </target> - - <target name="equinoxp2ui" 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.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> - - <macrodef name="jacocoreport"> - <attribute name="pluginName" /> - <attribute name="reportTitle" /> - <sequential> - <property name="reportunzipsource" value="${basedir}/reportunzipsource" /> - <delete dir="${reportunzipsource}" /> - <mkdir dir="${reportunzipsource}" /> - <unzip src="${basedir}/test-eclipse/eclipse/plugins/@{pluginName}.source_${@{pluginName}.source}.jar" dest="${reportunzipsource}" /> - <jacoco:report> - <executiondata> - <file file="${exec.file}" /> - </executiondata> - <structure name="@{reportTitle}"> - <group name="@{pluginName}"> - <classfiles> - <file file="${basedir}/test-eclipse/eclipse/plugins/@{pluginName}_${@{pluginName}}.jar" /> - </classfiles> - <sourcefiles> - <fileset dir="${reportunzipsource}" includes="**/*.java" /> - </sourcefiles> - </group> - </structure> - <html destdir="${results}/reports/@{pluginName}_${@{pluginName}}" /> - </jacoco:report> - </sequential> - </macrodef> - - - <target name="generateJacocoReport" if="codecoverage"> - <echo message="Coverage output location = ${coverage-output}" /> - <mkdir dir="${coverage-output}" /> - <mkdir dir="${results}/reports" /> - <property name="exec.file" location="${coverage-output}/jacoco_merge.exec" /> - <property file="finalPluginsVersions.properties" /> - <taskdef uri="antlib:org.jacoco.ant" resource="org/jacoco/ant/antlib.xml"> - <classpath path="${basedir}/test-eclipse/eclipse/plugins/org.eclipse.test_${org.eclipse.test}/lib/jacocoant.jar" /> - </taskdef> - <jacoco:merge destfile="${exec.file}"> - <fileset dir="${coverage-output}" includes="*.exec" /> - </jacoco:merge> - <antcall target="alljacocoreports" /> - </target> - - <target name="alljacocoreports"> - <jacocoreport pluginName="org.eclipse.ant.core" reportTitle="org.eclipse.ant.core Code Coverage" /> - <jacocoreport pluginName="org.eclipse.ant.launching" reportTitle="org.eclipse.ant.launching Code Coverage" /> - <jacocoreport pluginName="org.eclipse.ant.ui" reportTitle="org.eclipse.ant.ui Code Coverage" /> - <jacocoreport pluginName="org.eclipse.compare" reportTitle="org.eclipse.compare Code Coverage" /> - <jacocoreport pluginName="org.eclipse.compare.core" reportTitle="org.eclipse.compare.core Code Coverage" /> - <jacocoreport pluginName="org.eclipse.core.commands" reportTitle="org.eclipse.core.commands Code Coverage" /> - <jacocoreport pluginName="org.eclipse.core.contenttype" reportTitle="org.eclipse.core.contenttype Code Coverage" /> - <jacocoreport pluginName="org.eclipse.core.databinding" reportTitle="org.eclipse.core.databinding Code Coverage" /> - <jacocoreport pluginName="org.eclipse.core.databinding.beans" reportTitle="org.eclipse.core.databinding.beans Code Coverage" /> - <jacocoreport pluginName="org.eclipse.core.databinding.observable" reportTitle="org.eclipse.core.databinding.observable Code Coverage" /> - <jacocoreport pluginName="org.eclipse.core.databinding.property" reportTitle="org.eclipse.core.databinding.property Code Coverage" /> - <jacocoreport pluginName="org.eclipse.core.expressions" reportTitle="org.eclipse.core.expressions Code Coverage" /> - <jacocoreport pluginName="org.eclipse.core.externaltools" reportTitle="org.eclipse.core.externaltools Code Coverage" /> - <jacocoreport pluginName="org.eclipse.core.filebuffers" reportTitle="org.eclipse.core.filebuffers Code Coverage" /> - <jacocoreport pluginName="org.eclipse.core.filesystem" reportTitle="org.eclipse.core.filesystem Code Coverage" /> - <jacocoreport pluginName="org.eclipse.core.jobs" reportTitle="org.eclipse.core.jobs Code Coverage" /> - <jacocoreport pluginName="org.eclipse.core.resources" reportTitle="org.eclipse.core.resources Code Coverage" /> - <jacocoreport pluginName="org.eclipse.core.net" reportTitle="org.eclipse.core.net Code Coverage" /> - <jacocoreport pluginName="org.eclipse.core.runtime" reportTitle="org.eclipse.core.runtime Code Coverage" /> - <jacocoreport pluginName="org.eclipse.core.runtime.compatibility" reportTitle="org.eclipse.core.runtime.compatibility Code Coverage" /> - <jacocoreport pluginName="org.eclipse.core.runtime.compatibility.auth" reportTitle="org.eclipse.core.runtime.compatibility.auth Code Coverage" /> - <jacocoreport pluginName="org.eclipse.core.variables" reportTitle="org.eclipse.core.variables Code Coverage" /> - <jacocoreport pluginName="org.eclipse.debug.core" reportTitle="org.eclipse.debug.core Code Coverage" /> - <jacocoreport pluginName="org.eclipse.debug.ui" reportTitle="org.eclipse.debug.ui Code Coverage" /> - <jacocoreport pluginName="org.eclipse.equinox.app" reportTitle="org.eclipse.equinox.app Code Coverage" /> - <jacocoreport pluginName="org.eclipse.equinox.bidi" reportTitle="org.eclipse.equinox.bidi Code Coverage" /> - <jacocoreport pluginName="org.eclipse.equinox.common" reportTitle="org.eclipse.equinox.common Code Coverage" /> - <jacocoreport pluginName="org.eclipse.equinox.event" reportTitle="org.eclipse.equinox.event Code Coverage" /> - <jacocoreport pluginName="org.eclipse.equinox.ds" reportTitle="org.eclipse.equinox.ds Code Coverage" /> - <jacocoreport pluginName="org.eclipse.equinox.frameworkadmin" reportTitle="org.eclipse.equinox.frameworkadmin Code Coverage" /> - <jacocoreport pluginName="org.eclipse.equinox.frameworkadmin.equinox" reportTitle="org.eclipse.equinox.frameworkadmin.equinox Code Coverage" /> - <jacocoreport pluginName="org.eclipse.equinox.http.jetty" reportTitle="org.eclipse.equinox.http.jetty Code Coverage" /> - <jacocoreport pluginName="org.eclipse.equinox.jsp.jasper" reportTitle="org.eclipse.equinox.jsp.jasper Code Coverage" /> - <jacocoreport pluginName="org.eclipse.equinox.jsp.jasper.registry" reportTitle="org.eclipse.equinox.jsp.jasper.registry Code Coverage" /> - <jacocoreport pluginName="org.eclipse.equinox.launcher" reportTitle="org.eclipse.equinox.launcher Code Coverage" /> - <jacocoreport pluginName="org.eclipse.equinox.p2.artifact.repository" reportTitle="org.eclipse.equinox.p2.artifact.repository Code Coverage" /> - <jacocoreport pluginName="org.eclipse.equinox.p2.console" reportTitle="org.eclipse.equinox.p2.console Code Coverage" /> - <jacocoreport pluginName="org.eclipse.equinox.p2.core" reportTitle="org.eclipse.equinox.p2.core Code Coverage" /> - <jacocoreport pluginName="org.eclipse.equinox.p2.director" reportTitle="org.eclipse.equinox.p2.director Code Coverage" /> - <jacocoreport pluginName="org.eclipse.equinox.p2.director.app" reportTitle="org.eclipse.equinox.p2.director.app Code Coverage" /> - <jacocoreport pluginName="org.eclipse.equinox.p2.directorywatcher" reportTitle="org.eclipse.equinox.p2.directorywatcher Code Coverage" /> - <jacocoreport pluginName="org.eclipse.equinox.p2.engine" reportTitle="org.eclipse.equinox.p2.engine Code Coverage" /> - <jacocoreport pluginName="org.eclipse.equinox.p2.extensionlocation" reportTitle="org.eclipse.equinox.p2.extensionlocation Code Coverage" /> - <jacocoreport pluginName="org.eclipse.equinox.p2.garbagecollector" reportTitle="org.eclipse.equinox.p2.garbagecollector Code Coverage" /> - <jacocoreport pluginName="org.eclipse.equinox.p2.jarprocessor" reportTitle="org.eclipse.equinox.p2.jarprocessor Code Coverage" /> - <jacocoreport pluginName="org.eclipse.equinox.p2.metadata" reportTitle="org.eclipse.equinox.p2.metadata Code Coverage" /> - <jacocoreport pluginName="org.eclipse.equinox.p2.metadata.repository" reportTitle="org.eclipse.equinox.p2.metadata.repository Code Coverage" /> - <jacocoreport pluginName="org.eclipse.equinox.p2.operations" reportTitle="org.eclipse.equinox.p2.operations Code Coverage" /> - <jacocoreport pluginName="org.eclipse.equinox.p2.publisher" reportTitle="org.eclipse.equinox.p2.publisher Code Coverage" /> - <jacocoreport pluginName="org.eclipse.equinox.p2.ql" reportTitle="org.eclipse.equinox.p2.ql Code Coverage" /> - <jacocoreport pluginName="org.eclipse.equinox.p2.reconciler.dropins" reportTitle="org.eclipse.equinox.p2.reconciler.dropins Code Coverage" /> - <jacocoreport pluginName="org.eclipse.equinox.p2.repository" reportTitle="org.eclipse.equinox.p2.repository Code Coverage" /> - <jacocoreport pluginName="org.eclipse.equinox.p2.repository.tools" reportTitle="org.eclipse.equinox.p2.repository.tools Code Coverage" /> - <jacocoreport pluginName="org.eclipse.equinox.p2.touchpoint.eclipse" reportTitle="org.eclipse.equinox.p2.touchpoint.eclipse Code Coverage" /> - <jacocoreport pluginName="org.eclipse.equinox.p2.touchpoint.natives" reportTitle="org.eclipse.equinox.p2.touchpoint.natives Code Coverage" /> - <jacocoreport pluginName="org.eclipse.equinox.p2.transport.ecf" reportTitle="org.eclipse.equinox.p2.transport.ecf Code Coverage" /> - <jacocoreport pluginName="org.eclipse.equinox.p2.ui" reportTitle="org.eclipse.equinox.p2.ui Code Coverage" /> - <jacocoreport pluginName="org.eclipse.equinox.p2.ui.sdk" reportTitle="org.eclipse.equinox.p2.ui.sdk Code Coverage" /> - <jacocoreport pluginName="org.eclipse.equinox.p2.ui.sdk.scheduler" reportTitle="org.eclipse.equinox.p2.ui.sdk.scheduler Code Coverage" /> - <jacocoreport pluginName="org.eclipse.equinox.p2.updatechecker" reportTitle="org.eclipse.equinox.p2.updatechecker Code Coverage" /> - <jacocoreport pluginName="org.eclipse.equinox.p2.updatesite" reportTitle="org.eclipse.equinox.p2.updatesite Code Coverage" /> - <jacocoreport pluginName="org.eclipse.equinox.preferences" reportTitle="org.eclipse.equinox.preferences Code Coverage" /> - <jacocoreport pluginName="org.eclipse.equinox.registry" reportTitle="org.eclipse.equinox.registry Code Coverage" /> - <jacocoreport pluginName="org.eclipse.equinox.security" reportTitle="org.eclipse.equinox.security Code Coverage" /> - <jacocoreport pluginName="org.eclipse.equinox.security.ui" reportTitle="org.eclipse.equinox.security.ui Code Coverage" /> - <jacocoreport pluginName="org.eclipse.equinox.simpleconfigurator" reportTitle="org.eclipse.equinox.simpleconfigurator Code Coverage" /> - <jacocoreport pluginName="org.eclipse.equinox.simpleconfigurator.manipulator" reportTitle="org.eclipse.equinox.simpleconfigurator.manipulator Code Coverage" /> - <jacocoreport pluginName="org.eclipse.equinox.util" reportTitle="org.eclipse.equinox.util Code Coverage" /> - <jacocoreport pluginName="org.eclipse.help" reportTitle="org.eclipse.help Code Coverage" /> - <jacocoreport pluginName="org.eclipse.help.appserver" reportTitle="org.eclipse.help.appserver Code Coverage" /> - <jacocoreport pluginName="org.eclipse.help.base" reportTitle="org.eclipse.help.base Code Coverage" /> - <jacocoreport pluginName="org.eclipse.help.ui" reportTitle="org.eclipse.help.ui Code Coverage" /> - <jacocoreport pluginName="org.eclipse.help.webapp" reportTitle="org.eclipse.help.webapp Code Coverage" /> - <jacocoreport pluginName="org.eclipse.jdt" reportTitle="org.eclipse.jdt Code Coverage" /> - <jacocoreport pluginName="org.eclipse.jdt.apt.core" reportTitle="org.eclipse.jdt.apt.core Code Coverage" /> - <jacocoreport pluginName="org.eclipse.jdt.apt.pluggable.core" reportTitle="org.eclipse.jdt.apt.pluggable.core Code Coverage" /> - <jacocoreport pluginName="org.eclipse.jdt.apt.ui" reportTitle="org.eclipse.jdt.apt.ui Code Coverage" /> - <jacocoreport pluginName="org.eclipse.jdt.compiler.apt" reportTitle="org.eclipse.jdt.compiler.apt Code Coverage" /> - <jacocoreport pluginName="org.eclipse.jdt.compiler.tool" reportTitle="org.eclipse.jdt.compiler.tool Code Coverage" /> - <jacocoreport pluginName="org.eclipse.jdt.core" reportTitle="org.eclipse.jdt.core Code Coverage" /> - <jacocoreport pluginName="org.eclipse.jdt.core.manipulation" reportTitle="org.eclipse.jdt.core.manipulation Code Coverage" /> - <jacocoreport pluginName="org.eclipse.jdt.debug.ui" reportTitle="org.eclipse.jdt.debug.ui Code Coverage" /> - <jacocoreport pluginName="org.eclipse.jdt.junit" reportTitle="org.eclipse.jdt.junit Code Coverage" /> - <jacocoreport pluginName="org.eclipse.jdt.junit4.runtime" reportTitle="org.eclipse.jdt.junit4.runtime Code Coverage" /> - <jacocoreport pluginName="org.eclipse.jdt.junit.core" reportTitle="org.eclipse.jdt.junit.core Code Coverage" /> - <jacocoreport pluginName="org.eclipse.jdt.junit.runtime" reportTitle="org.eclipse.jdt.junit.runtime Code Coverage" /> - <jacocoreport pluginName="org.eclipse.jdt.launching" reportTitle="org.eclipse.jdt.launching Code Coverage" /> - <jacocoreport pluginName="org.eclipse.jdt.ui" reportTitle="org.eclipse.jdt.ui Code Coverage" /> - <jacocoreport pluginName="org.eclipse.jface" reportTitle="org.eclipse.jface Code Coverage" /> - <jacocoreport pluginName="org.eclipse.jface.databinding" reportTitle="org.eclipse.jface.databinding Code Coverage" /> - <jacocoreport pluginName="org.eclipse.jface.text" reportTitle="org.eclipse.jface.text Code Coverage" /> - <jacocoreport pluginName="org.eclipse.jsch.core" reportTitle="org.eclipse.jsch.core Code Coverage" /> - <jacocoreport pluginName="org.eclipse.jsch.ui" reportTitle="org.eclipse.jsch.ui Code Coverage" /> - <jacocoreport pluginName="org.eclipse.ltk.core.refactoring" reportTitle="org.eclipse.ltk.core.refactoring Code Coverage" /> - <jacocoreport pluginName="org.eclipse.ltk.ui.refactoring" reportTitle="org.eclipse.ltk.ui.refactoring Code Coverage" /> - <jacocoreport pluginName="org.eclipse.osgi" reportTitle="org.eclipse.osgi Code Coverage" /> - <jacocoreport pluginName="org.eclipse.osgi.services" reportTitle="org.eclipse.osgi.services Code Coverage" /> - <jacocoreport pluginName="org.eclipse.osgi.util" reportTitle="org.eclipse.osgi.util Code Coverage" /> - <jacocoreport pluginName="org.eclipse.pde" reportTitle="org.eclipse.pde Code Coverage" /> - <jacocoreport pluginName="org.eclipse.pde.api.tools" reportTitle="org.eclipse.pde.api.tools Code Coverage" /> - <jacocoreport pluginName="org.eclipse.pde.api.tools.ui" reportTitle="org.eclipse.pde.api.tools.ui Code Coverage" /> - <jacocoreport pluginName="org.eclipse.pde.core" reportTitle="org.eclipse.pde.core Code Coverage" /> - <jacocoreport pluginName="org.eclipse.pde.ds.core" reportTitle="org.eclipse.pde.ds.core Code Coverage" /> - <jacocoreport pluginName="org.eclipse.pde.ds.ui" reportTitle="org.eclipse.pde.ds.ui Code Coverage" /> - <jacocoreport pluginName="org.eclipse.pde.junit.runtime" reportTitle="org.eclipse.pde.junit.runtime Code Coverage" /> - <jacocoreport pluginName="org.eclipse.pde.launching" reportTitle="org.eclipse.pde.launching Code Coverage" /> - <jacocoreport pluginName="org.eclipse.pde.runtime" reportTitle="org.eclipse.pde.runtime Code Coverage" /> - <jacocoreport pluginName="org.eclipse.pde.ua.core" reportTitle="org.eclipse.pde.ua.core Code Coverage" /> - <jacocoreport pluginName="org.eclipse.pde.ua.ui" reportTitle="org.eclipse.pde.ua.ui Code Coverage" /> - <jacocoreport pluginName="org.eclipse.pde.ui" reportTitle="org.eclipse.pde.ui Code Coverage" /> - <jacocoreport pluginName="org.eclipse.pde.ui.templates" reportTitle="org.eclipse.pde.ui.templates Code Coverage" /> - <jacocoreport pluginName="org.eclipse.search" reportTitle="org.eclipse.search Code Coverage" /> - <jacocoreport pluginName="org.eclipse.team.core" reportTitle="org.eclipse.team.core Code Coverage" /> - <jacocoreport pluginName="org.eclipse.team.cvs.core" reportTitle="org.eclipse.team.cvs.core Code Coverage" /> - <jacocoreport pluginName="org.eclipse.team.cvs.ssh2" reportTitle="org.eclipse.team.cvs.ssh2 Code Coverage" /> - <jacocoreport pluginName="org.eclipse.team.cvs.ui" reportTitle="org.eclipse.team.cvs.ui Code Coverage" /> - <jacocoreport pluginName="org.eclipse.team.ui" reportTitle="org.eclipse.team.ui Code Coverage" /> - <jacocoreport pluginName="org.eclipse.text" reportTitle="org.eclipse.text Code Coverage" /> - <jacocoreport pluginName="org.eclipse.ui" reportTitle="org.eclipse.ui Code Coverage" /> - <jacocoreport pluginName="org.eclipse.ui.browser" reportTitle="org.eclipse.ui.browser Code Coverage" /> - <jacocoreport pluginName="org.eclipse.ui.cheatsheets" reportTitle="org.eclipse.ui.cheatsheets Code Coverage" /> - <jacocoreport pluginName="org.eclipse.ui.console" reportTitle="org.eclipse.ui.console Code Coverage" /> - <jacocoreport pluginName="org.eclipse.ui.editors" reportTitle="org.eclipse.ui.editors Code Coverage" /> - <jacocoreport pluginName="org.eclipse.ui.externaltools" reportTitle="org.eclipse.ui.externaltools Code Coverage" /> - <jacocoreport pluginName="org.eclipse.ui.forms" reportTitle="org.eclipse.ui.forms Code Coverage" /> - <jacocoreport pluginName="org.eclipse.ui.ide" reportTitle="org.eclipse.ui.ide Code Coverage" /> - <jacocoreport pluginName="org.eclipse.ui.ide.application" reportTitle="org.eclipse.ui.ide.application Code Coverage" /> - <jacocoreport pluginName="org.eclipse.ui.intro" reportTitle="org.eclipse.ui.intro Code Coverage" /> - <jacocoreport pluginName="org.eclipse.ui.net" reportTitle="org.eclipse.ui.net Code Coverage" /> - <jacocoreport pluginName="org.eclipse.ui.presentations.r21" reportTitle="org.eclipse.ui.presentations.r21 Code Coverage" /> - <jacocoreport pluginName="org.eclipse.ui.views" reportTitle="org.eclipse.ui.views Code Coverage" /> - <jacocoreport pluginName="org.eclipse.ui.views.log" reportTitle="org.eclipse.ui.views.log Code Coverage" /> - <jacocoreport pluginName="org.eclipse.ui.views.properties.tabbed" reportTitle="org.eclipse.ui.views.properties.tabbed Code Coverage" /> - <jacocoreport pluginName="org.eclipse.ui.workbench" reportTitle="org.eclipse.ui.workbench Code Coverage" /> - <jacocoreport pluginName="org.eclipse.ui.workbench.texteditor" reportTitle="org.eclipse.ui.workbench.texteditor Code Coverage" /> - <jacocoreport pluginName="org.eclipse.update.configurator" reportTitle="org.eclipse.update.configurator Code Coverage" /> - <jacocoreport pluginName="org.eclipse.update.core" reportTitle="org.eclipse.update.core Code Coverage" /> - <jacocoreport pluginName="org.eclipse.update.scheduler" reportTitle="org.eclipse.update.scheduler Code Coverage" /> - <jacocoreport pluginName="org.eclipse.update.ui" reportTitle="org.eclipse.update.ui Code Coverage" /> - </target> - - <target name="all"> - <antcall target="equinoxp2" /> - <antcall target="equinoxp2ui" /> - <antcall target="pdeui" /> - <antcall target="jdtcompilertool" /> - <antcall target="jdtcompilerapt" /> - <antcall target="jdttext" /> - <antcall target="ant" /> - <antcall target="compare" /> - <antcall target="coreruntime" /> - <antcall target="coreresources" /> - <antcall target="osgi" /> - <antcall target="coreexpressions" /> - - <!-- th: looks like the update tests are not run in 4.2 - <antcall target="update" /> - --> - - <antcall target="teamcore" /> - <antcall target="jdtcoreperf" /> - <antcall target="jdtcorebuilder" /> - <antcall target="jdtcorecompiler" /> - <antcall target="uiperformance" /> - <antcall target="uieditors" /> - <antcall target="uinavigator" /> - <antcall target="uiworkbenchtexteditor" /> - <antcall target="uircp" /> - <antcall target="uiviews" /> - <antcall target="jdtdebug" /> - <antcall target="jdtui" /> - <antcall target="jdtuirefactoring" /> - <antcall target="ltkuirefactoringtests" /> - <antcall target="ltkcorerefactoringtests" /> - <antcall target="text" /> - <antcall target="jface" /> - <antcall target="jfacedatabinding" /> - <antcall target="filebuffers" /> - <antcall target="antui" /> - <antcall target="coretestsnet" /> - <antcall target="jdtapt" /> - <antcall target="pdebuild" /> - <antcall target="jdtaptpluggable" /> - <antcall target="ua" /> - <antcall target="uiforms" /> - <antcall target="pdeapitooling" /> - <antcall target="equinoxsecurity" /> - <antcall target="search" /> - <antcall target="pdeds" /> - <antcall target="jdtcoremodel" /> - <antcall target="uadoc" /> - <antcall target="debug" /> - <antcall target="ui" /> - <antcall target="relEng" /> - <antcall target="swt" /> - <antcall target="teamcvs" /> - <antcall target="equinoxds" /> - <antcall target="equinoxp2discovery" /> - <antcall target="bidi" /> - - <!-- per Bug 375575 seems like this test isn't built in - upstream due to issues. Commenting out for now. - <antcall target="generateJacocoReport" /> - --> - - </target> -</project> - diff --git a/TMP/eclipse-junit-tests/testScripts/CVS/Entries b/TMP/eclipse-junit-tests/testScripts/CVS/Entries deleted file mode 100644 index c4c3b9b2b..000000000 --- a/TMP/eclipse-junit-tests/testScripts/CVS/Entries +++ /dev/null @@ -1,5 +0,0 @@ -/readme.html/1.16/Tue Jun 7 13:22:45 2011/-kk/ -/runtests/1.34/Tue Jun 7 13:22:45 2011/-kb/ -/runtests.bat/1.10/Wed Jan 19 15:44:27 2011/-kk/ -/runtests.sh/1.7/Tue Jun 7 13:22:45 2011// -/test.xml/1.213/Fri Nov 11 14:59:52 2011/-kk/ diff --git a/TMP/eclipse-junit-tests/testScripts/CVS/Repository b/TMP/eclipse-junit-tests/testScripts/CVS/Repository deleted file mode 100644 index 533fddf26..000000000 --- a/TMP/eclipse-junit-tests/testScripts/CVS/Repository +++ /dev/null @@ -1 +0,0 @@ -org.eclipse.releng.eclipsebuilder/eclipse/buildConfigs/sdk.tests/testScripts diff --git a/TMP/eclipse-junit-tests/testScripts/CVS/Root b/TMP/eclipse-junit-tests/testScripts/CVS/Root deleted file mode 100644 index 2d37d165b..000000000 --- a/TMP/eclipse-junit-tests/testScripts/CVS/Root +++ /dev/null @@ -1 +0,0 @@ -:pserver:anonymous@dev.eclipse.org:/cvsroot/eclipse diff --git a/TMP/org.eclipse.sdk.epp/backup/org.eclipse.sdk.epp.product b/TMP/org.eclipse.sdk.epp/backup/org.eclipse.sdk.epp.product deleted file mode 100644 index 7a8530264..000000000 --- a/TMP/org.eclipse.sdk.epp/backup/org.eclipse.sdk.epp.product +++ /dev/null @@ -1,43 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<?pde version="3.5"?> - -<product name="org.eclipse.sdk.epp" uid="org.eclipse.sdk.epp" id="org.eclipse.platform" application="org.eclipse.ui.ide.workbench" version="4.2.0.qualifier" useFeatures="true" includeLaunchers="true"> - - <configIni use="default"> - </configIni> - - <launcherArgs> - <vmArgsMac>-XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts</vmArgsMac> - </launcherArgs> - - <windowImages/> - - <launcher name="p2bug352457"> - <solaris/> - <win useIco="false"> - <bmp/> - </win> - </launcher> - - <vm> - </vm> - - <plugins> - </plugins> - - <features> - <feature id="org.eclipse.sdk"/> - <feature id="org.eclipse.equinox.p2.user.ui"/> - </features> - - <configurations> - <plugin id="org.eclipse.core.runtime" autoStart="true" startLevel="4" /> - <plugin id="org.eclipse.equinox.common" autoStart="true" startLevel="2" /> - <plugin id="org.eclipse.equinox.ds" autoStart="true" startLevel="2" /> - <plugin id="org.eclipse.equinox.p2.reconciler.dropins" autoStart="true" startLevel="4" /> - <plugin id="org.eclipse.equinox.simpleconfigurator" autoStart="true" startLevel="1" /> - <plugin id="org.eclipse.update.configurator" autoStart="true" startLevel="4" /> - <property name="org.eclipse.update.reconcile" value="false" /> - </configurations> - -</product> diff --git a/TMP/org.eclipse.sdk.epp/org.eclipse.sdk.epp.p2.inf b/TMP/org.eclipse.sdk.epp/org.eclipse.sdk.epp.p2.inf deleted file mode 100755 index e6e60548a..000000000 --- a/TMP/org.eclipse.sdk.epp/org.eclipse.sdk.epp.p2.inf +++ /dev/null @@ -1,92 +0,0 @@ -instructions.configure=\ -addRepository(type:0,location:http${#58}//download.eclipse.org/eclipse/updates/4.2,name:The Eclipse Project Updates);\ -addRepository(type:1,location:http${#58}//download.eclipse.org/eclipse/updates/4.2,name:The Eclipse Project Updates);\ -addRepository(type:0,location:http${#58}//download.eclipse.org/e4/updates/0.12,name:e4 0.11 Updates);\ -addRepository(type:1,location:http${#58}//download.eclipse.org/e4/updates/0.12,name:e4 0.11 Updates);\ -addRepository(type:0,location:http${#58}//download.eclipse.org/releases/juno,name:Juno);\ -addRepository(type:1,location:http${#58}//download.eclipse.org/releases/juno,name:Juno);\ - mkdir(path:${installFolder}/dropins); -requires.1.namespace=org.eclipse.equinox.p2.iu -requires.1.name=toolingorg.eclipse.configuration.macosx -requires.1.filter=(osgi.os=macosx) -requires.1.range=[1.0.0,1.0.0] -requires.1.greedy=true - -requires.2.namespace=org.eclipse.equinox.p2.iu -requires.2.name=toolingorg.eclipse.configuration -requires.2.filter=(!(osgi.os=macosx)) -requires.2.range=[1.0.0,1.0.0] -requires.2.greedy=true - -requires.3.namespace=org.eclipse.equinox.p2.iu -requires.3.name=toolingorg.eclipse.configuration.macosx.x86_64 -requires.3.filter=(&(osgi.os=macosx) (osgi.arch=x86_64)) -requires.3.range=[1.0.0,1.0.0] -requires.3.greedy=true - -units.1.id=toolingorg.eclipse.configuration.macosx -units.1.version=1.0.0 -units.1.provides.1.namespace=org.eclipse.equinox.p2.iu -units.1.provides.1.name=toolingorg.eclipse.configuration.macosx -units.1.provides.1.version=1.0.0 -units.1.filter=(osgi.os=macosx) -units.1.touchpoint.id=org.eclipse.equinox.p2.osgi -units.1.touchpoint.version=1.0.0 -units.1.instructions.configure=setProgramProperty(propName:osgi.instance.area.default,propValue:@user.home/Documents/workspace); -units.1.instructions.unconfigure=setProgramProperty(propName:osgi.instance.area.default,propValue:); - -units.2.id=toolingorg.eclipse.configuration -units.2.version=1.0.0 -units.2.provides.1.namespace=org.eclipse.equinox.p2.iu -units.2.provides.1.name=toolingorg.eclipse.configuration -units.2.provides.1.version=1.0.0 -units.2.filter=(!(osgi.os=macosx)) -units.2.touchpoint.id=org.eclipse.equinox.p2.osgi -units.2.touchpoint.version=1.0.0 -units.2.instructions.configure=setProgramProperty(propName:osgi.instance.area.default,propValue:@user.home/workspace); -units.2.instructions.unconfigure=setProgramProperty(propName:osgi.instance.area.default,propValue:); - -units.3.id=toolingorg.eclipse.configuration.macosx.x86_64 -units.3.version=1.0.0 -units.3.provides.1.namespace=org.eclipse.equinox.p2.iu -units.3.provides.1.name=toolingorg.eclipse.configuration.macosx.x86_64 -units.3.provides.1.version=1.0.0 -units.3.filter=(&(osgi.os=macosx) (osgi.arch=x86_64)) -units.3.touchpoint.id=org.eclipse.equinox.p2.osgi -units.3.touchpoint.version=1.0.0 -units.3.instructions.configure=addJvmArg(jvmArg:-Xms40m);addJvmArg(jvmArg:-Xmx512m); -units.3.instructions.unconfigure=removeJvmArg(jvmArg:-Xms40m);removeJvmArg(jvmArg:-Xmx512m); - -requires.4.namespace=org.eclipse.equinox.p2.iu -requires.4.name=toolingorg.eclipse.configuration.aix.ppc64 -requires.4.filter=(&(osgi.os=aix) (osgi.arch=ppc64)) -requires.4.range=[1.0.0,1.0.0] -requires.4.greedy=true - -units.4.id=toolingorg.eclipse.configuration.aix.ppc64 -units.4.version=1.0.0 -units.4.provides.1.namespace=org.eclipse.equinox.p2.iu -units.4.provides.1.name=toolingorg.eclipse.configuration.aix.ppc64 -units.4.provides.1.version=1.0.0 -units.4.filter=(&(osgi.os=aix) (osgi.arch=ppc64)) -units.4.touchpoint.id=org.eclipse.equinox.p2.osgi -units.4.touchpoint.version=1.0.0 -units.4.instructions.configure=addJvmArg(jvmArg:-Xms40m);addJvmArg(jvmArg:-Xmx512m); -units.4.instructions.unconfigure=removeJvmArg(jvmArg:-Xms40m);removeJvmArg(jvmArg:-Xmx512m); - -requires.5.namespace=org.eclipse.equinox.p2.iu -requires.5.name=toolingorg.eclipse.configuration.gtk.linux.x86_64 -requires.5.filter=(&(osgi.os=linux) (osgi.arch=x86_64) (osgi.ws=gtk)) -requires.5.range=[1.0.0,1.0.0] -requires.5.greedy=true - -units.5.id=toolingorg.eclipse.configuration.gtk.linux.x86_64 -units.5.version=1.0.0 -units.5.provides.1.namespace=org.eclipse.equinox.p2.iu -units.5.provides.1.name=toolingorg.eclipse.configuration.gtk.linux.x86_64 -units.5.provides.1.version=1.0.0 -units.5.filter=(&(osgi.os=linux) (osgi.arch=x86_64) (osgi.ws=gtk)) -units.5.touchpoint.id=org.eclipse.equinox.p2.osgi -units.5.touchpoint.version=1.0.0 -units.5.instructions.configure=setProgramProperty(propName:org.eclipse.swt.internal.gtk.useCairo,propValue:true); -units.5.instructions.unconfigure=removeProgramProperty(propName:org.eclipse.swt.internal.gtk.useCairo);
\ No newline at end of file diff --git a/TMP/org.eclipse.sdk.epp/org.eclipse.sdk.epp.product b/TMP/org.eclipse.sdk.epp/org.eclipse.sdk.epp.product deleted file mode 100755 index 5793855b8..000000000 --- a/TMP/org.eclipse.sdk.epp/org.eclipse.sdk.epp.product +++ /dev/null @@ -1,182 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<?pde version="3.5"?> - -<product uid="org.eclipse.sdk.epp" name="Eclipse SDK" id="org.eclipse.sdk.ide" application="org.eclipse.ui.ide.workbench" version="4.2.0.qualifier" useFeatures="true" includeLaunchers="true"> - - <configIni use="default"> - </configIni> - - <launcherArgs> - <programArgs>-showsplash org.eclipse.platform --launcher.XXMaxPermSize 256m --launcher.defaultAction openFile</programArgs> - <vmArgs>-Xms40m -Xmx384m</vmArgs> - <vmArgsMac>-Xdock:icon=../Resources/Eclipse.icns -XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts</vmArgsMac> - </launcherArgs> - - <windowImages/> - - <splash - location="org.eclipse.platform" /> - <launcher name="eclipse"> - <solaris/> - <win useIco="false"> - <bmp/> - </win> - </launcher> - - <vm> - </vm> - - <license> - <url>http://eclipse.org/legal/epl/notice.php</url> - <text> - Eclipse Foundation Software User Agreement -February 1, 2011 - -Usage Of Content - -THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR -OTHER MATERIALS FOR OPEN SOURCE PROJECTS (COLLECTIVELY "CONTENT"). -USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS -AGREEMENT AND/OR THE TERMS AND CONDITIONS OF LICENSE AGREEMENTS OR -NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU -AGREE THAT YOUR USE OF THE CONTENT IS GOVERNED BY THIS AGREEMENT -AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS -OR NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE -TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND CONDITIONS -OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED -BELOW, THEN YOU MAY NOT USE THE CONTENT. - -Applicable Licenses - -Unless otherwise indicated, all Content made available by the -Eclipse Foundation is provided to you under the terms and conditions of -the Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is -provided with this Content and is also available at http://www.eclipse.org/legal/epl-v10.html. -For purposes of the EPL, "Program" will mean the Content. - -Content includes, but is not limited to, source code, object code, -documentation and other files maintained in the Eclipse Foundation source code -repository ("Repository") in software modules ("Modules") and made available -as downloadable archives ("Downloads"). - - - Content may be structured and packaged into modules to facilitate delivering, - extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"), - plug-in fragments ("Fragments"), and features ("Features"). - - Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java(TM) ARchive) - in a directory named "plugins". - - A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material. - Each Feature may be packaged as a sub-directory in a directory named "features". - Within a Feature, files named "feature.xml" may contain a list of the names and version - numbers of the Plug-ins and/or Fragments associated with that Feature. - - Features may also include other Features ("Included Features"). Within a Feature, files - named "feature.xml" may contain a list of the names and version numbers of Included Features. - -The terms and conditions governing Plug-ins and Fragments should be -contained in files named "about.html" ("Abouts"). The terms and -conditions governing Features and Included Features should be contained -in files named "license.html" ("Feature Licenses"). Abouts and Feature -Licenses may be located in any directory of a Download or Module -including, but not limited to the following locations: - - - The top-level (root) directory - - Plug-in and Fragment directories - - Inside Plug-ins and Fragments packaged as JARs - - Sub-directories of the directory named "src" of certain Plug-ins - - Feature directories - -Note: if a Feature made available by the Eclipse Foundation is installed using the -Provisioning Technology (as defined below), you must agree to a license ("Feature -Update License") during the installation process. If the Feature contains -Included Features, the Feature Update License should either provide you -with the terms and conditions governing the Included Features or inform -you where you can locate them. Feature Update Licenses may be found in -the "license" property of files named "feature.properties" found within a Feature. -Such Abouts, Feature Licenses, and Feature Update Licenses contain the -terms and conditions (or references to such terms and conditions) that -govern your use of the associated Content in that directory. - -THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER -TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS. -SOME OF THESE OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO): - - - Eclipse Distribution License Version 1.0 (available at http://www.eclipse.org/licenses/edl-v1.0.html) - - Common Public License Version 1.0 (available at http://www.eclipse.org/legal/cpl-v10.html) - - Apache Software License 1.1 (available at http://www.apache.org/licenses/LICENSE) - - Apache Software License 2.0 (available at http://www.apache.org/licenses/LICENSE-2.0) - - Metro Link Public License 1.00 (available at http://www.opengroup.org/openmotif/supporters/metrolink/license.html) - - Mozilla Public License Version 1.1 (available at http://www.mozilla.org/MPL/MPL-1.1.html) - -IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR -TO USE OF THE CONTENT. If no About, Feature License, or Feature Update License -is provided, please contact the Eclipse Foundation to determine what terms and conditions -govern that particular Content. - -Use of Provisioning Technology - -The Eclipse Foundation makes available provisioning software, examples of which include, -but are not limited to, p2 and the Eclipse Update Manager ("Provisioning Technology") for -the purpose of allowing users to install software, documentation, information and/or -other materials (collectively "Installable Software"). This capability is provided with -the intent of allowing such users to install, extend and update Eclipse-based products. -Information about packaging Installable Software is available at -http://eclipse.org/equinox/p2/repository_packaging.html ("Specification"). - -You may use Provisioning Technology to allow other parties to install Installable Software. -You shall be responsible for enabling the applicable license agreements relating to the -Installable Software to be presented to, and accepted by, the users of the Provisioning Technology -in accordance with the Specification. By using Provisioning Technology in such a manner and -making it available in accordance with the Specification, you further acknowledge your -agreement to, and the acquisition of all necessary rights to permit the following: - - 1. A series of actions may occur ("Provisioning Process") in which a user may execute - the Provisioning Technology on a machine ("Target Machine") with the intent of installing, - extending or updating the functionality of an Eclipse-based product. - 2. During the Provisioning Process, the Provisioning Technology may cause third party - Installable Software or a portion thereof to be accessed and copied to the Target Machine. - 3. Pursuant to the Specification, you will provide to the user the terms and conditions that - govern the use of the Installable Software ("Installable Software Agreement") and such - Installable Software Agreement shall be accessed from the Target Machine in accordance - with the Specification. Such Installable Software Agreement must inform the user of the - terms and conditions that govern the Installable Software and must solicit acceptance by - the end user in the manner prescribed in such Installable Software Agreement. Upon such - indication of agreement by the user, the provisioning Technology will complete installation - of the Installable Software. - -Cryptography - -Content may contain encryption software. The country in which you are -currently may have restrictions on the import, possession, and use, -and/or re-export to another country, of encryption software. BEFORE -using any encryption software, please check the country's laws, -regulations and policies concerning the import, possession, or use, and -re-export of encryption software, to see if this is permitted. - -Java and all Java-based trademarks are trademarks of Oracle Corporation in the United States, other countries, or both. - </text> - </license> - - <plugins> - </plugins> - - <features> - <feature id="org.eclipse.sdk"/> - <feature id="org.eclipse.equinox.p2.user.ui"/> - <!-- - <feature id="org.eclipse.rcp.configuration"/> - --> - </features> - - <configurations> - <plugin id="org.eclipse.core.runtime" autoStart="true" startLevel="4" /> - <plugin id="org.eclipse.equinox.common" autoStart="true" startLevel="2" /> - <plugin id="org.eclipse.equinox.ds" autoStart="true" startLevel="2" /> - <plugin id="org.eclipse.equinox.event" autoStart="true" startLevel="2" /> - <plugin id="org.eclipse.equinox.p2.reconciler.dropins" autoStart="true" startLevel="4" /> - <plugin id="org.eclipse.equinox.simpleconfigurator" autoStart="true" startLevel="1" /> - <plugin id="org.eclipse.update.configurator" autoStart="true" startLevel="3" /> - <property name="eclipse.buildId" value="${unqualifiedVersion}.${buildQualifier}" /> - <property name="org.eclipse.update.reconcile" value="false" /> - <property name="osgi.bundles.defaultStartLevel" value="4" /> - </configurations> - -</product> diff --git a/TMP/org.eclipse.sdk.epp/pom.xml b/TMP/org.eclipse.sdk.epp/pom.xml deleted file mode 100644 index 67fa93fb3..000000000 --- a/TMP/org.eclipse.sdk.epp/pom.xml +++ /dev/null @@ -1,73 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - Copyright (c) 2012 Eclipse Foundation. - All rights reserved. This program and the accompanying materials - are made available under the terms of the Eclipse Distribution License v1.0 - which accompanies this distribution, and is available at - http://www.eclipse.org/org/documents/edl-v10.php - - Contributors: - Igor Fedorenko - initial implementation ---> - -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> - <modelVersion>4.0.0</modelVersion> - - <parent> - <groupId>org.eclipse</groupId> - <artifactId>eclipse-parent</artifactId> - <version>1.0.0-SNAPSHOT</version> - <relativePath>../../eclipse-parent</relativePath> - </parent> - - <artifactId>org.eclipse.sdk.epp</artifactId> - <version>4.2.0-SNAPSHOT</version> - <packaging>eclipse-repository</packaging> - - <!-- - :pserver:anonymous@dev.eclipse.org:/cvsroot/eclipse - - R4_HEAD branch of /org.eclipse.releng.eclipsebuilder/eclipse/buildConfigs/sdk/builder - --> - - <build> - <plugins> - <plugin> - <groupId>org.eclipse.tycho</groupId> - <artifactId>tycho-p2-director-plugin</artifactId> - <executions> - <execution> - <id>materialize-products</id> - <goals> - <goal>materialize-products</goal> - </goals> - <configuration> - <profile>SDKProfile</profile> - <products> - <product> - <id>org.eclipse.sdk.epp</id> - <rootFolder>eclipse</rootFolder> - </product> - </products> - </configuration> - </execution> - <execution> - <id>archive-products</id> - <goals> - <goal>archive-products</goal> - </goals> - <configuration> - <formats> - <win32>zip</win32> - <linux>tar.gz</linux> - <macosx>tar.gz</macosx> - </formats> - </configuration> - </execution> - </executions> - </plugin> - </plugins> - </build> - -</project> diff --git a/TMP/rcp.config/CVS/Entries b/TMP/rcp.config/CVS/Entries deleted file mode 100644 index 1915b9f1f..000000000 --- a/TMP/rcp.config/CVS/Entries +++ /dev/null @@ -1,6 +0,0 @@ -/build.properties/1.26/Tue Jun 7 13:22:45 2011// -/buildConfiguration.xml/1.11/Fri Feb 18 21:26:47 2011// -/config.product/1.2/Thu Apr 23 21:26:40 2009// -/feature.properties/1.1/Tue Apr 28 15:27:27 2009// -/feature.xml/1.3/Tue Apr 28 15:27:27 2009// -/p2.inf/1.9/Fri May 22 20:51:28 2009// diff --git a/TMP/rcp.config/CVS/Repository b/TMP/rcp.config/CVS/Repository deleted file mode 100644 index 011b21b03..000000000 --- a/TMP/rcp.config/CVS/Repository +++ /dev/null @@ -1 +0,0 @@ -org.eclipse.releng.eclipsebuilder/eclipse/buildConfigs/rcp.config diff --git a/TMP/rcp.config/CVS/Root b/TMP/rcp.config/CVS/Root deleted file mode 100644 index 2d37d165b..000000000 --- a/TMP/rcp.config/CVS/Root +++ /dev/null @@ -1 +0,0 @@ -:pserver:anonymous@dev.eclipse.org:/cvsroot/eclipse diff --git a/TMP/rcp.config/build.properties b/TMP/rcp.config/build.properties deleted file mode 100755 index acf1faa19..000000000 --- a/TMP/rcp.config/build.properties +++ /dev/null @@ -1,49 +0,0 @@ -############################################################################### -# Copyright (c) 2000, 2009 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 -############################################################################### - -root.permissions.755=eclipse -root.win32.win32.x86=absolute:${buildDirectory}/features/org.eclipse.equinox.executable/bin/win32/win32/x86 -root.win32.win32.x86_64=absolute:${buildDirectory}/features/org.eclipse.equinox.executable/bin/win32/win32/x86_64 -root.aix.gtk.ppc=absolute:${buildDirectory}/features/org.eclipse.equinox.executable/bin/gtk/aix/ppc -root.aix.gtk.ppc64=absolute:${buildDirectory}/features/org.eclipse.equinox.executable/bin/gtk/aix/ppc64 -root.hpux.gtk.ia64_32=absolute:${buildDirectory}/features/org.eclipse.equinox.executable/bin/gtk/hpux/ia64_32 -root.solaris.gtk.sparc=absolute:${buildDirectory}/features/org.eclipse.equinox.executable/bin/gtk/solaris/sparc -root.solaris.gtk.x86=absolute:${buildDirectory}/features/org.eclipse.equinox.executable/bin/gtk/solaris/x86 - -root.linux.gtk.x86=absolute:${buildDirectory}/features/org.eclipse.platform/about_files/linux.gtk.x86,absolute:${buildDirectory}/features/org.eclipse.equinox.executable/bin/gtk/linux/x86 -root.linux.gtk.x86.permissions.755=*.so* -root.linux.gtk.ppc64=absolute:${buildDirectory}/features/org.eclipse.platform/about_files/linux.gtk.ppc,absolute:${buildDirectory}/features/org.eclipse.equinox.executable/bin/gtk/linux/ppc64 -root.linux.gtk.ppc64.permissions.755=*.so* -root.linux.gtk.x86_64=absolute:${buildDirectory}/features/org.eclipse.platform/about_files/linux.gtk.x86_64,absolute:${buildDirectory}/features/org.eclipse.equinox.executable/bin/gtk/linux/x86_64 -root.linux.gtk.x86_64.permissions.755=*.so* -root.linux.gtk.s390x=absolute:${buildDirectory}/features/org.eclipse.platform/about_files/linux.gtk.s390x,absolute:${buildDirectory}/features/org.eclipse.equinox.executable/contributed/gtk/linux/s390x -root.linux.gtk.s390x.permissions.755=*.so* -root.linux.gtk.s390=absolute:${buildDirectory}/features/org.eclipse.platform/about_files/linux.gtk.s390,absolute:${buildDirectory}/features/org.eclipse.equinox.executable/contributed/gtk/linux/s390 -root.linux.gtk.s390.permissions.755=*.so* - -root.macosx.cocoa.x86.folder.Eclipse.app/Contents/MacOS=absolute:file:${buildDirectory}/features/org.eclipse.equinox.executable/bin/cocoa/macosx/x86/Eclipse.app/Contents/MacOS/eclipse -root.macosx.cocoa.x86.folder.Eclipse.app/Contents/Resources=absolute:${buildDirectory}/features/org.eclipse.equinox.executable/bin/cocoa/macosx/x86/Eclipse.app/Contents/Resources -root.macosx.cocoa.x86.folder.Eclipse.app/Contents=absolute:file:${buildDirectory}/features/org.eclipse.equinox.executable/bin/cocoa/macosx/x86/Eclipse.app/Contents/Info.plist -root.macosx.cocoa.x86.permissions.755=Eclipse.app/Contents/MacOS/eclipse,Eclipse.app/Contents/MacOS/java_swt -root.macosx.cocoa.x86.link=Eclipse.app/Contents/MacOS/eclipse,eclipse - -root.macosx.cocoa.x86_64.folder.Eclipse.app/Contents/MacOS=absolute:file:${buildDirectory}/features/org.eclipse.equinox.executable/bin/cocoa/macosx/x86_64/Eclipse.app/Contents/MacOS/eclipse -root.macosx.cocoa.x86_64.folder.Eclipse.app/Contents/Resources=absolute:${buildDirectory}/features/org.eclipse.equinox.executable/bin/cocoa/macosx/x86_64/Eclipse.app/Contents/Resources -root.macosx.cocoa.x86_64.folder.Eclipse.app/Contents=absolute:file:${buildDirectory}/features/org.eclipse.equinox.executable/bin/cocoa/macosx/x86_64/Eclipse.app/Contents/Info.plist -root.macosx.cocoa.x86_64.permissions.755=Eclipse.app/Contents/MacOS/eclipse,Eclipse.app/Contents/MacOS/java_swt -root.macosx.cocoa.x86_64.link=Eclipse.app/Contents/MacOS/eclipse,eclipse - - - - - - - diff --git a/TMP/rcp.config/buildConfiguration.xml b/TMP/rcp.config/buildConfiguration.xml deleted file mode 100755 index 7ef7e9277..000000000 --- a/TMP/rcp.config/buildConfiguration.xml +++ /dev/null @@ -1,44 +0,0 @@ -<project name="org.eclipse.rcp.configuration" default="main" basedir="."> - - <target name="main" > - <property name="product" value="${basedir}/config.product" /> - <property name="id" value="org.eclipse.pde.build.container.feature" /> - <property name="type" value="feature" /> - <property name="verify" value="false" /> - - <path id="launcher.paths"> - <fileset dir="${reposource}" includes="plugins/org.eclipse.equinox.launcher*" /> - <!-- the built version of the org.eclipse.equinox.executable feature --> - <dirset dir="${buildDirectory}" includes="features/org.eclipse.equinox.executable*" /> - <dirset dir="${buildDirectory}" includes="features/org.eclipse.license*" /> - </path> - - <!-- generate a feature based on our .product file --> - <property file="${eclipse.build.configs}/master/build.properties" /> - <ant antfile="${eclipse.pdebuild.scripts}/productBuild/productBuild.xml" target="generateFeature" > - <property name="nestedInclusions" value="false" /> - <property name="buildDirectory" value="${basedir}/temp"/> - </ant> - <!-- generate product build scripts for the generated feature --> - <ant antfile="${eclipse.pdebuild.scripts}/genericTargets.xml" target="generateScript" > - <property name="buildDirectory" value="${basedir}/temp"/> - <property name="baseLocation" value="" /> - <property name="transformedRepoLocation" value="" /> - <property name="pluginPath" refid="launcher.paths" /> - <property name="forceContextQualifier" value="${buildId}" /> - </ant> - - <!-- get the generate p2.inf that got generated with the above scripts --> - <move file="${basedir}/temp/features/org.eclipse.pde.build.container.feature/product/p2.inf" tofile="${basedir}/p2.inf" overwrite="true" /> - <replace file="${basedir}/p2.inf" token="@FLAVOR@" value="tooling" /> - - <!-- publish the configuration feature with the generated p2.inf --> - <replace file="${basedir}/feature.xml" token="@qualifier@" value="${buildId}" /> - <eclipse.gatherFeature - metadataRepository="file:${reposource}" - artifactRepository="file:${reposource}" - buildResultFolder="${basedir}" - baseDirectory="${basedir}" - /> - </target> -</project> diff --git a/TMP/rcp.config/config.product b/TMP/rcp.config/config.product deleted file mode 100755 index da4fbe94c..000000000 --- a/TMP/rcp.config/config.product +++ /dev/null @@ -1,5 +0,0 @@ -<product uid="org.eclipse.rcp.configuration" version="1.0.0.qualifier" useFeatures="true" includeLaunchers="true"> - <features> - <feature id="org.eclipse.equinox.executable" /> - </features> -</product> diff --git a/TMP/rcp.config/feature.properties b/TMP/rcp.config/feature.properties deleted file mode 100755 index 3f0136176..000000000 --- a/TMP/rcp.config/feature.properties +++ /dev/null @@ -1,24 +0,0 @@ -############################################################################### -# Copyright (c) 2009 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 -############################################################################### -# feature.properties -# contains externalized strings for feature.xml -# "%foo" in feature.xml corresponds to the key "foo" in this file -# java.io.Properties file (ISO 8859-1 with "\" escapes) -# This file should be translated. - -# "featureName" property - name of the feature -featureName=Eclipse Product Configuration - -# "providerName" property - name of the company that provides the feature -providerName=Eclipse.org - -# "description" property - description of the feature -description=Configuration information for the Eclipse product diff --git a/TMP/rcp.config/feature.xml b/TMP/rcp.config/feature.xml deleted file mode 100755 index 98081dc63..000000000 --- a/TMP/rcp.config/feature.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<feature - id="org.eclipse.rcp.configuration" - label="%featureName" - version="1.0.0.qualifier" - provider-name="%providerName"> - - <description> - %description - </description> - -</feature> diff --git a/TMP/rcp.config/p2.inf b/TMP/rcp.config/p2.inf deleted file mode 100755 index 118d85298..000000000 --- a/TMP/rcp.config/p2.inf +++ /dev/null @@ -1,9 +0,0 @@ -org.eclipse.pde.build.append.startlevels=false -org.eclipse.pde.build.append.launchers=true -properties.1.name=org.eclipse.equinox.p2.type.group -properties.1.value=false - -instructions.configure.import=org.eclipse.equinox.p2.touchpoint.eclipse.setLauncherName -instructions.configure=setLauncherName(name:eclipse); -instructions.unconfigure.import=org.eclipse.equinox.p2.touchpoint.eclipse.setLauncherName -instructions.unconfigure=setLauncherName(); diff --git a/TMP/rcp.config/pom.xml b/TMP/rcp.config/pom.xml deleted file mode 100644 index df4fa2569..000000000 --- a/TMP/rcp.config/pom.xml +++ /dev/null @@ -1,18 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" - xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - <modelVersion>4.0.0</modelVersion> - - <parent> - <groupId>org.eclipse</groupId> - <artifactId>eclipse-parent</artifactId> - <version>1.0.0-SNAPSHOT</version> - </parent> - - <groupId>org.eclipse.rcp.configuration</groupId> - <artifactId>org.eclipse.rcp.configuration</artifactId> - <version>1.0.0-SNAPSHOT</version> - <packaging>eclipse-feature</packaging> - -</project> |