This commit was manufactured by cvs2svn to create branch
'R3_0_1_maintenance'.
Sprout from R3_0_maintenance 2004-09-16 03:53:49 UTC Jim Des Rivieres <jeem> 'Update list of bugs fixed'
Delete:
bundles/org.eclipse.ant.optional.junit/.project
bundles/org.eclipse.ant.optional.junit/about.html
bundles/org.eclipse.ant.optional.junit/build.properties
bundles/org.eclipse.ant.optional.junit/fragment.xml
bundles/org.eclipse.releng.tests/.classpath
bundles/org.eclipse.releng.tests/.cvsignore
bundles/org.eclipse.releng.tests/.project
bundles/org.eclipse.releng.tests/about.html
bundles/org.eclipse.releng.tests/build.properties
bundles/org.eclipse.releng.tests/ignoreErrorsUnix.txt
bundles/org.eclipse.releng.tests/ignoreErrorsWindows.txt
bundles/org.eclipse.releng.tests/ignoreFiles.txt
bundles/org.eclipse.releng.tests/notes.txt
bundles/org.eclipse.releng.tests/plugin.xml
bundles/org.eclipse.releng.tests/src/org/eclipse/releng/tests/BuildTests.java
bundles/org.eclipse.releng.tests/src/org/eclipse/releng/tests/FileTool.java
bundles/org.eclipse.releng.tests/src/org/eclipse/releng/tests/perfms/UITest.java
bundles/org.eclipse.releng.tests/test.xml
bundles/org.eclipse.releng.tools/.classpath
bundles/org.eclipse.releng.tools/.cvsignore
bundles/org.eclipse.releng.tools/.project
bundles/org.eclipse.releng.tools/TestCases.doc
bundles/org.eclipse.releng.tools/about.html
bundles/org.eclipse.releng.tools/book.css
bundles/org.eclipse.releng.tools/build.properties
bundles/org.eclipse.releng.tools/html/00001.html
bundles/org.eclipse.releng.tools/html/00002.html
bundles/org.eclipse.releng.tools/html/00003.html
bundles/org.eclipse.releng.tools/html/00004.html
bundles/org.eclipse.releng.tools/html/00005.html
bundles/org.eclipse.releng.tools/html/00006.html
bundles/org.eclipse.releng.tools/html/00007.html
bundles/org.eclipse.releng.tools/html/00008.html
bundles/org.eclipse.releng.tools/html/00009.html
bundles/org.eclipse.releng.tools/html/00010.html
bundles/org.eclipse.releng.tools/html/00011.html
bundles/org.eclipse.releng.tools/html/00012.html
bundles/org.eclipse.releng.tools/html/00013.html
bundles/org.eclipse.releng.tools/html/00014.html
bundles/org.eclipse.releng.tools/html/00015.html
bundles/org.eclipse.releng.tools/html/00016.html
bundles/org.eclipse.releng.tools/html/00017.html
bundles/org.eclipse.releng.tools/html/00018.html
bundles/org.eclipse.releng.tools/html/00019.html
bundles/org.eclipse.releng.tools/html/00020.html
bundles/org.eclipse.releng.tools/html/00021.html
bundles/org.eclipse.releng.tools/html/00022.html
bundles/org.eclipse.releng.tools/html/00023.html
bundles/org.eclipse.releng.tools/html/00024.html
bundles/org.eclipse.releng.tools/html/00025.html
bundles/org.eclipse.releng.tools/html/00026.html
bundles/org.eclipse.releng.tools/html/00027.html
bundles/org.eclipse.releng.tools/html/00028.html
bundles/org.eclipse.releng.tools/html/00029.html
bundles/org.eclipse.releng.tools/html/00030.html
bundles/org.eclipse.releng.tools/html/00031.html
bundles/org.eclipse.releng.tools/html/00032.html
bundles/org.eclipse.releng.tools/html/00033.html
bundles/org.eclipse.releng.tools/html/00034.html
bundles/org.eclipse.releng.tools/html/00035.html
bundles/org.eclipse.releng.tools/html/00036.html
bundles/org.eclipse.releng.tools/html/00037.html
bundles/org.eclipse.releng.tools/html/00038.html
bundles/org.eclipse.releng.tools/html/00039.html
bundles/org.eclipse.releng.tools/html/00040.html
bundles/org.eclipse.releng.tools/html/00041.html
bundles/org.eclipse.releng.tools/html/00042.html
bundles/org.eclipse.releng.tools/html/00043.html
bundles/org.eclipse.releng.tools/html/00044.html
bundles/org.eclipse.releng.tools/html/00045.html
bundles/org.eclipse.releng.tools/html/00046.html
bundles/org.eclipse.releng.tools/html/00047.html
bundles/org.eclipse.releng.tools/html/00048.html
bundles/org.eclipse.releng.tools/html/00049.html
bundles/org.eclipse.releng.tools/html/00050.html
bundles/org.eclipse.releng.tools/html/00051.html
bundles/org.eclipse.releng.tools/html/00052.html
bundles/org.eclipse.releng.tools/html/00053.html
bundles/org.eclipse.releng.tools/html/00054.html
bundles/org.eclipse.releng.tools/html/00055.html
bundles/org.eclipse.releng.tools/html/00056.html
bundles/org.eclipse.releng.tools/html/00057.html
bundles/org.eclipse.releng.tools/html/00058.html
bundles/org.eclipse.releng.tools/html/00059.html
bundles/org.eclipse.releng.tools/html/00060.html
bundles/org.eclipse.releng.tools/html/00061.html
bundles/org.eclipse.releng.tools/html/00062.html
bundles/org.eclipse.releng.tools/html/00063.html
bundles/org.eclipse.releng.tools/html/00064.html
bundles/org.eclipse.releng.tools/html/00065.html
bundles/org.eclipse.releng.tools/html/00066.html
bundles/org.eclipse.releng.tools/html/00067.html
bundles/org.eclipse.releng.tools/html/00068.html
bundles/org.eclipse.releng.tools/html/00069.html
bundles/org.eclipse.releng.tools/html/00070.html
bundles/org.eclipse.releng.tools/html/00071.html
bundles/org.eclipse.releng.tools/html/00072.html
bundles/org.eclipse.releng.tools/html/00073.html
bundles/org.eclipse.releng.tools/icons/full/clcl16/release_action.gif
bundles/org.eclipse.releng.tools/plugin.properties
bundles/org.eclipse.releng.tools/plugin.xml
bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/BlockComment.java
bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/CommitCommentPage.java
bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/CompareLocalToMap.java
bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/FixCopyrightAction.java
bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/IBMCopyrightComment.java
bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/JavaFile.java
bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/LoadMap.java
bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/MapContentDocument.java
bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/MapEntry.java
bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/MapFile.java
bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/MapFileCompareEditorInput.java
bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/MapFileComparePage.java
bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/MapProject.java
bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/MapProjectSelectionPage.java
bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/Messages.java
bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/ProjectComparePage.java
bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/ProjectSelectionPage.java
bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/ProjectValidationDialog.java
bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/PropertiesFile.java
bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/RelEngPlugin.java
bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/ReleaseWizard.java
bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/ReplaceLocalFromMap.java
bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/RepositorySelectionDialog.java
bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/SourceFile.java
bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/TagAndReleaseAction.java
bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/TagAndReleaseOperation.java
bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/TagMap.java
bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/TagPage.java
bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/messages.properties
bundles/org.eclipse.releng.tools/toc.xml
bundles/org.eclipse.sdk.examples/.project
bundles/org.eclipse.sdk.examples/about.html
bundles/org.eclipse.sdk.examples/about.ini
bundles/org.eclipse.sdk.examples/about.mappings
bundles/org.eclipse.sdk.examples/about.properties
bundles/org.eclipse.sdk.examples/build.properties
bundles/org.eclipse.sdk.examples/cpl-v10.html
bundles/org.eclipse.sdk.examples/eclipse32.gif
bundles/org.eclipse.sdk.examples/notice.html
bundles/org.eclipse.sdk.examples/plugin.properties
bundles/org.eclipse.sdk.examples/plugin.xml
bundles/org.eclipse.sdk.tests/.project
bundles/org.eclipse.sdk.tests/about.html
bundles/org.eclipse.sdk.tests/about.ini
bundles/org.eclipse.sdk.tests/about.mappings
bundles/org.eclipse.sdk.tests/about.properties
bundles/org.eclipse.sdk.tests/build.properties
bundles/org.eclipse.sdk.tests/cpl-v10.html
bundles/org.eclipse.sdk.tests/eclipse32.gif
bundles/org.eclipse.sdk.tests/notice.html
bundles/org.eclipse.sdk.tests/plugin.properties
bundles/org.eclipse.sdk.tests/plugin.xml
bundles/org.eclipse.test/.classpath
bundles/org.eclipse.test/.cvsignore
bundles/org.eclipse.test/.project
bundles/org.eclipse.test/JUNIT.XSL
bundles/org.eclipse.test/about.html
bundles/org.eclipse.test/build.properties
bundles/org.eclipse.test/library.xml
bundles/org.eclipse.test/plugin.properties
bundles/org.eclipse.test/plugin.xml
bundles/org.eclipse.test/regression-test.xsl
bundles/org.eclipse.test/src/org/eclipse/test/CoreTestApplication.java
bundles/org.eclipse.test/src/org/eclipse/test/EclipseTestRunner.java
bundles/org.eclipse.test/src/org/eclipse/test/RegressionTest.java
bundles/org.eclipse.test/src/org/eclipse/test/UITestApplication.java
bundles/org.eclipse.test/testframework.html
features/org.eclipse.rcp/.project
features/org.eclipse.rcp/build.properties
features/org.eclipse.rcp/feature.xml
features/org.eclipse.rcp/rootfiles/configuration/config.ini
features/org.eclipse.sdk.examples-feature/.project
features/org.eclipse.sdk.examples-feature/build.properties
features/org.eclipse.sdk.examples-feature/cpl-v10.html
features/org.eclipse.sdk.examples-feature/eclipse_update_120.jpg
features/org.eclipse.sdk.examples-feature/feature.properties
features/org.eclipse.sdk.examples-feature/feature.xml
features/org.eclipse.sdk.examples-feature/license.html
features/org.eclipse.sdk.examples-feature/rootfiles/cpl-v10.html
features/org.eclipse.sdk.examples-feature/rootfiles/notice.html
features/org.eclipse.sdk.examples-feature/sourceTemplateFragment/about.html
features/org.eclipse.sdk.examples-feature/sourceTemplateFragment/about.ini
features/org.eclipse.sdk.examples-feature/sourceTemplateFragment/about.mappings
features/org.eclipse.sdk.examples-feature/sourceTemplateFragment/about.properties
features/org.eclipse.sdk.examples-feature/sourceTemplateFragment/build.properties
features/org.eclipse.sdk.examples-feature/sourceTemplateFragment/eclipse32.gif
features/org.eclipse.sdk.examples-feature/sourceTemplateFragment/plugin.properties
features/org.eclipse.sdk.examples-feature/sourceTemplatePlugin/build.properties
features/org.eclipse.sdk.examples-feature/sourceTemplatePlugin/eclipse32.gif
features/org.eclipse.sdk.examples-feature/sourceTemplatePlugin/plugin.properties
features/org.eclipse.sdk.tests/.project
features/org.eclipse.sdk.tests/build.properties
features/org.eclipse.sdk.tests/cpl-v10.html
features/org.eclipse.sdk.tests/eclipse_update_120.jpg
features/org.eclipse.sdk.tests/feature.properties
features/org.eclipse.sdk.tests/feature.xml
features/org.eclipse.sdk.tests/license.html
features/org.eclipse.sdk.tests/rootfiles/cpl-v10.html
features/org.eclipse.sdk.tests/rootfiles/notice.html
features/org.eclipse.sdk/.project
features/org.eclipse.sdk/build.properties
features/org.eclipse.sdk/cpl-v10.html
features/org.eclipse.sdk/eclipse_update_120.jpg
features/org.eclipse.sdk/feature.properties
features/org.eclipse.sdk/feature.xml
features/org.eclipse.sdk/license.html
diff --git a/bundles/org.eclipse.ant.optional.junit/.project b/bundles/org.eclipse.ant.optional.junit/.project
deleted file mode 100644
index 01c4c81..0000000
--- a/bundles/org.eclipse.ant.optional.junit/.project
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.ant.optional.junit</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- </buildSpec>
- <natures>
- </natures>
-</projectDescription>
diff --git a/bundles/org.eclipse.ant.optional.junit/about.html b/bundles/org.eclipse.ant.optional.junit/about.html
deleted file mode 100644
index 9db411a..0000000
--- a/bundles/org.eclipse.ant.optional.junit/about.html
+++ /dev/null
@@ -1,30 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<html>
-<head>
-<title>About</title>
-<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
-</head>
-<body lang="EN-US">
-<h2>About This Content</h2>
-
-<p>20th June, 2002</p>
-<h3>License</h3>
-<p>Eclipse.org makes available all content in this plug-in ("Content"). Unless otherwise indicated below, the Content is provided to you under the terms and conditions of the
-Common Public License Version 1.0 ("CPL"). A copy of the CPL is available at <a href="http://www.eclipse.org/legal/cpl-v10.html">http://www.eclipse.org/legal/cpl-v10.html</a>.
-For purposes of the CPL, "Program" will mean the Content.</p>
-
-<h3>Contributions</h3>
-
-<p>If this Content is licensed to you under the terms and conditions of the CPL, any Contributions, as defined in the CPL, uploaded, submitted, or otherwise
-made available to Eclipse.org, members of Eclipse.org and/or the host of Eclipse.org web site, by you that relate to such
-Content are provided under the terms and conditions of the CPL and can be made available to others under the terms of the CPL.</p>
-
-<p>If this Content is licensed to you under license terms and conditions other than the CPL ("Other License"), any modifications, enhancements and/or
-other code and/or documentation ("Modifications") uploaded, submitted, or otherwise made available to Eclipse.org, members of Eclipse.org and/or the
-host of Eclipse.org, by you that relate to such Content are provided under terms and conditions of the Other License and can be made available
-to others under the terms of the Other License. In addition, with regard to Modifications for which you are the copyright holder, you are also
-providing the Modifications under the terms and conditions of the CPL and such Modifications can be made available to others under the terms of
-the CPL.</p>
-
-</body>
-</html>
\ No newline at end of file
diff --git a/bundles/org.eclipse.ant.optional.junit/build.properties b/bundles/org.eclipse.ant.optional.junit/build.properties
deleted file mode 100644
index 9ebd6f0..0000000
--- a/bundles/org.eclipse.ant.optional.junit/build.properties
+++ /dev/null
@@ -1,11 +0,0 @@
-###############################################################################
-# Copyright (c) 2000, 2003 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Common Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/cpl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-bin.includes=fragment.xml,about.html
\ No newline at end of file
diff --git a/bundles/org.eclipse.ant.optional.junit/fragment.xml b/bundles/org.eclipse.ant.optional.junit/fragment.xml
deleted file mode 100644
index 48e8edb..0000000
--- a/bundles/org.eclipse.ant.optional.junit/fragment.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<fragment
- id="org.eclipse.ant.optional.junit"
- name="Junit Fragment"
- version="2.1.0"
- plugin-id="org.apache.ant"
- plugin-version="1.4.1">
-
- <runtime>
- </runtime>
-
- <requires>
- <import plugin="org.junit"/>
- </requires>
-
-
-</fragment>
diff --git a/bundles/org.eclipse.releng.tests/.classpath b/bundles/org.eclipse.releng.tests/.classpath
deleted file mode 100644
index f7f868a..0000000
--- a/bundles/org.eclipse.releng.tests/.classpath
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="src" path="/org.eclipse.perfmsr.core"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/bundles/org.eclipse.releng.tests/.cvsignore b/bundles/org.eclipse.releng.tests/.cvsignore
deleted file mode 100644
index c91f213..0000000
--- a/bundles/org.eclipse.releng.tests/.cvsignore
+++ /dev/null
@@ -1,6 +0,0 @@
-bin
-temp.folder
-org.eclipse.releng.tests_3.0.0.zip
-relengtestssrc.zip
-build.xml
-relengtests.jar
diff --git a/bundles/org.eclipse.releng.tests/.project b/bundles/org.eclipse.releng.tests/.project
deleted file mode 100644
index d536dee..0000000
--- a/bundles/org.eclipse.releng.tests/.project
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.releng.tests</name>
- <comment></comment>
- <projects>
- <project>org.eclipse.core.runtime</project>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
-</projectDescription>
diff --git a/bundles/org.eclipse.releng.tests/about.html b/bundles/org.eclipse.releng.tests/about.html
deleted file mode 100644
index 9db411a..0000000
--- a/bundles/org.eclipse.releng.tests/about.html
+++ /dev/null
@@ -1,30 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<html>
-<head>
-<title>About</title>
-<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
-</head>
-<body lang="EN-US">
-<h2>About This Content</h2>
-
-<p>20th June, 2002</p>
-<h3>License</h3>
-<p>Eclipse.org makes available all content in this plug-in ("Content"). Unless otherwise indicated below, the Content is provided to you under the terms and conditions of the
-Common Public License Version 1.0 ("CPL"). A copy of the CPL is available at <a href="http://www.eclipse.org/legal/cpl-v10.html">http://www.eclipse.org/legal/cpl-v10.html</a>.
-For purposes of the CPL, "Program" will mean the Content.</p>
-
-<h3>Contributions</h3>
-
-<p>If this Content is licensed to you under the terms and conditions of the CPL, any Contributions, as defined in the CPL, uploaded, submitted, or otherwise
-made available to Eclipse.org, members of Eclipse.org and/or the host of Eclipse.org web site, by you that relate to such
-Content are provided under the terms and conditions of the CPL and can be made available to others under the terms of the CPL.</p>
-
-<p>If this Content is licensed to you under license terms and conditions other than the CPL ("Other License"), any modifications, enhancements and/or
-other code and/or documentation ("Modifications") uploaded, submitted, or otherwise made available to Eclipse.org, members of Eclipse.org and/or the
-host of Eclipse.org, by you that relate to such Content are provided under terms and conditions of the Other License and can be made available
-to others under the terms of the Other License. In addition, with regard to Modifications for which you are the copyright holder, you are also
-providing the Modifications under the terms and conditions of the CPL and such Modifications can be made available to others under the terms of
-the CPL.</p>
-
-</body>
-</html>
\ No newline at end of file
diff --git a/bundles/org.eclipse.releng.tests/build.properties b/bundles/org.eclipse.releng.tests/build.properties
deleted file mode 100644
index 530a692..0000000
--- a/bundles/org.eclipse.releng.tests/build.properties
+++ /dev/null
@@ -1,18 +0,0 @@
-###############################################################################
-# Copyright (c) 2000, 2003 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Common Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/cpl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-bin.includes = plugin.properties,\
- plugin.xml,\
- *.xml,\
- *.txt,\
- *.exe,\
- *.jar
-
-source.relengtests.jar = src/
diff --git a/bundles/org.eclipse.releng.tests/ignoreErrorsUnix.txt b/bundles/org.eclipse.releng.tests/ignoreErrorsUnix.txt
deleted file mode 100644
index e69de29..0000000
--- a/bundles/org.eclipse.releng.tests/ignoreErrorsUnix.txt
+++ /dev/null
diff --git a/bundles/org.eclipse.releng.tests/ignoreErrorsWindows.txt b/bundles/org.eclipse.releng.tests/ignoreErrorsWindows.txt
deleted file mode 100644
index 3a88561..0000000
--- a/bundles/org.eclipse.releng.tests/ignoreErrorsWindows.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-127
-128
diff --git a/bundles/org.eclipse.releng.tests/ignoreFiles.txt b/bundles/org.eclipse.releng.tests/ignoreFiles.txt
deleted file mode 100644
index ef65558..0000000
--- a/bundles/org.eclipse.releng.tests/ignoreFiles.txt
+++ /dev/null
@@ -1,54 +0,0 @@
-feature.properties
-feature.xml
-cpl*.html
-license.html
-notice.html
-*/.metadata/.cache.properties
-*/doc_zip/reference/api/*
-*/doc_zip/reference/osgi/*
-*/org.apache.ant_*
-*/xercesImpl_jar/*
-*/xercessrc_zip/*
-*/plugins/org.eclipse.ui_*/plugin.xml
-*/plugins/org.eclipse.tomcat_*/conf/*
-*/plugins/org.eclipse.tomcat_*/catalina_jar/*
-*/plugins/org.eclipse.tomcat_*/jasper-runtime_jar/*
-*/plugins/org.eclipse.tomcat_*/tomcat-util_jar/*
-*/plugins/org.eclipse.tomcat_*/commons-digester_jar/*
-*/plugins/org.eclipse.tomcat_*/naming-common_jar/*
-*/plugins/org.eclipse.tomcat_*/naming-resources_jar/*
-*/plugins/org.eclipse.tomcat_*/servlets-common_jar/*
-*/plugins/org.eclipse.tomcat_*/tomcat-coyote_jar/*
-*/plugins/org.eclipse.tomcat_*/tomcat-http11_jar/*
-*/plugins/org.eclipse.tomcat_*/commons-beanutils_jar/*
-*/plugins/org.eclipse.tomcat_*/commons-modeler_jar/*
-*/plugins/org.eclipse.tomcat_*/jasper-runtime_jar/*
-*/plugins/org.eclipse.tomcat_*/tomcat-util_jar/*
-*/plugins/org.eclipse.tomcat_*/commons-logging_jar/*
-*/plugins/org.eclipse.tomcat_*/servlet_jar/*
-*/org.apache.lucene_*/lucene-*-src_zip/lucene-*-src/*
-*/plugins/org.eclipse.platform.source_*/src/org.apache.lucene_*/lucene-*-src_zip/lucene-*/*
-*/plugins/org.eclipse.jdt.ui_*/jdt_jar/org/eclipse/jdt/internal/corext/template/default-codetemplates.xml
-*/plugins/org.eclipse.ant.ui_*/antui_jar/anttasks_*.xml
-*/plugins/org.eclipse.ant.ui_*/antui_jar/XDOCtasks.xml
-*/plugins/org.eclipse.pde.build_*/scripts/*
-*/plugins/org.eclipse.pde.build_*/feature/*
-*/plugins/org.eclipse.pde.build_*/notes/*
-*/plugins/org.eclipse.pde.ui_*/templates*/help/toc.xml
-*/plugins/org.eclipse.help.webapp_*/WEB-INF/web.xml
-*/plugins/org.eclipse.ui.workbench_*/workbench-new_jar/scripts/exportplugin.xml
-*/plugins/org.eclipse.ui.workbench_*/texteditor-new_jar/scripts/exportplugin.xml
-*/plugins/org.eclipse.jface_*/jface-new_jar/scripts/exportplugin.xml
-*/plugins/org.eclipse.jdt_*/overviewExtensionContent.xml
-*/plugins/org.eclipse.jdt_*/samplesExtensionContent.xml
-*/plugins/org.eclipse.jdt_*/tutorialsExtensionContent.xml
-*/plugins/org.eclipse.jdt_*/cheatsheets/HelloWorld.xml
-*/plugins/org.eclipse.jdt_*/cheatsheets/HelloWorldSWT.xml
-*/plugins/org.eclipse.pde_*/overviewExtensionContent.xml
-*/plugins/org.eclipse.pde_*/tutorialsExtensionContent.xml
-*/plugins/org.eclipse.pde_*/cheatsheets/helloworld.xml
-*/plugins/org.eclipse.pde_*/cheatsheets/updates.xml
-*/plugins/org.eclipse.platform_*/introContent.xml
-*/plugins/org.eclipse.platform_*/cheatsheets/CVS_1.xml
-*/plugins/org.eclipse.jdt_*/newsExtensionContent.xml
-*/plugins/org.eclipse.pde_*/newsExtensionContent.xml
\ No newline at end of file
diff --git a/bundles/org.eclipse.releng.tests/notes.txt b/bundles/org.eclipse.releng.tests/notes.txt
deleted file mode 100644
index eaadeb6..0000000
--- a/bundles/org.eclipse.releng.tests/notes.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-In order for the testChkpii automated test to run you must have
-the correct version of the internal IBM chkpii tools on your
-path and the file must be called chkpw604.exe
-
-Also, in Unix system chkpii chokes if you have errors 127 and 128
-in your ignoreErrors.txt file
-
-Also, you must use the correct platform file seperator in the
-ignoreFiles.txt.
\ No newline at end of file
diff --git a/bundles/org.eclipse.releng.tests/plugin.xml b/bundles/org.eclipse.releng.tests/plugin.xml
deleted file mode 100644
index 9cccb5a..0000000
--- a/bundles/org.eclipse.releng.tests/plugin.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.0"?>
-<plugin
- id="org.eclipse.releng.tests"
- name="Eclipse Releng Tests"
- version="3.0.0"
- provider-name="Eclipse.org">
-
-<requires>
- <import plugin="org.eclipse.core.runtime.compatibility"/>
- <import plugin="org.eclipse.core.runtime"/>
- <import plugin="org.eclipse.core.resources"/>
- <import plugin="org.eclipse.ui"/>
- <import plugin="org.eclipse.perfmsr.core "/>
- <import plugin="org.junit"/>
-</requires>
-
-<runtime>
- <library name="relengtests.jar"/>
-</runtime>
-
-</plugin>
diff --git a/bundles/org.eclipse.releng.tests/src/org/eclipse/releng/tests/BuildTests.java b/bundles/org.eclipse.releng.tests/src/org/eclipse/releng/tests/BuildTests.java
deleted file mode 100644
index 83c12c0..0000000
--- a/bundles/org.eclipse.releng.tests/src/org/eclipse/releng/tests/BuildTests.java
+++ /dev/null
@@ -1,974 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.releng.tests;
-
-import java.io.BufferedReader;
-import java.io.BufferedWriter;
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.FileNotFoundException;
-import java.io.FileReader;
-import java.io.FileWriter;
-import java.io.FilenameFilter;
-import java.io.IOException;
-import java.io.InputStreamReader;
-import java.io.LineNumberReader;
-//import java.io.StringWriter;
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Map;
-import java.util.StringTokenizer;
-import java.util.zip.ZipFile;
-
-import org.eclipse.core.runtime.Platform;
-
-import junit.framework.TestCase;
-
-public class BuildTests extends TestCase {
-
- private List copyrightExcludeDirectories;
- private List cvsExcludeDirectories;
- private String sourceDirectoryName;
- private String logFileName;
- private static final String CVS_KO = "-ko";
- private static final String CVS_KKV = "-kkv";
- private static final String CVS_KB = "-kb";
- private static final String CVS_BINARY = "CVS_BINARY";
- private static final int ENTRY_TYPE_INDEX = 3;
- private static final int ENTRY_NAME_INDEX = 0;
- private static final int MIN_ENTRY_FIELDS_SIZE = 4;
- private static final String DEFAULT_CVS_TYPE = "-kkv";
-
- private Map cvsTypes;
- private List cvsDirectoryTypes;
- private String[] javaCopyrightLines;
- private long goodCopyrights = 0;
- private long badCopyrights = 0;
- private static final int HTML = 0;
- private static final int PROPERTIES = 1;
- private static final int XML = 2;
-
- private static FileTool.IZipFilter getTrueFilter() {
- return new FileTool.IZipFilter() {
- public boolean shouldExtract(String fullEntryName, String entryName, int depth) {return true;}
- public boolean shouldUnzip(String fullEntryName, String entryName, int depth) {
- return true;
- }
- };
- }
-
- /**
- * Method hasErrors.
- * @param string
- * @return boolean
- */
- private boolean hasErrors(String string) {
-
- boolean result = false;
- BufferedReader aReader = null;
-
- try {
- aReader = new BufferedReader(new InputStreamReader(new FileInputStream(string)));
- String aLine = aReader.readLine();
- while (aLine != null) {
- int aNumber = parseLine(aLine);
- if (aNumber > 0) {
- result = true;
- }
- aLine = aReader.readLine();
- }
- } catch (FileNotFoundException e) {
- System.out.println("Could not open log file: " + string);
- result = true;
- } catch (IOException e) {
- System.out.println("Error reading log file: " + string);
- result = true;
- } finally {
- if (aReader != null) {
- try {
- aReader.close();
- } catch (IOException e) {
- result = true;
- }
- }
- }
-
- return result;
- }
-
- public void bogusTestCopyright() { // Not ready for primetime yet.
-
- boolean result = false;
- initializeJavaCopyright();
-
- new File(logFileName).mkdirs();
- logFileName = logFileName + File.separator + "copyrightLog.txt";
-
- try {
- BufferedWriter aLog = new BufferedWriter(new FileWriter(logFileName));
- File rootDirectory = new File(sourceDirectoryName);
- result = scanCopyrights(rootDirectory, aLog);
- aLog.close();
- } catch (IOException e) {
- e.printStackTrace();
- }
-
- System.out.println("Total copyrights: " + (goodCopyrights + badCopyrights));
- System.out.println("Good copyrights: " + goodCopyrights);
- System.out.println("Bad copyrights: " + badCopyrights);
-
- assertFalse("Copyright errors. See the releng test logs linked from the test results page for details.", result);
- }
-
-
-
- /**
- * @param rootDirectory
- * @param aLog
- * @return boolean
- */
- private boolean scanCopyrights(File aDirectory, BufferedWriter aLog) {
-
- boolean result = false;
-
- if (isCopyrightExcludeDirectory(aDirectory)) {
- return result;
- }
-
- File[] files = aDirectory.listFiles();
-
- if (files == null) {
- return result;
- }
-
- for (int i = 0; i < files.length; i++) {
- File aFile = files[i];
- if (aFile.isDirectory()) {
- result = result | scanCopyrights(aFile, aLog);
- } else {
- result = result | validateCopyright(aFile, aLog);;
- }
- }
- return result;
- }
-
- public void ztestCVSKTag() {
-
- boolean result = false;
- initializeCVSTypes();
- new File(logFileName).mkdirs();
- logFileName = logFileName + File.separator + "cvsTypesLog.txt";
-
- try {
- BufferedWriter aLog = new BufferedWriter(new FileWriter(logFileName));
- File rootDirectory = new File(sourceDirectoryName);
- result = scanCVSKTag(rootDirectory, aLog);
- aLog.close();
- } catch (IOException e) {
- e.printStackTrace();
- }
-
- assertFalse("CVS KTag type errors. See the releng test logs linked from the test results page for details.", result);
- }
-
- private void initializeCVSTypes() {
- cvsTypes = new HashMap();
- cvsDirectoryTypes = new ArrayList();
- cvsExcludeDirectories = new ArrayList();
-
-
- cvsTypes.put("gif", CVS_BINARY);
- cvsTypes.put("jpg", CVS_BINARY);
- cvsTypes.put("zip", CVS_BINARY);
- cvsTypes.put("jar", CVS_BINARY);
- cvsTypes.put("bmp", CVS_BINARY);
- cvsTypes.put("class", CVS_BINARY);
- cvsTypes.put("dll", CVS_BINARY);
- cvsTypes.put("doc", CVS_BINARY);
- cvsTypes.put("exe", CVS_BINARY);
- cvsTypes.put("ico", CVS_BINARY);
- cvsTypes.put("jpeg", CVS_BINARY);
- cvsTypes.put("pdf", CVS_BINARY);
- cvsTypes.put("png", CVS_BINARY);
- cvsTypes.put("ppt", CVS_BINARY);
- cvsTypes.put("so", CVS_BINARY);
- cvsTypes.put("tiff", CVS_BINARY);
- cvsTypes.put("tif", CVS_BINARY);
- cvsTypes.put("xls", CVS_BINARY);
- cvsTypes.put("rsc", CVS_BINARY);
- cvsTypes.put("jnilib", CVS_BINARY);
- cvsTypes.put("a", CVS_BINARY);
- cvsTypes.put("sl", CVS_BINARY);
- cvsTypes.put("a", CVS_BINARY);
- cvsTypes.put("1", CVS_BINARY);
- cvsTypes.put("xpm", CVS_BINARY);
- cvsTypes.put("a", CVS_BINARY);
- cvsTypes.put("pm", CVS_BINARY);
-
- // Define directories with all binary types
- cvsDirectoryTypes.add("org.eclipse.jdt.ui.tests.refactoring" + File.separator + "resources");
-
- // Define exclude directories
- cvsExcludeDirectories.add("org.eclipse.jdt.ui.tests.refactoring" + File.separator + "resources");
- cvsExcludeDirectories.add("platform-launcher");
-
- }
-
- private void initializeJavaCopyright() {
- copyrightExcludeDirectories = new ArrayList();
-
- javaCopyrightLines = new String[8];
- javaCopyrightLines[0]="/*******************************************************************************";
- javaCopyrightLines[1]=" * Copyright (c) 2000, 2003 IBM Corporation and others.";
- javaCopyrightLines[2]=" * All rights reserved. This program and the accompanying materials ";
- javaCopyrightLines[3]=" * are made available under the terms of the Common Public License v1.0";
- javaCopyrightLines[4]=" * which accompanies this distribution, and is available at";
- javaCopyrightLines[5]=" * http://www.eclipse.org/legal/cpl-v10.html";
- javaCopyrightLines[6]=" * ";
- javaCopyrightLines[7]=" * Contributors:";
-
- // Define directories with all binary types
- copyrightExcludeDirectories.add("org.eclipse.jdt.ui.tests.refactoring" + File.separator + "resources");
- copyrightExcludeDirectories.add("org.eclipse.jdt.debug.tests" + File.separator + "resources");
-
- }
-
- private boolean scanCVSKTag(File aDirectory, BufferedWriter aLog) {
-
- boolean result = false;
-
- if (isCvsExcludeDirectory(aDirectory)) {
- return result;
- }
-
- File[] files = aDirectory.listFiles();
-
- if (files == null) {
- return result;
- }
-
- for (int i = 0; i < files.length; i++) {
- File aFile = files[i];
- if (aFile.isDirectory()) {
- if (aFile.getName().equals("CVS")) {
- result = result | scanCVSDirectory(aFile, aLog);
- } else {
- result = result | scanCVSKTag(aFile, aLog);
- }
- }
- }
- return result;
- }
-
- /**
- * @param aDirectory
- * @return
- */
- private boolean isCvsExcludeDirectory(File aDirectory) {
- String aString = aDirectory.getPath().substring(sourceDirectoryName.length()).toLowerCase();
- Iterator anIterator = cvsExcludeDirectories.iterator();
- while (anIterator.hasNext()) {
- String anItem = (String) anIterator.next();
- if (aString.indexOf(anItem) != -1) {
- return true;
- }
- }
- return false;
- }
-
- /**
- * @param aDirectory
- * @return
- */
- private boolean isCopyrightExcludeDirectory(File aDirectory) {
- String aString = aDirectory.getPath().substring(sourceDirectoryName.length()).toLowerCase();
- Iterator anIterator = copyrightExcludeDirectories.iterator();
- while (anIterator.hasNext()) {
- String anItem = (String) anIterator.next();
- if (aString.indexOf(anItem) != -1) {
- return true;
- }
- }
- return false;
- }
-
- private boolean scanCVSDirectory(File aDirectory, BufferedWriter aLog) {
-
- boolean result = false;
-
- File entries = new File(aDirectory, "Entries");
- try {
- BufferedReader aReader = new BufferedReader(new FileReader(entries));
- String aLine = aReader.readLine();
- while (aLine != null) {
- result = result | validateCVSEntry(aDirectory.getParentFile(), aLine, aLog);
- aLine = aReader.readLine();
- }
-
- aReader.close();
- } catch (FileNotFoundException e) {
- System.out.println("File Not Found reading Entries file");
- e.printStackTrace();
- } catch (IOException e) {
- System.out.println("IOException reading Entries file");
- e.printStackTrace();
- }
-
- return result;
-
- }
-
- /**
- *
- * @param aFile
- * @return boolean - true if the copyright is NOT valid.
- */
- private boolean validateCopyright(File aFile, BufferedWriter aLog) {
- boolean result = false;
-
- if (!aFile.getName().endsWith(".java")) {
- return result;
- }
-
- LineNumberReader aReader;
- try {
- aReader = new LineNumberReader(new FileReader(aFile));
- for (int i = 0; i < javaCopyrightLines.length; i++) {
- String aLine = aReader.readLine();
- if (aLine == null) {
- result = true;
- break;
- }
-
- if (i > -1) {
- if (!aLine.trim().toLowerCase().equals(javaCopyrightLines[i].trim().toLowerCase())) {
- result = true;
- break;
- }
- }
- }
- aReader.close();
- } catch (FileNotFoundException e) {
- e.printStackTrace();
- } catch (IOException e) {
- e.printStackTrace();
- }
-
- if (result) {
- badCopyrights++;
- try {
- int start = aFile.getPath().indexOf("plugins");
- String fileName;
- if (start == -1) {
- fileName = aFile.getPath();
- } else {
- fileName = aFile.getPath().substring(start + "plugins".length() + 1);
- }
-
- aLog.write(fileName);
- aLog.newLine();
- } catch (IOException e1) {
- e1.printStackTrace();
- }
-
- } else {
- goodCopyrights++;
- }
-
- return result;
- }
-
- private boolean validateCVSEntry(File aDirectory, String aLine, BufferedWriter aLog) {
-
- boolean result = false;
-
- String[] fields = split(aLine, "/");
- if (fields.length < MIN_ENTRY_FIELDS_SIZE) {
- return result;
- }
-
- String expectedType;
-
- // Some entire directories are marked as Binary.
- if (isCVSBinaryDirectory(aDirectory)) {
- expectedType = CVS_BINARY;
- } else {
- expectedType = null;
- }
-
- String entryName = aDirectory + File.separator + fields[ENTRY_NAME_INDEX];
- if (expectedType == null) {
- expectedType = (String) cvsTypes.get(entryName);
- }
-
- // No type registered for exact file name. Check for extension
- if (expectedType == null) {
-
- String[] dotParts = split(fields[ENTRY_NAME_INDEX], ".");
- String entryExtension;
- if (dotParts.length == 0) {
- // File name has no extension.
- expectedType = DEFAULT_CVS_TYPE;
- } else {
- entryExtension = dotParts[dotParts.length - 1];
- expectedType = (String) cvsTypes.get(entryExtension);
- if (expectedType == null) {
- // Extension has no type registered
- expectedType = DEFAULT_CVS_TYPE;
- }
- }
- }
-
- // We know what type to expect for this file. Are we the right one?
-
- String entryType = fields[ENTRY_TYPE_INDEX];
- if (entryType.length() == 0) {
- entryType = CVS_KKV;
- }
-
- try {
- if (expectedType.equals(CVS_BINARY)) {
- if (!entryType.equals(CVS_KB)) {
- // Fail Binary Test
- int start = entryName.indexOf("plugins");
- String fileName;
- if (start == -1) {
- fileName = entryName;
- } else {
- fileName = entryName.substring(start + "plugins".length() + 1);
- }
- aLog.write(fileName + " should be *BINARY*");
- aLog.newLine();
- result = true;
- }
- } else {
- if (!(entryType.equals(CVS_KKV) || entryType.equals(CVS_KO))) {
- // Fail
- int start = entryName.indexOf("plugins");
- String fileName;
- if (start == -1) {
- fileName = entryName;
- } else {
- fileName = entryName.substring(start + "plugins".length() + 1);
- }
- aLog.write(fileName + " should be *TEXT*");
- aLog.newLine();
- result = true;
- }
- }
- } catch (IOException e) {
- System.out.println("IOException writing log");
- e.printStackTrace();
- }
- return result;
- }
-
- /**
- * @param aDirectory
- * @return
- */
- private boolean isCVSBinaryDirectory(File aDirectory) {
- String aString = aDirectory.getPath().substring(sourceDirectoryName.length()).toLowerCase();
- Iterator anIterator = cvsDirectoryTypes.iterator();
- while (anIterator.hasNext()) {
- String anItem = (String) anIterator.next();
- if (aString.indexOf(anItem) != -1) {
- return true;
- }
- }
- return false;
- }
-
- /**
- * @param aLine
- * @param delimeter
- * @return String[]
- */
- private String[] split(String aLine, String delimeter) {
- StringTokenizer tokenizer = new StringTokenizer(aLine, delimeter, true);
- List list = new ArrayList();
- String lastToken = "";
- while (tokenizer.hasMoreTokens()) {
- String aToken = (String) tokenizer.nextToken();
- if (aToken.equals(delimeter)) {
- if (lastToken.equals(delimeter)) {
- list.add("");
- }
- } else {
- list.add(aToken);
- }
- lastToken=aToken;
- }
- return (String[]) list.toArray(new String[0]);
- }
-
- public void testChkpii() {
-
- String zipFile = locateEclipseZip();
-// String sniffFolder = BootLoader.getInstallURL().getPath() + "releng_sniff_folder";
-// String sniffFolder = "\\builds\\t";
- String sniffFolder = Platform.getLocation().toOSString();
-
- try {
- FileTool.unzip(getTrueFilter(), new ZipFile(zipFile), new File(sniffFolder));
- } catch (IOException e) {
-
-
- fail(zipFile + ": " + sniffFolder + ": " + "IOException unzipping Eclipse for chkpii");
- }
-
- boolean result1 = testChkpii(HTML);
- boolean result2 = testChkpii(XML);
- boolean result3 = testChkpii(PROPERTIES);
- assertTrue("Translation errors in files. See the chkpii logs linked from the test results page for details.", (result1 && result2 && result3));
- }
-
- private boolean testChkpii(int type) {
- Runtime aRuntime = Runtime.getRuntime();
- String chkpiiString = getChkpiiString(type);
- try {
- Process aProcess = aRuntime.exec(chkpiiString);
- BufferedReader aBufferedReader = new BufferedReader(new InputStreamReader(aProcess.getInputStream()));
- String line = null;
- while ( (line = aBufferedReader.readLine()) != null) {
- }
- aProcess.waitFor();
- } catch (IOException e) {
- e.printStackTrace();
- return false;
- } catch (InterruptedException e) {
- return false;
- }
- return !hasErrors(getOutputFile(type));
- }
-
- /**
- * Method getChkpiiString.
- * @param HTML
- * @return String
- */
- private String getChkpiiString(int type) {
- return getExec() + " " + getFilesToTest(type) + " -E -O " + getOutputFile(type) + " -XM @" + getExcludeErrors() + " -X " + getExcludeFile () + " -S";
- }
- /**
- * Method locateEclipseZip.
- * @return String
- */
- private String locateEclipseZip() {
-
- // String to use when running as an automated test.
- String installDir = Platform.getInstallLocation().getURL().getPath()+ ".." + File.separator + "..";
-
- // String to use when running in Eclipse
- // String installDir = BootLoader.getInstallURL().getPath() + "..";
- File aFile = new File(installDir);
- if (aFile == null) {
- System.out.println("File is null");
- }
- System.out.println(installDir);
-
- File[] files = aFile.listFiles();
- for (int i = 0; i < files.length; i++) {
- File file = files[i];
- String fileName = file.getName();
- if (fileName.startsWith("eclipse-SDK-") && fileName.endsWith(".zip")) {
- return file.getPath();
- }
- }
-
- return "";
- }
-
- /**
- * Method getExcludeFiles.
- * @return String
- */
- private String getExcludeFile() {
- String aString = System.getProperty("PLUGIN_PATH");
- return aString+File.separator+"ignoreFiles.txt";
- }
-
- /**
- * Method getOutputFile.
- * @param HTML
- * @return String
- */
-
- private String getOutputFile(int type) {
-
-
- new File(logFileName).mkdirs();
-
- String aString = logFileName + File.separator + "org.eclipse.nls.";
- aString = new File(aString).getPath();
-
- switch (type) {
- case HTML :
- return aString + "html.txt";
- case PROPERTIES :
- return aString + "properties.txt";
-
- case XML :
- return aString + "xml.txt";
-
- default :
- return aString + "other.txt";
- }
- }
-
- /**
- * Method getFilesToTest.
- * @param HTML
- * @return String
- */
-
- private String getFilesToTest(int type) {
-
- String sniffFolder = Platform.getLocation().toOSString();
-
- String aString = new File(sniffFolder).getPath() + File.separator;
-
- switch (type) {
- case HTML :
- return aString + "*.htm*";
- case PROPERTIES :
- return aString + "*.properties";
-
- case XML :
- return aString + "*.xml";
-
- default :
- return aString + "*.*";
- }
- }
-
- /**
- * Method getExec.
- * @return String
- */
-
- private String getExec() {
-
- return new File("chkpw606.exe").getPath();
- }
-
- /**
- * Method getExcludeErrors.
- */
- private String getExcludeErrors() {
-
- String os = Platform.getOS();
- String fileName;
-
- if (os.equals("win32")) {
- fileName = "ignoreErrorsWindows.txt";
- } else {
- fileName = "ignoreErrorsUnix.txt";
- }
-
- String aString = System.getProperty("PLUGIN_PATH");
- return aString+ File.separator + fileName;
- }
-
- /**
- * Method parseLine.
- * @param aLine
- * @return -1 if not an error or warning line or the number of errors or
- * warnings.
- */
- private int parseLine(String aLine) {
- int index = aLine.indexOf("Files Could Not Be Processed: ");
-
- if (index ==-1){
- index=aLine.indexOf("Files Contain Error");
- }
-
- if (index==-1){
- return -1;
- } else {
- String aString = aLine.substring(0, index).trim();
- return Integer.parseInt(aString);
- }
- }
-
- public class FileSuffixFilter implements FilenameFilter {
-
- private String suffix;
-
- public FileSuffixFilter(String suffix) {
- this.suffix = suffix;
- }
-
- /**
- * @see java.io.FilenameFilter#accept(java.io.File, java.lang.String)
- */
- public boolean accept(File dir, String name) {
- int lastDot = name.lastIndexOf('.');
- if (lastDot == -1) {
- return false;
- }
- return name.substring(lastDot).equals(suffix);
- }
-
- }
-
- public static final String[] REQUIRED_FEATURE_FILES = {"cpl-v10.html", "feature.properties", "feature.xml", "license.html"};
- public static final String REQUIRED_FEATURE_SUFFIX = ".jpg";
-
- public static final String[] REQUIRED_PLUGIN_FILES = {"about.html", "plugin.properties", "plugin.xml"};
- public static final String REQUIRED_PLUGIN_SUFFIX = ".jar";
-
- public static final String[] REQUIRED_FEATURE_PLUGIN_FILES = {"about.html", "about.ini", "about.mappings", "about.properties", "plugin.properties", "plugin.xml"};
- public static final String REQUIRED_FEATURE_PLUGIN_SUFFIX = ".gif";
-
- public static final String[] REQUIRED_FRAGMENT_FILES = {"fragment.xml"};
- public static final String REQUIRED_FRAGMENT_SUFFIX = "";
-
- public static final String[] REQUIRED_SOURCE_FILES = {"about.html"};
- public static final String REQUIRED_SOURCE_SUFFIX = ".zip";
-
- public static final String[] REQUIRED_BUNDLE_FILES = {"about.html"};
- public static final String REQUIRED_BUNDLE_MANIFEST = "MANIFEST.MF";
- public static final String REQUIRED_BUNDLE_SUFFIX = ".jar";
-
- public static final String[] SUFFIX_EXEMPT_LIST = {"org.eclipse.swt","org.apache.ant"};
-
- public static final int PLUGIN_COUNT = 84; // - 20; // Note this number must include non-shipping test plugins
- public static final int FEATURE_COUNT = 9; // - 1; // Note this number must include non-shipping test feature
-
- /**
- * Constructor for EmptyDirectoriesTest.
- * @param arg0
- */
- public BuildTests(String arg0) {
- super(arg0);
- }
-
- /**
- * @see TestCase#setUp()
- */
- protected void setUp() throws Exception {
-
- // Autoamted Test
- logFileName = Platform.getInstallLocation().getURL().getPath() + ".." + File.separator + ".." + File.separator + "results" + File.separator + "chkpii"; // A tad bogus but this is where the build wants to copy the results from!
- sourceDirectoryName = Platform.getInstallLocation().getURL().getPath() + ".." + File.separator + ".." + File.separator + ".." + File.separator + ".." + File.separator + "src";
-
- // Runtime Workbench - TODI Put me back to Automated status
-// logFileName = "d:\\results";
-// sourceDirectoryName = "d:\\sourceFetch";
- }
-
- /**
- * @see TestCase#tearDown()
- */
- protected void tearDown() throws Exception {
- super.tearDown();
- }
-
- public void testFeatureFiles() {
- List result = new ArrayList();
- String installDir = Platform.getInstallLocation().getURL().getPath();
- File featureDir = new File(installDir, "features");
- File[] features = featureDir.listFiles();
- for (int i = 0; i < features.length; i++) {
- File aFeature = features[i];
- if (!testDirectory(aFeature, REQUIRED_FEATURE_FILES, REQUIRED_FEATURE_SUFFIX)) {
- result.add(aFeature.getPath());
- }
-
- }
-
- String aString = "";
- if (result.size() > 0) {
-
- Iterator iter = result.iterator();
- while (iter.hasNext()) {
- String element = (String) iter.next();
- aString = aString + element + "; ";
- }
- }
- assertTrue("Feature directory missing required files: " + aString, result.size() == 0);
- }
-
-// public void testPluginCount() {
-// String installDir = BootLoader.getInstallURL().getPath();
-// File pluginDir = new File(installDir, "plugins");
-// File[] plugins = pluginDir.listFiles();
-//
-// assertTrue("Plug-ins missing: " + (PLUGIN_COUNT - plugins.length), PLUGIN_COUNT == plugins.length);
-// }
-
-// public void testFeatureCount() {
-// String installDir = BootLoader.getInstallURL().getPath();
-// File featureDir = new File(installDir, "features");
-// File[] features = featureDir.listFiles();
-//
-// assertTrue("Features missing: " + (FEATURE_COUNT - features.length), FEATURE_COUNT == features.length);
-// }
-//
-
- public void testPluginFiles() {
- List result = new ArrayList();
- String installDir = Platform.getInstallLocation().getURL().getPath();
- File pluginDir = new File(installDir, "plugins");
- File[] plugins = pluginDir.listFiles();
- for (int i = 0; i < plugins.length; i++) {
- File aPlugin = plugins[i];
- if (aPlugin.getName().indexOf("test") == -1) {
- if (!testPluginFile(aPlugin)) {
- result.add(aPlugin.getPath());
- }
- }
- }
-
- String aString = "";
- if (result.size() > 0) {
-
- Iterator iter = result.iterator();
- while (iter.hasNext()) {
- String element = (String) iter.next();
- aString = aString + element + "; ";
- }
- }
- assertTrue("Plugin directory missing required files: " + aString, result.size() == 0);
- }
-
- private boolean testPluginFile(File aPlugin) {
-
- // Are we a doc plugin?
- if (testDirectory(aPlugin, REQUIRED_PLUGIN_FILES, ".zip")) {
- return true;
- }
-
- // Are we a feature plugin?
- if (testDirectory(aPlugin, REQUIRED_FEATURE_PLUGIN_FILES, REQUIRED_FEATURE_PLUGIN_SUFFIX)) {
- return true;
- }
-
- // Are we a regular plugin
- if (testDirectory(aPlugin, REQUIRED_PLUGIN_FILES, REQUIRED_PLUGIN_SUFFIX)) {
- return true;
- }
-
- // Are we a source plugin
- if (testSourcePlugin(aPlugin)) {
- return true;
- }
-
- // Are we a fragment
- if (testDirectory(aPlugin, REQUIRED_FRAGMENT_FILES, REQUIRED_FRAGMENT_SUFFIX)) {
- return true;
- }
-
- // Are we a bundle?
- if (testBundleDirectory(aPlugin, REQUIRED_BUNDLE_FILES, REQUIRED_BUNDLE_MANIFEST, REQUIRED_BUNDLE_SUFFIX)) {
- return true;
- }
-
- // No then we are bad
- return false;
- }
-
- private boolean testDirectory(File aDirectory, String[] requiredFiles, String requiredSuffix) {
- if (!Arrays.asList(aDirectory.list()).containsAll(Arrays.asList(requiredFiles))) {
- return false;
- }
-
- int index = aDirectory.getName().indexOf('_');
- if (index == -1) {
- index = aDirectory.getName().length();
- }
-
- String plainName = aDirectory.getName().substring(0, index);
-
- if (requiredSuffix.equals("") || Arrays.asList(SUFFIX_EXEMPT_LIST).contains(plainName)) {
- return true;
- } else if (aDirectory.listFiles(new FileSuffixFilter(requiredSuffix)).length == 0) {
- return false;
- }
-
- return true;
- }
-
- private boolean testBundleDirectory(File aDirectory, String[] requiredFiles, String manifestFile, String requiredSuffix) {
- if (!Arrays.asList(aDirectory.list()).containsAll(Arrays.asList(requiredFiles))) {
- return false;
- }
-
- int index = aDirectory.getName().indexOf('_');
- if (index == -1) {
- index = aDirectory.getName().length();
- }
-
- String plainName = aDirectory.getName().substring(0, index);
-
- File metaDir = new File(aDirectory, "META-INF");
-
- String[] metaFiles = metaDir.list();
- if (metaFiles == null) {
- return(false);
- } else {
- for (int i=0; i < metaFiles.length; i++) {
- String filename = metaFiles[i];
- if (filename == manifestFile) {
- return true;
- }
- }
- }
-
- if (! metaDir.exists()){
- return false;
- }
-
- if (requiredSuffix.equals("") || Arrays.asList(SUFFIX_EXEMPT_LIST).contains(plainName)) {
- return true;
- } else if (aDirectory.listFiles(new FileSuffixFilter(requiredSuffix)).length == 0) {
- return false;
- }
-
- return true;
- }
-
- /**
- * Return true if the receiver is a source plugin, false otherwise
- * A separate method because this is a little tricky.
- * @param aPlugin
- * @return boolean
- */
- private boolean testSourcePlugin(File aPlugin) {
- if (!testDirectory(aPlugin, REQUIRED_PLUGIN_FILES, "")) {
- return false;
- }
-
- File sourceDir = new File(aPlugin, "src");
- File[] sourceDirs = sourceDir.listFiles();
- if (sourceDirs == null) {
- return false;
- }
-
- for (int i = 0; i < sourceDirs.length; i++) {
- File aSourceDir = sourceDirs[i];
- if (!testDirectory(aSourceDir, REQUIRED_SOURCE_FILES, REQUIRED_SOURCE_SUFFIX)) {
- return false;
- }
- }
- return true;
- }
-
-
-}
-
-
-
-
diff --git a/bundles/org.eclipse.releng.tests/src/org/eclipse/releng/tests/FileTool.java b/bundles/org.eclipse.releng.tests/src/org/eclipse/releng/tests/FileTool.java
deleted file mode 100644
index 6b70152..0000000
--- a/bundles/org.eclipse.releng.tests/src/org/eclipse/releng/tests/FileTool.java
+++ /dev/null
@@ -1,507 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.releng.tests;
-
-import java.io.BufferedInputStream;
-import java.io.BufferedOutputStream;
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.FileOutputStream;
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.OutputStream;
-import java.util.ArrayList;
-import java.util.Enumeration;
-import java.util.List;
-import java.util.StringTokenizer;
-import java.util.zip.ZipEntry;
-import java.util.zip.ZipFile;
-import java.util.zip.ZipOutputStream;
-
-
-/**
- * A tool for performing operations on files.
- */
-public class FileTool {
- /**
- * A zip filter which is used to filter out unwanted entries
- * while extracting a zip file.
- *
- * @see FileTool#unzip(IZipFilter, ZipFile, File, Log)
- */
- public interface IZipFilter {
- /**
- * Returns a boolean indicating whether the entry with the
- * specified name should be extracted from the zip file.
- *
- * @param fullEntryName the full entry name; includes full
- * path segments for nested zip entries
- * @param entryName the partial entry name; only includes
- * path segments from the currect zip entry
- * @param depth a number greater than or equal to zero
- * which specifies the depth of the current nested zip
- * entry
- * @return a boolean indicating whether the entry with the
- * specified name should be extracted from the zip file
- */
- public boolean shouldExtract(String fullEntryName, String entryName, int depth);
- /**
- * Returns a boolean indicating whether the entry (which
- * is a zip/jar file) with the specified name should be
- * extracted from the zip file and then unzipped.
- *
- * @param fullEntryName the full entry name; includes full
- * path segments for nested zip entries
- * @param entryName the partial entry name; only includes
- * path segments from the currect zip entry
- * @param depth a number greater than or equal to zero
- * which specifies the depth of the current nested zip
- * entry
- * @return a boolean indicating whether the entry (which
- * is a zip/jar file) with the specified name should be
- * extracted from the zip file and then unzipped
- */
- public boolean shouldUnzip(String fullEntryName, String entryName, int depth);
- }
- /**
- * A buffer.
- */
- private static byte[] buffer = new byte[8192];
- /**
- * Returns the given file path with its separator
- * character changed from the given old separator to the
- * given new separator.
- *
- * @param path a file path
- * @param oldSeparator a path separator character
- * @param newSeparator a path separator character
- * @return the file path with its separator character
- * changed from the given old separator to the given new
- * separator
- */
- public static String changeSeparator(String path, char oldSeparator, char newSeparator){
- return path.replace(oldSeparator, newSeparator);
- }
- /**
- * Returns a boolean indicating whether the given files
- * have the same content.
- *
- * @param file1 the first file
- * @param file2 the second file
- * @return a boolean indicating whether the given files
- * have the same content
- */
- public static boolean compare(File file1, File file2) throws IOException {
- if(file1.length() != file2.length()){
- return false;
- }
- InputStream is1 = null;
- InputStream is2 = null;
- try {
- is1 = new BufferedInputStream(new FileInputStream(file1));
- is2 = new BufferedInputStream(new FileInputStream(file2));
- int a = 0;
- int b = 0;
- boolean same = true;
- while(same && a != -1 && b != -1){
- a = is1.read();
- b = is2.read();
- same = a == b;
- }
- return same;
- } finally {
- if(is2 != null){
- try {
- is2.close();
- } catch(IOException e){
- }
- }
- if(is1 != null){
- try {
- is1.close();
- } catch(IOException e){
- }
- }
- }
- }
- /**
- * Copies the given source file to the given destination file.
- *
- * @param src the given source file
- * @param dst the given destination file
- */
- public static void copy(File src, File dst) throws IOException {
- copy(src.getParentFile(), src, dst);
- }
- /**
- * Copies the given source file to the given destination file.
- *
- * @param root
- * @param src the given source file
- * @param dst the given destination file
- */
- public static void copy(File root, File src, File dst) throws IOException {
- if(src.isDirectory()){
- String[] children = src.list();
- for(int i = 0; i < children.length; ++i){
- File child = new File(src, children[i]);
- copy(root, child, dst);
- }
- } else {
- String rootString = root.toString();
- String srcString = src.toString();
- File dstFile = new File(dst, srcString.substring(rootString.length() + 1));
- transferData(src, dstFile);
- }
- }
- /**
- * Delete the given file or directory. Directories are
- * deleted recursively. If the file or directory can
- * not be deleted, a warning message is written to
- * stdout.
- *
- * @param file a file or directory
- */
- public static void delete(File file) {
- if(file.exists()){
- if(file.isDirectory()){
- String[] children = file.list();
- for(int i = 0; i < children.length; ++i) {
- File child = new File(file, children[i]);
- delete(child);
- }
- }
- if(!file.delete()){
- System.out.println("WARNING: could not delete " + file);
- }
-
- }
- }
- /**
- * Returns a new <code>File</code> from the given path
- * name segments.
- *
- * @param segments the given path name segments
- * @return a new <code>File</code> from the given path
- * name segments
- */
- public static File getFile(String[] segments) {
- File result = new File(segments[0]);
- for(int i = 1; i < segments.length; ++i){
- result = new File(result, segments[i]);
- }
- return result;
- }
- /**
- * Returns a list of all files below the given directory
- * that end with a string in the given include list and
- * do not end with a string in the given exclude list.
- * If include is <code>null</code> all files are included
- * except those that are explicitly excluded. If exclude
- * is <code>null</code> no files are excluded except those
- * that are not included.
- *
- * @param dir the given directory
- * @param include a list of filenames to include
- * @param exclude a list of filenames to exclude
- * @return a list of all files below the given directory
- * that are included and not explicitly excluded
- */
- public static File[] getFiles(File dir, String[] include, String[] exclude) {
- List list = new ArrayList();
- String[] children = dir.list();
- if(children == null){
- return new File[0];
- }
- for(int i = 0; i < children.length; ++i){
- File child = new File(dir, children[i]);
- String name = child.getName();
- if(child.isDirectory()){
- File[] result = getFiles(child, include, exclude);
- for(int j = 0; j < result.length; ++j){
- list.add(result[j]);
- }
- } else {
- boolean includeFile = include == null;
- if(include != null){
- for(int j = 0; j < include.length; ++j){
- if(name.endsWith(include[j])){
- includeFile = true;
- break;
- }
- }
- }
- boolean excludeFile = exclude != null;
- if(exclude != null){
- for(int j = 0; j < exclude.length; ++j){
- if(name.endsWith(exclude[j])){
- excludeFile = true;
- break;
- }
- }
- }
- if(includeFile && !excludeFile){
- list.add(child);
- }
- }
- }
- return (File[])list.toArray(new File[0]);
- }
- /**
- * Breaks the given file into its path name segments
- * and returns the result.
- *
- * @param file a file or directory
- * @return the path name segments of the given file
- */
- public static String[] getSegments(File file) {
- return getSegments(file.toString(), File.separatorChar);
- }
- /**
- * Breaks the given string into segments and returns the
- * result.
- *
- * @param s a string
- * @param separator the segment separator
- * @return the segments of the given string
- */
- public static String[] getSegments(String s, char separator){
- List result = new ArrayList();
- StringTokenizer tokenizer = new StringTokenizer(s, "" + separator);
- while(tokenizer.hasMoreTokens()){
- result.add(tokenizer.nextToken());
- }
- return (String[])result.toArray(new String[0]);
- }
- /**
- * Returns a vector of <code>File</code> paths parsed from
- * the given paths string.
- *
- * @param paths a paths string
- * @return a vector of <code>File</code> paths parsed from
- * the given paths string
- */
- public static File[] parsePaths(String paths){
- List result = new ArrayList();
- StringTokenizer tokenizer = new StringTokenizer(paths, ";");
- while(tokenizer.hasMoreTokens()){
- result.add(new File(tokenizer.nextToken()));
- }
- return (File[])result.toArray(new File[0]);
- }
- /**
- * Copies all bytes in the given source file to
- * the given destination file.
- *
- * @param source the given source file
- * @param destination the given destination file
- */
- public static void transferData(File source, File destination) throws IOException {
- destination.getParentFile().mkdirs();
- InputStream is = null;
- OutputStream os = null;
- try {
- is = new FileInputStream(source);
- os = new FileOutputStream(destination);
- transferData(is, os);
- } finally {
- if(os != null){
- try {
- os.close();
- } catch(IOException e){
- }
- }
- if(is != null){
- try {
- is.close();
- } catch(IOException e){
- }
- }
- }
- }
- /**
- * Copies all bytes in the given source stream to
- * the given destination stream. Neither streams
- * are closed.
- *
- * @param source the given source stream
- * @param destination the given destination stream
- */
- public static void transferData(InputStream source, OutputStream destination) throws IOException {
- int bytesRead = 0;
- while(bytesRead != -1){
- bytesRead = source.read(buffer, 0, buffer.length);
- if(bytesRead != -1){
- destination.write(buffer, 0, bytesRead);
- }
- }
- }
- /**
- * Unzips the given zip file to the given destination directory
- * extracting only those entries the pass through the given
- * filter.
- *
- * @param filter filters out unwanted zip entries
- * @param zipFile the zip file to unzip
- * @param dstDir the destination directory
- */
- public static void unzip(IZipFilter filter, ZipFile zipFile, File dstDir) throws IOException {
- unzip(filter, zipFile, dstDir, dstDir, 0);
- }
-
- private static void unzip(IZipFilter filter, ZipFile zipFile, File rootDstDir, File dstDir, int depth) throws IOException {
-
- Enumeration entries = zipFile.entries();
-
- try {
- while(entries.hasMoreElements()){
- ZipEntry entry = (ZipEntry)entries.nextElement();
- if(entry.isDirectory()){
- continue;
- }
- String entryName = entry.getName();
- File file = new File(dstDir, FileTool.changeSeparator(entryName, '/', File.separatorChar));
- String fullEntryName = FileTool.changeSeparator(file.toString().substring(rootDstDir.toString().length() + 1), File.separatorChar, '/');
- if(!(filter == null || filter.shouldExtract(fullEntryName, entryName, depth))){
- continue;
- }
- file.getParentFile().mkdirs();
- InputStream src = null;
- OutputStream dst = null;
- try {
- src = zipFile.getInputStream(entry);
- dst = new FileOutputStream(file);
- transferData(src, dst);
- } finally {
- if(dst != null){
- try {
- dst.close();
- } catch(IOException e){
- }
- }
- if(src != null){
- try {
- src.close();
- } catch(IOException e){
- }
- }
- }
- if((entryName.endsWith(".zip") || entryName.endsWith(".jar")) && (filter == null || filter.shouldUnzip(fullEntryName, entryName, depth))) {
- String fileName = file.getName();
- String dirName = fileName.substring(0, fileName.length() - 4) + "_" + fileName.substring(fileName.length() - 3);
- ZipFile innerZipFile = null;
- try {
- innerZipFile = new ZipFile(file);
- File innerDstDir = new File(file.getParentFile(), dirName);
- unzip(filter, innerZipFile, rootDstDir, innerDstDir, depth + 1);
- file.delete();
- } catch (IOException e) {
- if(innerZipFile != null){
- try {
- innerZipFile.close();
- } catch(IOException e2){
- }
- }
- System.out.println("Could not unzip: " + fileName + ". InnerZip = " + innerZipFile.getName() + ". Lenght: " + innerZipFile.getName().length());
- e.printStackTrace();
- }
-
- }
- }
- } finally {
- try {
- zipFile.close();
- } catch(IOException e){
- }
- }
- }
- /**
- * Zips the given directory to the given zip file.
- * Directories are zipped recursively. Inner zip files are
- * created for directories that end with "_zip" or "_jar".
- * If verbose is true, progress information is logged.
- *
- * @param dir the directory to zip
- * @param zipFile the resulting zip file
- * @param verbose a boolean indicating whether progress
- * information is logged
- */
- public static void zip(File dir, File zipFile) throws IOException {
- BufferedOutputStream bos = null;
- ZipOutputStream zos = null;
- try {
- bos = new BufferedOutputStream(new FileOutputStream(zipFile));
- zos = new ZipOutputStream(bos);
- zip(dir, dir, zos);
- } finally {
- if(zos == null){
- if(bos != null){
- try {
- bos.close();
- } catch(IOException e){
- }
- }
- } else {
- try {
- zos.close();
- } catch(IOException e){
- }
- }
- }
- }
- private static void zip(File root, File file, ZipOutputStream zos) throws IOException {
- if(file.isDirectory()){
- String name = file.getName();
- if(name.endsWith("_zip") || name.endsWith("_jar")){
- String rootString = root.toString();
- String fileString = file.toString();
- String zipEntryName = fileString.substring(rootString.length() + 1);
- int underscoreIndex = zipEntryName.lastIndexOf("_");
- zipEntryName = zipEntryName.substring(0, underscoreIndex) + "." + zipEntryName.substring(underscoreIndex + 1);
- ZipEntry zipEntry = new ZipEntry(changeSeparator(zipEntryName, File.separatorChar, '/'));
- zos.putNextEntry(zipEntry);
- ZipOutputStream zos2 = new ZipOutputStream(zos);
- String[] list = file.list();
- for(int i = 0; i < list.length; ++i){
- File item = new File(file, list[i]);
- zip(file, item, zos2);
- }
- zos2.finish();
- zos.closeEntry();
- } else {
- String[] list = file.list();
- for(int i = 0; i < list.length; ++i){
- File item = new File(file, list[i]);
- zip(root, item, zos);
- }
- }
- } else {
- String rootString = root.toString();
- String fileString = file.toString();
- String zipEntryName = fileString.substring(rootString.length() + 1);
- ZipEntry zipEntry = new ZipEntry(changeSeparator(zipEntryName, File.separatorChar, '/'));
- zos.putNextEntry(zipEntry);
- FileInputStream fos = null;
- try {
- fos = new FileInputStream(file);
- transferData(fos, zos);
- } finally {
- if(fos != null){
- try {
- fos.close();
- } catch(IOException e){
- }
- }
- }
- zos.closeEntry();
- }
- }
-}
diff --git a/bundles/org.eclipse.releng.tests/src/org/eclipse/releng/tests/perfms/UITest.java b/bundles/org.eclipse.releng.tests/src/org/eclipse/releng/tests/perfms/UITest.java
deleted file mode 100644
index 15817bc..0000000
--- a/bundles/org.eclipse.releng.tests/src/org/eclipse/releng/tests/perfms/UITest.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.releng.tests.perfms;
-import junit.framework.TestCase;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.ui.WorkbenchException;
-//import org.eclipse.perfmsr.core.PerfMsrCorePlugin;
-//import org.eclipse.perfmsr.core.Upload;
-
-public class UITest extends TestCase {
- public void runTest() {
- testPerfms();
- }
- protected void tearDown() {
- // Upload.Status status = PerfMsrCorePlugin.getPerformanceMonitor(true).upload(null);
- // System.out.println(status.message);
- }
- public void testPerfms() {
- /*
- * this test takes snapshots before (1) and after (2) opening the Java
- * Perspective. The delta between snapshots can be used to calculate the time required to open
- * the Java perspective. Disabled for now since the EclipseTestRunner is instrumented for performance
- * monitoring.
- */
- try {
- // PerfMsrCorePlugin.getPerformanceMonitor(true).snapshot(1);
- PlatformUI.getWorkbench().openWorkbenchWindow(
- "org.eclipse.jdt.ui.JavaPerspective", null);
- // PerfMsrCorePlugin.getPerformanceMonitor(true).snapshot(2);
- } catch (WorkbenchException e) {
- e.printStackTrace();
- }
- }
-}
diff --git a/bundles/org.eclipse.releng.tests/test.xml b/bundles/org.eclipse.releng.tests/test.xml
deleted file mode 100644
index 3d9de94..0000000
--- a/bundles/org.eclipse.releng.tests/test.xml
+++ /dev/null
@@ -1,53 +0,0 @@
-<?xml version="1.0"?>
-<project name="RelEng Automated Tests" default="run" basedir=".">
-
- <!-- The property ${eclipse-home} should be passed into this script -->
- <!-- sets the properties eclipse-home, and library-file -->
- <property name="eclipse-home" value="${basedir}/../../"/>
- <property name="library-file" value="${eclipse-home}/plugins/org.eclipse.test/library.xml"/>
- <property name="location" value="/builds/t"/>
- <property name="org.eclipse.releng.tests" value="org.eclipse.releng.tests_3.0.0" />
-
- <!-- This target holds all initialization code that needs to be done for -->
- <!-- all tests that are to be run. Initialization for individual tests -->
- <!-- should be done within the body of the suite target. -->
- <target name="init">
- <tstamp/>
- </target>
-
- <!-- This target holds code to cleanup the testing environment after the tests -->
- <!-- have been run. You can use this to delete temporary files that are created. -->
- <target name="cleanup">
- <delete dir="${location}" quiet="true"/>
- </target>
-
- <!-- This target runs the test suite. Any actions that need to happen after all -->
- <!-- the tests have been run should go here. -->
- <target name="run" depends="init,suite,cleanup">
- <ant target="collect" antfile="${library-file}" dir="${eclipse-home}">
- <property name="includes" value="org*.xml"/>
- <property name="output-file" value="org.eclipse.releng.tests.xml"/>
- </ant>
- </target>
-
- <target name="BuildTests" depends="init,cleanup" unless="performance">
- <ant target="core-test" antfile="${library-file}" dir="${eclipse-home}">
- <property name="data-dir" value="${location}"/>
- <property name="plugin-name" value="org.eclipse.releng.tests"/>
- <property name="classname" value="org.eclipse.releng.tests.BuildTests"/>
- <property name="plugin-path" value="${eclipse-home}/plugins/${org.eclipse.releng.tests}"/>
- </ant>
- </target>
-
- <target name="benchmark" depends="init,cleanup" if="performance">
- <ant target="ui-test" antfile="${library-file}" dir="${eclipse-home}">
- <property name="data-dir" value="performance"/>
- <property name="plugin-name" value="org.eclipse.releng.tests"/>
- <property name="classname" value="org.eclipse.releng.tests.perfms.UITest"/>
- <property name="plugin-path" value="${eclipse-home}/plugins/${org.eclipse.releng.tests}"/>
- </ant>
- </target>
-
- <!-- This target defines the tests that need to be run. -->
- <target name="suite" depends="benchmark,BuildTests"/>
- </project>
\ No newline at end of file
diff --git a/bundles/org.eclipse.releng.tools/.classpath b/bundles/org.eclipse.releng.tools/.classpath
deleted file mode 100644
index 065ac06..0000000
--- a/bundles/org.eclipse.releng.tools/.classpath
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/bundles/org.eclipse.releng.tools/.cvsignore b/bundles/org.eclipse.releng.tools/.cvsignore
deleted file mode 100644
index ba22c92..0000000
--- a/bundles/org.eclipse.releng.tools/.cvsignore
+++ /dev/null
@@ -1,6 +0,0 @@
-temp.folder
-build.xml
-tools.jar
-bin
-org.eclipse.releng.tools_*.zip
-toolssrc.zip
diff --git a/bundles/org.eclipse.releng.tools/.project b/bundles/org.eclipse.releng.tools/.project
deleted file mode 100644
index 30f243f..0000000
--- a/bundles/org.eclipse.releng.tools/.project
+++ /dev/null
@@ -1,43 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.releng.tools</name>
- <comment></comment>
- <projects>
- <project>org.eclipse.compare</project>
- <project>org.eclipse.core.boot</project>
- <project>org.eclipse.core.resources</project>
- <project>org.eclipse.core.runtime</project>
- <project>org.eclipse.core.runtime.compatibility</project>
- <project>org.eclipse.jface.text</project>
- <project>org.eclipse.team.core</project>
- <project>org.eclipse.team.cvs.core</project>
- <project>org.eclipse.team.cvs.ui</project>
- <project>org.eclipse.team.ui</project>
- <project>org.eclipse.ui</project>
- <project>org.eclipse.ui.editors</project>
- <project>org.eclipse.ui.ide</project>
- <project>org.eclipse.ui.views</project>
- <project>org.eclipse.ui.workbench.texteditor</project>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.PluginNature</nature>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
-</projectDescription>
diff --git a/bundles/org.eclipse.releng.tools/TestCases.doc b/bundles/org.eclipse.releng.tools/TestCases.doc
deleted file mode 100644
index de6cc64..0000000
--- a/bundles/org.eclipse.releng.tools/TestCases.doc
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.releng.tools/about.html b/bundles/org.eclipse.releng.tools/about.html
deleted file mode 100644
index 9db411a..0000000
--- a/bundles/org.eclipse.releng.tools/about.html
+++ /dev/null
@@ -1,30 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<html>
-<head>
-<title>About</title>
-<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
-</head>
-<body lang="EN-US">
-<h2>About This Content</h2>
-
-<p>20th June, 2002</p>
-<h3>License</h3>
-<p>Eclipse.org makes available all content in this plug-in ("Content"). Unless otherwise indicated below, the Content is provided to you under the terms and conditions of the
-Common Public License Version 1.0 ("CPL"). A copy of the CPL is available at <a href="http://www.eclipse.org/legal/cpl-v10.html">http://www.eclipse.org/legal/cpl-v10.html</a>.
-For purposes of the CPL, "Program" will mean the Content.</p>
-
-<h3>Contributions</h3>
-
-<p>If this Content is licensed to you under the terms and conditions of the CPL, any Contributions, as defined in the CPL, uploaded, submitted, or otherwise
-made available to Eclipse.org, members of Eclipse.org and/or the host of Eclipse.org web site, by you that relate to such
-Content are provided under the terms and conditions of the CPL and can be made available to others under the terms of the CPL.</p>
-
-<p>If this Content is licensed to you under license terms and conditions other than the CPL ("Other License"), any modifications, enhancements and/or
-other code and/or documentation ("Modifications") uploaded, submitted, or otherwise made available to Eclipse.org, members of Eclipse.org and/or the
-host of Eclipse.org, by you that relate to such Content are provided under terms and conditions of the Other License and can be made available
-to others under the terms of the Other License. In addition, with regard to Modifications for which you are the copyright holder, you are also
-providing the Modifications under the terms and conditions of the CPL and such Modifications can be made available to others under the terms of
-the CPL.</p>
-
-</body>
-</html>
\ No newline at end of file
diff --git a/bundles/org.eclipse.releng.tools/book.css b/bundles/org.eclipse.releng.tools/book.css
deleted file mode 100644
index 9278cd8..0000000
--- a/bundles/org.eclipse.releng.tools/book.css
+++ /dev/null
@@ -1,106 +0,0 @@
-P.Code {
- display: block;
- text-align: left;
- text-indent: 0.00pt;
- margin-top: 0.000000pt;
- margin-bottom: 0.000000pt;
- margin-right: 0.000000pt;
- margin-left: 15pt;
- font-size: 10.000000pt;
- font-weight: medium;
- font-style: Regular;
- color: #4444CC;
- text-decoration: none;
- vertical-align: baseline;
- text-transform: none;
- font-family: "Courier New";
-}
-H6.CaptionFigColumn {
- display: block;
- text-align: left;
- text-indent: 0.000000pt;
- margin-top: 3.000000pt;
- margin-bottom: 11.000000pt;
- margin-right: 0.000000pt;
- margin-left: 0.000000pt;
- font-size: 9.000000pt;
- font-weight: medium;
- font-style: Italic;
- color: #000000;
- text-decoration: none;
- vertical-align: baseline;
- text-transform: none;
- font-family: "Arial";
-}
-P.Note {
- display: block;
- text-align: left;
- text-indent: 0pt;
- margin-top: 19.500000pt;
- margin-bottom: 19.500000pt;
- margin-right: 0.000000pt;
- margin-left: 30pt;
- font-size: 11.000000pt;
- font-weight: medium;
- font-style: Italic;
- color: #000000;
- text-decoration: none;
- vertical-align: baseline;
- text-transform: none;
- font-family: "Arial";
-}
-EM.UILabel {
- font-weight: Bold;
- font-style: Regular;
- text-decoration: none;
- vertical-align: baseline;
- text-transform: none;
-}
-EM.CodeName {
- font-weight: Bold;
- font-style: Regular;
- text-decoration: none;
- vertical-align: baseline;
- text-transform: none;
- font-family:"Courier New";
-}
-
-
-
-
-/* following font face declarations need to be removed for DBCS */
-
-body, h1, h2, h3, h4, h5, h6, p, table, td, caption, th, ul, ol, dl, li, dd, dt {font-family: Arial, Helvetica, sans-serif; color: #000000}
-pre { font-family: Courier, monospace}
-
-/* end font face declarations */
-
-/* following font size declarations should be OK for DBCS */
-body, h1, h2, h3, h4, h5, h6, p, table, td, caption, th, ul, ol, dl, li, dd, dt {font-size: 10pt; }
-pre { font-size: 10pt}
-
-/* end font size declarations */
-
-body { background: #FFFFFF}
-h1 { font-size: 18pt; margin-top: 5; margin-bottom: 1 }
-h2 { font-size: 14pt; margin-top: 25; margin-bottom: 3 }
-h3 { font-size: 11pt; margin-top: 20; margin-bottom: 3 }
-h4 { font-size: 10pt; margin-top: 20; margin-bottom: 3; font-style: italic }
-p { margin-top: 10px; margin-bottom: 10px }
-pre { margin-left: 6; font-size: 9pt }
-a:link { color: #0000FF }
-a:hover { color: #000080 }
-a:visited { text-decoration: underline }
-ul { margin-top: 0; margin-bottom: 10 }
-li { margin-top: 0; margin-bottom: 0 }
-li p { margin-top: 0; margin-bottom: 0 }
-ol { margin-top: 0; margin-bottom: 10 }
-dl { margin-top: 0; margin-bottom: 10 }
-dt { margin-top: 0; margin-bottom: 0; font-weight: bold }
-dd { margin-top: 0; margin-bottom: 0 }
-strong { font-weight: bold}
-em { font-style: italic}
-var { font-style: italic}
-div.revision { border-left-style: solid; border-left-width: thin;
- border-left-color: #7B68EE; padding-left:5 }
-th { font-weight: bold }
diff --git a/bundles/org.eclipse.releng.tools/build.properties b/bundles/org.eclipse.releng.tools/build.properties
deleted file mode 100644
index dcf6148..0000000
--- a/bundles/org.eclipse.releng.tools/build.properties
+++ /dev/null
@@ -1,12 +0,0 @@
-###############################################################################
-# Copyright (c) 2000, 2004 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Common Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/cpl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-source.tools.jar = src/
-bin.includes=plugin.xml,*.jar,about.html,icons/,plugin.properties
diff --git a/bundles/org.eclipse.releng.tools/html/00001.html b/bundles/org.eclipse.releng.tools/html/00001.html
deleted file mode 100644
index 759af90..0000000
--- a/bundles/org.eclipse.releng.tools/html/00001.html
+++ /dev/null
@@ -1,25 +0,0 @@
-<html><head><title>No Map Project Exists</title>
-<LINK REL=STYLESHEET HREF=../book.css CHARSET=ISO-8859-1 TYPE=text/css>
-<meta NAME="keywords" content="">
-<meta NAME="since" content="">
-</head>
-<body>
-<h2>No Map Project Exists</h2>
-<p>Since: <br>
-Last Modified: $Date: 2004/03/23 19:11:08 $</p>
-<h3>Precondition:</h3>
-<ol>
- <li>There is no project1 in current workspace</li>
- <li>There is "no org.eclipse.org" in current workspace</li>
-</ol>
-<h3>Test Steps:</h3>
-<ol>
- <li>Create project "project1"</li>
- <li>Commit project1 to a CVS server</li>
- <li>Select project1 and release. </li>
-</ol>
-<h3>Expected Result:</h3>
-Error occurs indicating there is no map project
-
-
-</body></html>
diff --git a/bundles/org.eclipse.releng.tools/html/00002.html b/bundles/org.eclipse.releng.tools/html/00002.html
deleted file mode 100644
index 9f657b3..0000000
--- a/bundles/org.eclipse.releng.tools/html/00002.html
+++ /dev/null
@@ -1,11 +0,0 @@
-<html><head><title>Integrated Tests for Default Settings</title>
-<LINK REL=STYLESHEET HREF=../book.css CHARSET=ISO-8859-1 TYPE=text/css>
-<meta NAME="keywords" content="">
-<meta NAME="since" content="">
-</head><h2>Integrated Tests for Default Settings</h2>
-<p>Since: <br>
-Last Modified: $Date: 2004/03/23 19:11:08 $</p><body>
-
-Answer comes here.
-
-</body></html>
diff --git a/bundles/org.eclipse.releng.tools/html/00003.html b/bundles/org.eclipse.releng.tools/html/00003.html
deleted file mode 100644
index 9b613ac..0000000
--- a/bundles/org.eclipse.releng.tools/html/00003.html
+++ /dev/null
@@ -1,11 +0,0 @@
-<html><head><title>Integrated Tests for Variations</title>
-<LINK REL=STYLESHEET HREF=../book.css CHARSET=ISO-8859-1 TYPE=text/css>
-<meta NAME="keywords" content="">
-<meta NAME="since" content="">
-</head><h2>Integrated Tests for Variations</h2>
-<p>Since: <br>
-Last Modified: $Date: 2004/03/23 19:11:08 $</p><body>
-
-Answer comes here.
-
-</body></html>
diff --git a/bundles/org.eclipse.releng.tools/html/00004.html b/bundles/org.eclipse.releng.tools/html/00004.html
deleted file mode 100644
index 6b5ee96..0000000
--- a/bundles/org.eclipse.releng.tools/html/00004.html
+++ /dev/null
@@ -1,24 +0,0 @@
-<html><head><title>No Map File Exists</title>
-<LINK REL=STYLESHEET HREF=../book.css CHARSET=ISO-8859-1 TYPE=text/css>
-<meta NAME="keywords" content="">
-<meta NAME="since" content="">
-</head><h2>No Map File Exists</h2>
-<p>Since: <br>
-Last Modified: $Date: 2004/03/23 19:11:08 $</p><body>
-
-<h3>Precondition:</h3>
-<ol>
- <li>project1 exists and is committed</li>
- <li>"org.eclipse.org" exists</li>
- <li>No folder of "maps" under "org.eclipse.org"</li>
-</ol>
-<h3>Test Steps:</h3>
-<ol>
- <li>Create a "maps" folder under the map project</li>
- <li>Selected project1 and release</li>
-</ol>
-<h3>Expected Result: </h3>
-Error occurs indicating there is no valid map file or map entry
-
-
-</body></html>
diff --git a/bundles/org.eclipse.releng.tools/html/00005.html b/bundles/org.eclipse.releng.tools/html/00005.html
deleted file mode 100644
index b84b95d..0000000
--- a/bundles/org.eclipse.releng.tools/html/00005.html
+++ /dev/null
@@ -1,22 +0,0 @@
-<html><head><title>Empty Map Files</title>
-<LINK REL=STYLESHEET HREF=../book.css CHARSET=ISO-8859-1 TYPE=text/css>
-<meta NAME="keywords" content="">
-<meta NAME="since" content="">
-</head><h2>Empty Map Files</h2>
-<p>Since: <br>
-Last Modified: $Date: 2004/03/23 19:11:08 $</p><body>
-
-<h3>Precondition:</h3>
-<ol>
- <li>project1 exists and is committed</li>
- <li>"org.eclipse.org/maps" exists but empty</li>
-</ol>
-<h3>Test Steps:</h3>
- <li>Add map1.map under folder maps.</li>
- <li>Make sure the file is empty</li>
- <li>Selected project1 and release</li>
-<h3>Expected Result: </h3>
-Error occurs indicating there is no valid map file or map entry
-
-
-</body></html>
diff --git a/bundles/org.eclipse.releng.tools/html/00006.html b/bundles/org.eclipse.releng.tools/html/00006.html
deleted file mode 100644
index f2c4d6f..0000000
--- a/bundles/org.eclipse.releng.tools/html/00006.html
+++ /dev/null
@@ -1,25 +0,0 @@
-<html><head><title>Unshared Map Project</title>
-<LINK REL=STYLESHEET HREF=../book.css CHARSET=ISO-8859-1 TYPE=text/css>
-<meta NAME="keywords" content="">
-<meta NAME="since" content="">
-</head><h2>Unshared Map Project</h2>
-<p>Since: <br>
-Last Modified: $Date: 2004/03/23 19:11:08 $</p><body>
-
-<h3>Precondition:</h3>
-<ol>
- <li>project1 exists and is committed
- <li>map1.map file exists in "org.eclipse.org" but is empty
- <li>"org.eclipse.org" is not shared
-</ol>
-<h3>Test Steps:</h3>
-<ol>
- <li>Add plugin@project1=v404,:pserver:zliu@127.0.0.1:c:/cvsnt, to map1.map
- <li>Save map1.map
- <li>Selected project1 and release
-</ol>
-<h3>Expected Result:</h3>
- Error message of uncommitted map project appears.
-
-
-</body></html>
diff --git a/bundles/org.eclipse.releng.tools/html/00007.html b/bundles/org.eclipse.releng.tools/html/00007.html
deleted file mode 100644
index 76ba6aa..0000000
--- a/bundles/org.eclipse.releng.tools/html/00007.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html><head><title>Map Entries and CVS Module Name</title>
-<LINK REL=STYLESHEET HREF=../book.css CHARSET=ISO-8859-1 TYPE=text/css>
-<meta NAME="keywords" content="">
-<meta NAME="since" content="">
-</head><h2>Map Entries and CVS Module Name</h2>
-<p>Since: <br>
-Last Modified: $Date: 2004/03/23 19:11:08 $</p><body>
-
-<h3>Precondition:</h3>
-<ol>
- <li>project1, project2 exist in workspace</li>
- <li>project1 is committed as "project1"</li>
- <li>project2 is committed with a different CVS module name "p2"</li>
- <li>"org.eclipse.org" exists and shared</li>
- <li>map1.map exist under "org.eclipse.org/maps"</li>
-</ol>
-<h3>Test Steps:</h3>
-<ol>
- <li>Add map entries in map1.map "plugin@project1=v1,:pserver:zliu@127.0.0.1:c:/cvsnt," and "plugin@hahaha=v1,:pserver:zliu@127.0.0.1:c:/cvsnt,,p2"</li>
- <li>Select project1 and project 2 and release </li>
-</ol>
-<h3>Expected Result: </h3>
-<ol>
- <li>Release wizard starts up
- <li>project1 and project2 are shown and become selectable in Project Selection Page
-</ol>
-
-</body></html>
diff --git a/bundles/org.eclipse.releng.tools/html/00008.html b/bundles/org.eclipse.releng.tools/html/00008.html
deleted file mode 100644
index e7eafdd..0000000
--- a/bundles/org.eclipse.releng.tools/html/00008.html
+++ /dev/null
@@ -1,27 +0,0 @@
-<html><head><title>Map Entries Contain No-existing Projects</title>
-<LINK REL=STYLESHEET HREF=../book.css CHARSET=ISO-8859-1 TYPE=text/css>
-<meta NAME="keywords" content="">
-<meta NAME="since" content="">
-</head><h2>Map Entries Contain No-existing Projects</h2>
-<p>Since: <br>
-Last Modified: $Date: 2004/03/23 19:11:08 $</p><body>
-<h3>Precondition:</h3>
-<ol>
- <li>project1, project2 exist in workspace and committed</li>
- <li>"org.eclipse.org/maps" exists and committed</li>
- <li>map1.map exist under "org.eclipse.org/maps"</li>
- <li>project1 and project2 have valid entries in map1.map</li>
-</ol>
-<h3>Test Steps:</h3>
-<ol>
- <li>Add map entry in map1.map "plugin@project11=v1,:pserver:zliu@127.0.0.1:c:/cvsnt,"</li>
- <li>Add project9 and project 11 in workspace but don't share them</li>
- <li>Start release wizard</li>
-</ol>
-<h3>Expected Result: </h3>
-<ol>
- <li>Only project1 and project2 are shown in wizard page</li>
- <li>project9 and project11 are not shown</li>
-</ol>
-
-</body></html>
diff --git a/bundles/org.eclipse.releng.tools/html/00009.html b/bundles/org.eclipse.releng.tools/html/00009.html
deleted file mode 100644
index f882c5a..0000000
--- a/bundles/org.eclipse.releng.tools/html/00009.html
+++ /dev/null
@@ -1,30 +0,0 @@
-<html><head><title>Add/delete Map File</title>
-<LINK REL=STYLESHEET HREF=../book.css CHARSET=ISO-8859-1 TYPE=text/css>
-<meta NAME="keywords" content="">
-<meta NAME="since" content="">
-</head><h2>Add/delete Map File</h2>
-<p>Since: <br>
-Last Modified: $Date: 2004/03/23 19:11:08 $</p><body>
-<h3>Precondition:</h3>
-<ol>
- <li>project1 exist in workspace and committed</li>
- <li>"org.eclipse.org/maps" exists and committed</li>
- <li>map1.map exist under "org.eclipse.org/maps"</li>
- <li>project1 has valid entry in map1.map</li>
-</ol>
-<h3>Test Steps:</h3><ol>
- <li>Add map2.map in "org.eclipse.org/maps"</li>
- <li>Add map entry in map2.map "plugin@project3=v1,:pserver:zliu@127.0.0.1:c:/cvsnt," </li>
- <li>Save map2.map</li>
- <li>Commit map2.map</li>
- <li>Add project3 in workspace and commit it</li>
- <li>Start release wizard</li>
- <li>Cancel the wizard</li>
- <li>Delete map3.map</li>
- <li>Restart the wizard</li></ol>
-<h3>Expected Result: </h3><ol>
- <li>Step 6: map1.map and map2.map will show up. Project1 is showing under map1.map, project3 is showing under map2.map;</li>
- <li>Step 9: only map1.map and project1 are on the project selection page</li></ol>
-
-
-</body></html>
diff --git a/bundles/org.eclipse.releng.tools/html/00010.html b/bundles/org.eclipse.releng.tools/html/00010.html
deleted file mode 100644
index b810d71..0000000
--- a/bundles/org.eclipse.releng.tools/html/00010.html
+++ /dev/null
@@ -1,22 +0,0 @@
-<html><head><title>Tag Validation</title>
-<LINK REL=STYLESHEET HREF=../book.css CHARSET=ISO-8859-1 TYPE=text/css>
-<meta NAME="keywords" content="">
-<meta NAME="since" content="">
-</head><h2>Tag Validation</h2>
-<p>Since: <br>
-Last Modified: $Date: 2004/03/23 19:11:08 $</p><body>
-<h3>Precondition:</h3>
- Enter Tag page appears
-<h3>Test Steps:</h3>
-<ol>
- <li>Enter tag "1" in Enter Tag Page</li>
- <li>Check the error message on the page</li>
- <li>Re-enter tag "V2"</li>
-</ol>
-<h3>Expected Result:</h3>
-<ol>
- <li>Step1-2: Invalid tag error message appears. "Next" and "Finish" are disabled</li>
- <li>Step 4: Error message is gone. "Next" and "Finish" are enabled.</li>
-</ol>
-
-</body></html>
diff --git a/bundles/org.eclipse.releng.tools/html/00011.html b/bundles/org.eclipse.releng.tools/html/00011.html
deleted file mode 100644
index 1c82a7c..0000000
--- a/bundles/org.eclipse.releng.tools/html/00011.html
+++ /dev/null
@@ -1,35 +0,0 @@
-<html><head><title>Checkbox on Project Selection Page</title>
-<LINK REL=STYLESHEET HREF=../book.css CHARSET=ISO-8859-1 TYPE=text/css>
-<meta NAME="keywords" content="">
-<meta NAME="since" content="">
-</head><h2>Checkbox on Project Selection Page</h2>
-<p>Since: <br>
-Last Modified: $Date: 2004/03/23 19:11:08 $</p><body>
-
-<h3>Precondition:</h3>
-<ol>
- <li>Project 1 and project2 were release at once</li>
- <li>Project 1 and project 2 are synchronized with head</li>
-</ol>
-<h3>Test Steps:</h3>
-<ol>
- <li>Start wizard</li>
- <li>Check "Release only changed projects" </li>
- <li>Select project 1 and project 2 and release</li>
- <li>Click next</li>
- <li>Click back</li>
- <li>Uncheck "Release only changed projects"</li>
- <li>Click next</li>
- <li>Cancel the wizard</li>
- <li>Edit project1 and commit the change</li>
- <li>Start the wizard</li>
- <li>Check "Release only changed projects”</li>
- <li>Click next</li>
-</ol>
-<h3>Expected Result:</h3>
-<ol>
- <li>Step 4: Project Compare page will show no changed projects information. And "Next" and "Finish" buttons of Project Compare page are disabled</li>
- <li>Step 7: Enter Tag page appears</li>
- <li>Step 12: project1 is shown on the compare editor</li>
-</ol>
-</body></html>
diff --git a/bundles/org.eclipse.releng.tools/html/00012.html b/bundles/org.eclipse.releng.tools/html/00012.html
deleted file mode 100644
index 8d5f94e..0000000
--- a/bundles/org.eclipse.releng.tools/html/00012.html
+++ /dev/null
@@ -1,32 +0,0 @@
-<html><head><title>Outgoing Change Prompting Dialog</title>
-<LINK REL=STYLESHEET HREF=../book.css CHARSET=ISO-8859-1 TYPE=text/css>
-<meta NAME="keywords" content="">
-<meta NAME="since" content="">
-</head><h2>Outgoing Change Prompting Dialog</h2>
-<p>Since: <br>
-Last Modified: $Date: 2004/03/23 19:11:08 $</p><body>
-
-<h3>Precondition:</h3>
-project1 and project2 are committed
-<h3>Test Steps:</h3>
-<ol>
- <li>Edit project1 and save, but don't commit the change</li>
- <li>Edit projet2 and save, but don't commit the change</li>
- <li>Select project 1 and project 2 and release</li>
- <li>Check "Release only changed projects"</li>
- <li>Answer "Yes" to project1</li>
- <li>Answer "No" to project2</li>
- <li>Click back</li>
- <li>Check project2 again</li>
- <li>Answer "Yes To All"</li>
- <li>Click finish</li>
-</ol>
-<h3>Expected Result:</h3>
-<ol>
- <li>Step 6: project1 will be shown on Project Compare page</li>
- <li>Step 7: project1 is checked, project2 is unchecked</li>
- <li>Step 9: project1 and project2 will be shown</li>
- <li>Step 10: Project Validation dialog will show that project1 and project2 have difference</li>
-</ol>
-
-</body></html>
diff --git a/bundles/org.eclipse.releng.tools/html/00013.html b/bundles/org.eclipse.releng.tools/html/00013.html
deleted file mode 100644
index 18c21d3..0000000
--- a/bundles/org.eclipse.releng.tools/html/00013.html
+++ /dev/null
@@ -1,30 +0,0 @@
-<html><head><title>Project Compare Page</title>
-<LINK REL=STYLESHEET HREF=../book.css CHARSET=ISO-8859-1 TYPE=text/css>
-<meta NAME="keywords" content="">
-<meta NAME="since" content="">
-</head><h2>Project Compare Page</h2>
-<p>Since: <br>
-Last Modified: $Date: 2004/03/23 19:11:08 $</p><body>
-
-<h3>Precondition:</h3>
-<ol>
- <li>project1 has outgoing changes</li>
- <li>project1 has valid entry in map file</li>
- <li>"org.eclipse.org" is committed</li>
- <li>"Release only changed projects" is checked on Project Selection Page</li>
-</ol>
-<h3>Test Steps:</h3>
-<ol>
- <li>Start wizard</li>
- <li>Select project1 to release</li>
- <li>Click next</li>
- <li>Answer "yes" </li>
- <li>Double click project1 to open a compare editor</li>
-</ol>
-<h3>Expected Result:</h3>
-<ol>
- <li>Project1 appears on Project Compare page</li>
- <li>The compare editor shows the comparison same as project1 pop-up menuàCompare WithàReleased</li>
-</ol>
-
-</body></html>
diff --git a/bundles/org.eclipse.releng.tools/html/00014.html b/bundles/org.eclipse.releng.tools/html/00014.html
deleted file mode 100644
index 6d69d70..0000000
--- a/bundles/org.eclipse.releng.tools/html/00014.html
+++ /dev/null
@@ -1,35 +0,0 @@
-<html><head><title>Move Tag Option on Tag Page</title>
-<LINK REL=STYLESHEET HREF=../book.css CHARSET=ISO-8859-1 TYPE=text/css>
-<meta NAME="keywords" content="">
-<meta NAME="since" content="">
-</head><h2>Move Tag Option on Tag Page</h2>
-<p>Since: <br>
-Last Modified: $Date: 2004/03/23 19:11:08 $</p><body>
-<h3>Precondition:</h3>
-<ol>
- <li>project1 exists and is committed</li>
- <li>Project1 was released with tag "V2"</li>
- <li>project1 has valid entries in map1.map</li>
- <li>"org.eclipse.org" is committed</li>
-</ol>
-<h3>Test Steps:</h3>
-<ol>
- <li>Edit project1</li>
- <li>Commit the change</li>
- <li>Start Wizard</li>
- <li>Select project1</li>
- <li>Uncheck "Release only changed projects" on Project Selection page</li>
- <li>Enter "V2" on Tag page</li>
- <li>Uncheck "Move Tag if it already exists" on Tag page</li>
- <li>Click Finish</li>
- <li>Click back</li>
- <li>Check "Move Tag if it already exists" on Tag page</li>
- <li>Click finish</li>
-</ol>
-<h3>Expected Result:</h3>
-<ol>
- <li>Step 8: Error message says v1 already exists and cannot move</li>
- <li>Step 9: Release succeeds </li>
-</ol>
-
-</body></html>
diff --git a/bundles/org.eclipse.releng.tools/html/00015.html b/bundles/org.eclipse.releng.tools/html/00015.html
deleted file mode 100644
index c7a69c3..0000000
--- a/bundles/org.eclipse.releng.tools/html/00015.html
+++ /dev/null
@@ -1,27 +0,0 @@
-<html><head><title>Validate Option on Tag Page</title>
-<LINK REL=STYLESHEET HREF=../book.css CHARSET=ISO-8859-1 TYPE=text/css>
-<meta NAME="keywords" content="">
-<meta NAME="since" content="">
-</head><h2>Validate Option on Tag Page</h2>
-<p>Since: <br>
-Last Modified: $Date: 2004/03/23 19:11:08 $</p><body>
-
-<h3>Precondition:</h3>
-<ol>
- <li>project1 was released with tag v1 last time</li>
- <li>project1 is committed</li>
-</ol>
-<h3>Test Steps:</h3>
-<ol>
- <li>Edit project1 and save, donÂ’t commit</li>
- <li>Start wizard</li>
- <li>Select project 1 to release</li>
- <li>Enter v2 on tag page</li>
- <li>Check "validate release"</li>
- <li>Click finish</li>
-</ol>
-<h3>Expected Result:</h3>
-project1 will show up indicating it has difference
-
-
-</body></html>
diff --git a/bundles/org.eclipse.releng.tools/html/00016.html b/bundles/org.eclipse.releng.tools/html/00016.html
deleted file mode 100644
index d44b288..0000000
--- a/bundles/org.eclipse.releng.tools/html/00016.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<html><head><title>Show Map File Change Option on Tag page</title>
-<LINK REL=STYLESHEET HREF=../book.css CHARSET=ISO-8859-1 TYPE=text/css>
-<meta NAME="keywords" content="">
-<meta NAME="since" content="">
-</head><h2>Show Map File Change Option on Tag page</h2>
-<p>Since: <br>
-Last Modified: $Date: 2004/03/23 19:11:08 $</p><body>
-<h3>Precondition:</h3>
-<ol>
- <li>Project1 was released as v2 last time</li>
- <li>Project2 was released as v1 last time</li>
-</ol>
-<h3>Test Steps:</h3>
-<ol>
- <li>Start wizard</li>
- <li>Uncheck "Release only changed projects"</li>
- <li>Select project1 and project2</li>
- <li>Enter "v2" on Tag Page</li>
- <li>Check "Move tag if it already exists"</li>
- <li>Select "Show the map file change before committing"</li>
- <li>Click next</li>
- <li>Click back</li>
- <li>Modify the tag as "v3"</li>
- <li>Click finish</li>
-</ol>
-<h3>Expected Result:</h3>
-<ol>
- <li>Step 7: Map compare page will show the difference of entry associated with project2</li>
- <li>Step 9: Map compare page will show the difference of entries associated with both project1 and project2</li>
- <li>Step 10: Local tags of project1 and project2 are changed to v3, map project is committed and project1 and project2 are released sucessfully</li>
-</ol>
-
-</body></html>
diff --git a/bundles/org.eclipse.releng.tools/html/00017.html b/bundles/org.eclipse.releng.tools/html/00017.html
deleted file mode 100644
index d9e9926..0000000
--- a/bundles/org.eclipse.releng.tools/html/00017.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html><head><title>Commit Directly Option on Tag Page </title>
-<LINK REL=STYLESHEET HREF=../book.css CHARSET=ISO-8859-1 TYPE=text/css>
-<meta NAME="keywords" content="">
-<meta NAME="since" content="">
-</head><h2>Commit Directly Option on Tag Page </h2>
-<p>Since: <br>
-Last Modified: $Date: 2004/03/23 19:11:08 $</p><body>
-<h3>Precondition:</h3>
-Proejct1 was released as v2 last time
-<h3>Test Steps:</h3>
-<ol>
- <li>Start wizard</li>
- <li>Uncheck "Release only changed projects"</li>
- <li>Select project1</li>
- <li>Enter "v4" on Tag Page</li>
- <li>Check "Move tag if it already exists"</li>
- <li>Select "Commit the map files without showing changes"</li>
- <li>Click finish</li>
-</ol>
-<h3>Expected Result:</h3>
-<ol>
- <li>No map compare page shows up</li>
- <li>Local tag for project1 is changed to v3</li>
- <li>Map project is committed</li>
- <li>Project1 is released as v3 </li>
-</ol>
-
-</body></html>
diff --git a/bundles/org.eclipse.releng.tools/html/00018.html b/bundles/org.eclipse.releng.tools/html/00018.html
deleted file mode 100644
index a635bc3..0000000
--- a/bundles/org.eclipse.releng.tools/html/00018.html
+++ /dev/null
@@ -1,25 +0,0 @@
-<html><head><title>Commit Comment Page</title>
-<LINK REL=STYLESHEET HREF=../book.css CHARSET=ISO-8859-1 TYPE=text/css>
-<meta NAME="keywords" content="">
-<meta NAME="since" content="">
-</head><h2>Commit Comment Page</h2>
-<p>Since: <br>
-Last Modified: $Date: 2004/03/23 19:11:08 $</p><body>
-<h3>Precondition:</h3>
-Proejct1 was released as v2 last time
-<h3>Test Steps:</h3>
-<ol>
- <li>Start wizard</li>
- <li>Uncheck "Release only changed projects"</li>
- <li>Select project1</li>
- <li>Enter "v4" on Tag Page</li>
- <li>Check "Move tag if it already exists"</li>
- <li>Click Next</li>
- <li>Enter comment "test comment"</li>
- <li>Click finish</li>
-</ol>
-<h3>Expected Result:</h3>
-From map1.map pop-up menu->Team->Show In resource History, you will see the latest version of map1.map has comment “test comment”
-
-
-</body></html>
diff --git a/bundles/org.eclipse.releng.tools/html/00019.html b/bundles/org.eclipse.releng.tools/html/00019.html
deleted file mode 100644
index cba007e..0000000
--- a/bundles/org.eclipse.releng.tools/html/00019.html
+++ /dev/null
@@ -1,25 +0,0 @@
-<html><head><title>Map project has other type of files</title>
-<LINK REL=STYLESHEET HREF=../book.css CHARSET=ISO-8859-1 TYPE=text/css>
-<meta NAME="keywords" content="">
-<meta NAME="since" content="">
-</head><h2>Map project has other type of files</h2>
-<p>Since: <br>
-Last Modified: $Date: 2004/03/23 19:11:08 $</p><body>
-<h3>Precondition:</h3>
-<ol>
- <li>MapProject exists and map1.map exists</li>
- <li>Map project is committed</li>
-</ol>
-<h3>Test Steps:</h3>
-<ol>
- <li>Add a file "aaa.txt" in map folder</li>
- <li>Commit "aaa.txt"</li>
- <li>Add a file "bbb" in map folder</li>
- <li>Start Wizard</li>
-</ol>
-<h3>Expected Results:</h3>
-<ol>
- <li>map1.map, map2.map and map3.map are shown on wizard</li>
- <li>aaa.txt and bbb do not show up</li>
-</ol>
-</body></html>
diff --git a/bundles/org.eclipse.releng.tools/html/00020.html b/bundles/org.eclipse.releng.tools/html/00020.html
deleted file mode 100644
index a63227d..0000000
--- a/bundles/org.eclipse.releng.tools/html/00020.html
+++ /dev/null
@@ -1,17 +0,0 @@
-<html><head><title>About Default Settings</title>
-<LINK REL=STYLESHEET HREF=../book.css CHARSET=ISO-8859-1 TYPE=text/css>
-<meta NAME="keywords" content="">
-<meta NAME="since" content="">
-</head><h2>About Default Settings</h2>
-<p>Since: <br>
-Last Modified: $Date: 2004/03/23 19:11:08 $</p><body>
-
-The default setting means:
-<ol>
-<li>Uncheck “Release only the projects changed since last release” on project selection page</li>
-<li>Uncheck “Moving tag if it exists” on enter tag page</li>
-<li>Check “Validate release” on enter tag page, and </li>
-<li>Select Compare map files on enter tag page </li>
-</ol>
-
-</body></html>
diff --git a/bundles/org.eclipse.releng.tools/html/00021.html b/bundles/org.eclipse.releng.tools/html/00021.html
deleted file mode 100644
index 5416164..0000000
--- a/bundles/org.eclipse.releng.tools/html/00021.html
+++ /dev/null
@@ -1,46 +0,0 @@
-<html><head><title>All Projects Have No Outgoing Change </title>
-<LINK REL=STYLESHEET HREF=../book.css CHARSET=ISO-8859-1 TYPE=text/css>
-<meta NAME="keywords" content="">
-<meta NAME="since" content="">
-</head><h2>All Projects Have No Outgoing Change </h2>
-<p>Since: <br>
-Last Modified: $Date: 2004/03/23 19:11:08 $</p><body>
-
-<h3>Precondition:</h3>
-<ol>
- <li>Project1, project2 and project3 are committed</li>
- <li>Project1, project2 and project3 do not have outgoing changes</li>
- <li>Project1, project2 and project3 were released with tag “V2”</li>
- <li>Map project has map1.map, map2.map and map3.map</li>
- <li>Map project is committed</li>
- <li>The projects and entries have the mapping relation shown in table below</li>
-</ol>
-<h3>Test Steps:</h3>
-<ol>
- <li>Start wizard</li>
- <li>Select project1, project2 and project3</li>
- <li>Check "Release only the changed projects"</li>
- <li>Click next</li>
- <li>Click back</li>
- <li>Uncheck “Release only the changed projects”</li>
- <li>Click next</li>
- <li>Enter tag "v3"</li>
- <li>Make sure "Move tag if it already exists" unchecked</li>
- <li>Make sure "Validate release" checked</li>
- <li>Make sure "Show the map file change before committing"</li>
- <li>Click next</li>
- <li>Click next</li>
- <li>Comment as "Release unchanged projects—release anyway" </li>
- <li>Click finish</li>
-</ol>
-<h3>Expected Results:</h3>
-<ol>
- <li>Step 4: Project Compare dialog shows no-changed projects</li>
- <li>Step 5: Project Selection Page appears</li>
- <li>Step 7: Enter Tag page shows up</li>
- <li>Step 12: Compare Map Files page shows map1.map and map2.map have proposed changes. Double click map1.map, you will find the tag of project1 and project2 is v2 and the tag is proposed to become v3. Double click map2.map, you will see the tag of project3 is also proposed to become v3 from v2.</li>
- <li>Step 13: Commit Comment page shows up.</li>
- <li>Step 15: Wizard finishes. And (a) project1, project2 and project3 are tagged as v3 in local map files; (b) map project is committed; (c) No difference will be found by comparing local and repository map project; (d) No validation comparison dialog shows up; (e) Compare local and v3 in repository version, there should be no difference for all 3 projects</li>
-</ol>
-
-</body></html>
diff --git a/bundles/org.eclipse.releng.tools/html/00022.html b/bundles/org.eclipse.releng.tools/html/00022.html
deleted file mode 100644
index 3dacfe7..0000000
--- a/bundles/org.eclipse.releng.tools/html/00022.html
+++ /dev/null
@@ -1,39 +0,0 @@
-<html><head><title>All Projects Have Outgoing Changes</title>
-<LINK REL=STYLESHEET HREF=../book.css CHARSET=ISO-8859-1 TYPE=text/css>
-<meta NAME="keywords" content="">
-<meta NAME="since" content="">
-</head><h2>All Projects Have Outgoing Changes</h2>
-<p>Since: <br>
-Last Modified: $Date: 2004/03/23 19:11:08 $</p><body>
-
-<h3>Precondition:</h3>
-<ol>
- <li>Project1, project2 and project3 are committed</li>
- <li>Project1, project2 and project3 were released with tag "V3"</li>
- <li>Map project has map1.map, map2.map and map3.map</li>
- <li>Map project is committed</ol>
-<h3>Test Steps:</h3><ol>
- <li>Start wizard</li>
- <li>Check project1, project2 and project3</li>
- <li>Make sure "Release only the changed projects' unchecked</li>
- <li>Click next</li>
- <li>Answer yesToAll</li>
- <li>Enter tag "v4"</li>
- <li>Make sure "Move tag if it already exists" unchecked</li>
- <li>Make sure "Validate release" checked</li>
- <li>Make sure "Show me the proposed change then commit map file"</li>
- <li>Click next</li>
- <li>Click next</li>
- <li>Comment as "all have outgoing change —release anyway" </li>
- <li>Click finish</li>
- <li>Click ok</ol></li>
-<h3>Expected Results:</h3><ol>
- <li>Step 4: Message dialog appear to let user filter the projects to be released
- <li>Step 5: Enter tag page shows up
- <li>Step 9: Compare Tag Files page shows map1.map and map2.map have proposed changes
- <li>Step 13: Validation dialog shows project1, project2 and project3 all have changes between local and new released version.
- <li>Step 14: Wizard finishes. And (a) project1, project2 and project3 are tagged as v4 in local map files; (b) map project is committed; (c) No difference will be found by comparing local and repository map project; (d) Project1, project2 and project3 have differences when comparing local and v4 in repository version
-</ol>
-
-
-</body></html>
diff --git a/bundles/org.eclipse.releng.tools/html/00023.html b/bundles/org.eclipse.releng.tools/html/00023.html
deleted file mode 100644
index 7ca9009..0000000
--- a/bundles/org.eclipse.releng.tools/html/00023.html
+++ /dev/null
@@ -1,41 +0,0 @@
-<html><head><title>Some Projects Have Outgoing Changes</title>
-<LINK REL=STYLESHEET HREF=../book.css CHARSET=ISO-8859-1 TYPE=text/css>
-<meta NAME="keywords" content="">
-<meta NAME="since" content="">
-</head><h2>Some Projects Have Outgoing Changes</h2>
-<p>Since: <br>
-Last Modified: $Date: 2004/03/23 19:11:08 $</p><body>
-
-<h3>Precondition:</h3><ol>
-<li>Project1, project2 and project3 were released with tag "V4"</li>
-<li>Project1 and project2 have outgoing changes</li>
-<li>Project3 doesn't have outgoing changes</li>
-<li>Map project is committed</li>
-</ol>
-<h3>Test Steps:</h3><ol>
-<li>Start wizard</li>
-<li>Check project1, project2 and project3</li>
-<li>Make sure "Release only the changed projects" unchecked</li>
-<li>Click next</li>
-<li>Answer yes to project1</li>
-<li>Answer no to project2</li>
-<li>Enter tag "v5"</li>
-<li>Make sure "Move tag if it already exists" unchecked</li>
-<li>Make sure "Validate release" checked</li>
-<li>Make sure "Show me the proposed change then commit map file"</li>
-<li>Click next</li>
-<li>Click next</li>
-<li>Comment as "all have outgoing change —release some" </li>
-<li>Click finish</li>
-<li>Click ok</li>
-</ol>
-<h3>Expected Results:</h3><ol>
-<li>Step 4: Message dialog appear </li>
-<li>Step6: Enter Tag page shows up</li>
-<li>Step 11: Compare Tag Files page shows that map1.map and map2.map have proposed changes</li>
-<li>Step 14: Validation dialog shows that project1 has changes between local and new released version</li>
-<li>Step 16: Wizard finishes. And (a) project1 and project3 are tagged as v5 in local map files, project2 is still tagged as v4; (b) map project is committed; (c) No difference will be found by comparing local and repository map project; (d) Project1has differences when comparing local and v5 in repository version</li>
-</ol>
-
-
-</body></html>
diff --git a/bundles/org.eclipse.releng.tools/html/00024.html b/bundles/org.eclipse.releng.tools/html/00024.html
deleted file mode 100644
index 4dff789..0000000
--- a/bundles/org.eclipse.releng.tools/html/00024.html
+++ /dev/null
@@ -1,16 +0,0 @@
-<html><head><title>About Configuration Variations</title>
-<LINK REL=STYLESHEET HREF=../book.css CHARSET=ISO-8859-1 TYPE=text/css>
-<meta NAME="keywords" content="">
-<meta NAME="since" content="">
-</head><h2>About Configuration Variations</h2>
-<p>Since: <br>
-Last Modified: $Date: 2004/03/23 19:11:08 $</p><body>
-
-This section will capture some variations based on the default case. Three test cases are provided. And they will covers
-<ol>
-<li>"Release only the changed projects since last release" option is checked on project selection page</li>
-<li>"Move tag if exists" checked on enter tag page</li>
-<li>"Move tag if exists" unchecked</li>
-</ol>
-
-</body></html>
diff --git a/bundles/org.eclipse.releng.tools/html/00025.html b/bundles/org.eclipse.releng.tools/html/00025.html
deleted file mode 100644
index 45aff24..0000000
--- a/bundles/org.eclipse.releng.tools/html/00025.html
+++ /dev/null
@@ -1,42 +0,0 @@
-<html><head><title>All Projects Have Changes Since Last Release </title>
-<LINK REL=STYLESHEET HREF=../book.css CHARSET=ISO-8859-1 TYPE=text/css>
-<meta NAME="keywords" content="">
-<meta NAME="since" content="">
-</head><h2>All Projects Have Changes Since Last Release </h2>
-<p>Since: <br>
-Last Modified: $Date: 2004/03/23 19:11:08 $</p><body>
-
-<h3>Precondition:</h3>
-<ol>
-<li>Project1, project2 and project3 were released with tag "V5"</li>
-<li>Project1, project2 and project3 were modified and committed after V5 release</li>
-<li>Project1, project2 and project3 have no outgoing changes</li>
-<li>Map project is committed</li>
-</ol>
-<h3>Test Steps:</h3>
-<ol>
-<li>Start wizard</li>
-<li>Checked the three projects from release wizard</li>
-<li>Check "Release only the changed projects"</li>
-<li>Click next</li>
-<li>Click next</li>
-<li>Enter tag "v6"</li>
-<li>Make sure "Move tag if it already exists" unchecked</li>
-<li>Make sure "Validate change after release" checked</li>
-<li>Make sure "Show me the proposed change then commit map file"</li>
-<li>Click next</li>
-<li>Click next</li>
-<li>Comment as "release unchanged projects—release all" </li>
-<li>Click finish</li>
-</ol>
-<h3>Expected Results:</h3>
-<ol>
-<li>Step 4: Project Compare dialog shows project1, project2 and project3 all have been changed since last release
-<li>Step 5: Enter Tag page shows up
-<li>Step 10: Compare Map Files page shows map1.map and map2.map have proposed changes. Double click map1.map, you will find the tag of project1 and project2 is v5 and the tag is proposed to become v6. Double click map2.map, you will see the tag of project3 is also proposed to become v6 from v5.
-<li>Step 11: Commit Comment page shows up.
-<li>Step 13: Wizard finishes. And (a) project1, project2 and project3 are tagged as v6 in local map files; (b) map project is committed; (c) No difference will be found by comparing local and repository map project; (d) Compare local and v6 in repository version, there should be no difference for all 3 projects
-</ol>
-
-
-</body></html>
diff --git a/bundles/org.eclipse.releng.tools/html/00026.html b/bundles/org.eclipse.releng.tools/html/00026.html
deleted file mode 100644
index 5d2475b..0000000
--- a/bundles/org.eclipse.releng.tools/html/00026.html
+++ /dev/null
@@ -1,42 +0,0 @@
-<html><head><title>Some Projects Have Changes Since Last Release </title>
-<LINK REL=STYLESHEET HREF=../book.css CHARSET=ISO-8859-1 TYPE=text/css>
-<meta NAME="keywords" content="">
-<meta NAME="since" content="">
-</head><h2>Some Projects Have Changes Since Last Release </h2>
-<p>Since: <br>
-Last Modified: $Date: 2004/03/23 19:11:08 $</p><body>
-
-<h3>Precondition:</h3>
-<ol>
- <li>Project1, project2 and project3 were released with tag "V6"</li>
- <li>Project1 and project2 were modified after V6 release</li>
- <li>Project1 and project2 were committed and no outgoing changes</li>
- <li>Project3 has no change since release v6</li>
- <li>Map project is committed</li>
-</ol>
-<h3>Test Steps:</h3>
-<ol>
- <li>Start wizard</li>
- <li>Checked the three projects from release wizard</li>
- <li>Check "Tag and release only the changed projects"</li>
- <li>Click next</li>
- <li>Click next</li>
- <li>Enter tag "v7"</li>
- <li>Make sure "Move tag if it already exists" unchecked</li>
- <li>Make sure "Validate change after release" checked</li>
- <li>Make sure "Show me the proposed change then commit map file"</li>
- <li>Click next</li>
- <li>Click next</li>
- <li>Comment as "release unchanged projects—release all" </li>
- <li>Click finish</li>
-</ol>
-<h3>Expected Results:</h3>
-<ol>
- <li>Step 4: Project Compare dialog shows project1, project2 but not project 3
- <li>Step 5: Enter Tag page shows up
- <li>Step 10: Compare Map Files page shows map1.map has proposed changes. Double click map1.map, you will find the tag of project1 and project2 is v7 and the tag is proposed to become v6.
- <li>Step 11: Commit Comment page shows up.
- <li>Step 13: Wizard finishes. And (a) project1, project2 are tagged as v7 in local map files; project3 is still v6; (b) map project is committed; (c) No difference will be found by comparing local and repository map project; (d) Compare local and v7 in repository version, there should be no difference for project1 and project2
-</ol>
-
-</body></html>
diff --git a/bundles/org.eclipse.releng.tools/html/00027.html b/bundles/org.eclipse.releng.tools/html/00027.html
deleted file mode 100644
index c52f16b..0000000
--- a/bundles/org.eclipse.releng.tools/html/00027.html
+++ /dev/null
@@ -1,43 +0,0 @@
-<html><head><title>Move Tag Option Deselected / Selected</title>
-<LINK REL=STYLESHEET HREF=../book.css CHARSET=ISO-8859-1 TYPE=text/css>
-<meta NAME="keywords" content="">
-<meta NAME="since" content="">
-</head><h2>Move Tag Option Deselected / Selected</h2>
-<p>Since: <br>
-Last Modified: $Date: 2004/03/23 19:11:08 $</p><body>
-
-<h3>Precondition:</h3>
-<ol>
- <li>Project1, project2 and project3 were released with tag "v7"</li>
- <li>Project1 is modified and committed after been tagged as v7</li>
- <li>Project2 and project3 have no any change since been tagged as v7</li>
-</ol>
-<h3>Test Steps:</h3>
-<ol>
- <li>Start wizard</li>
- <li>Checked the three projects from release wizard</li>
- <li>Uncheck "Release only the changed projects"</li>
- <li>Click next</li>
- <li>Enter tag "v7"</li>
- <li>Make sure "Move tag if it already exists" unchecked</li>
- <li>Make sure "Validate change after release" checked</li>
- <li>Make sure "Show me the proposed change then commit map file"</li>
- <li>Click next</li>
- <li>Click next</li>
- <li>Comment as "release projects—move tag" </li>
- <li>Click finish</li>
- <li>Click back</li>
- <li>Check "Move tag if it already exists'</li>
- <li>Click finish</li>
-</ol>
-<h3>Expected Results:</h3>
-<ol>
- <li>Step4: Enter Tag page appears;</li>
- <li>Step9: Compare Map Files page no map file with difference</li>
- <li>Step10: Commit Comment page shows up</li>
- <li>Step12: Error message shows 2 projects successfully tagged and 1 fails </li>
- <li>Step 13: Go back to tag page</li>
- <li>Release successfully</li>
-</ol>
-
-</body></html>
diff --git a/bundles/org.eclipse.releng.tools/html/00028.html b/bundles/org.eclipse.releng.tools/html/00028.html
deleted file mode 100644
index bb5ad11..0000000
--- a/bundles/org.eclipse.releng.tools/html/00028.html
+++ /dev/null
@@ -1,11 +0,0 @@
-<html><head><title>Release Wizard</title>
-<LINK REL=STYLESHEET HREF=../book.css CHARSET=ISO-8859-1 TYPE=text/css>
-<meta NAME="keywords" content="">
-<meta NAME="since" content="">
-</head><h2>Release Wizard</h2>
-<p>Since: <br>
-Last Modified: $Date: 2004/03/23 19:11:08 $</p><body>
-
-Answer comes here.
-
-</body></html>
diff --git a/bundles/org.eclipse.releng.tools/html/00029.html b/bundles/org.eclipse.releng.tools/html/00029.html
deleted file mode 100644
index a48b2a4..0000000
--- a/bundles/org.eclipse.releng.tools/html/00029.html
+++ /dev/null
@@ -1,11 +0,0 @@
-<html><head><title>A</title>
-<LINK REL=STYLESHEET HREF=../book.css CHARSET=ISO-8859-1 TYPE=text/css>
-<meta NAME="keywords" content="">
-<meta NAME="since" content="">
-</head><h2>A</h2>
-<p>Since: <br>
-Last Modified: $Date: 2004/03/23 19:11:08 $</p><body>
-
-Answer comes here.
-
-</body></html>
diff --git a/bundles/org.eclipse.releng.tools/html/00030.html b/bundles/org.eclipse.releng.tools/html/00030.html
deleted file mode 100644
index 364f135..0000000
--- a/bundles/org.eclipse.releng.tools/html/00030.html
+++ /dev/null
@@ -1,11 +0,0 @@
-<html><head><title>Compare With Released</title>
-<LINK REL=STYLESHEET HREF=../book.css CHARSET=ISO-8859-1 TYPE=text/css>
-<meta NAME="keywords" content="">
-<meta NAME="since" content="">
-</head><h2>Compare With Released</h2>
-<p>Since: <br>
-Last Modified: $Date: 2004/03/23 19:11:08 $</p><body>
-
-Answer comes here.
-
-</body></html>
diff --git a/bundles/org.eclipse.releng.tools/html/00031.html b/bundles/org.eclipse.releng.tools/html/00031.html
deleted file mode 100644
index c591945..0000000
--- a/bundles/org.eclipse.releng.tools/html/00031.html
+++ /dev/null
@@ -1,11 +0,0 @@
-<html><head><title>Replace With Released</title>
-<LINK REL=STYLESHEET HREF=../book.css CHARSET=ISO-8859-1 TYPE=text/css>
-<meta NAME="keywords" content="">
-<meta NAME="since" content="">
-</head><h2>Replace With Released</h2>
-<p>Since: <br>
-Last Modified: $Date: 2004/03/23 19:11:08 $</p><body>
-
-Answer comes here.
-
-</body></html>
diff --git a/bundles/org.eclipse.releng.tools/html/00032.html b/bundles/org.eclipse.releng.tools/html/00032.html
deleted file mode 100644
index 5c06008..0000000
--- a/bundles/org.eclipse.releng.tools/html/00032.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<html><head><title>One Project Without Change</title>
-<LINK REL=STYLESHEET HREF=../book.css CHARSET=ISO-8859-1 TYPE=text/css>
-<meta NAME="keywords" content="">
-<meta NAME="since" content="">
-</head><h2>One Project Without Change</h2>
-<p>Since: <br>
-Last Modified: $Date: 2004/03/23 19:11:08 $</p><body>
-<h3>Test Steps:</h3>
-<ol>
- <li>Commit a project</li>
- <li>Release the project</li>
- <li>Make sure map file is updated and committed
- <li>Right click the project</li>
- <li>Click Compare With->Released</li>
-</ol>
-
-<h3>Expected Results:</h3>
-Team Refresh Complete dialog will show there is no change for this project
-</body></html>
diff --git a/bundles/org.eclipse.releng.tools/html/00033.html b/bundles/org.eclipse.releng.tools/html/00033.html
deleted file mode 100644
index 4f2150e..0000000
--- a/bundles/org.eclipse.releng.tools/html/00033.html
+++ /dev/null
@@ -1,40 +0,0 @@
-<html><head><title>One Project With Changes</title>
-<LINK REL=STYLESHEET HREF=../book.css CHARSET=ISO-8859-1 TYPE=text/css>
-<meta NAME="keywords" content="">
-<meta NAME="since" content="">
-</head><h2>One Project With Changes</h2>
-<p>Since: <br>
-Last Modified: $Date: 2004/03/23 19:11:08 $</p><body>
-<h3>Test Steps:</h3>
-<ol>
- <li>Create a project</li>
- <li>Add a file to the project</li>
- <li>Commit a project</li>
- <li>Add a map entry in a map file for the project</li>
- <li>Release the project</li>
- <li>Make sure map file is updated and committed
- <li>Right click the project</li>
- <li>Click Compare With->Released</li>
- <li>Ensure there isno change</li>
- <li>Edit the file in the project and save the change</li>
- <li>Add a new file to the project</li>
- <li>Add a new folder to the project</li>
- <li>Optionally commit the changes</li>
- <li>Right click the project</li>
- <li>Click Compare With->Released</li>
- <li>Ensure there are 3 changes</li>
- <li>Release the project again</li>
- <li>Delete a file</li>
- <li>Delete the folder</li>
- <li>Optionally commit the changes</li>
- <li>Right click the project</li>
- <li>Click Compare With->Released</li>
- <li>Ensure there are two chagnes</li>
-</ol>
-<h3>Bug Found</h3>
-The new added empty folder is not found by the compare.
-Note that the change will be found if the new added folder is not empty.
-Also noticed that I tried to commit the change after a new empty folder was
-added, but the commit failed to check in this folder. Because of this above,
-deleteion of a released empty folder can not be tested so far.
-</body></html>
diff --git a/bundles/org.eclipse.releng.tools/html/00034.html b/bundles/org.eclipse.releng.tools/html/00034.html
deleted file mode 100644
index fcd30d8..0000000
--- a/bundles/org.eclipse.releng.tools/html/00034.html
+++ /dev/null
@@ -1,22 +0,0 @@
-<html><head><title>One Project With Outgoing Addition</title>
-<LINK REL=STYLESHEET HREF=../book.css CHARSET=ISO-8859-1 TYPE=text/css>
-<meta NAME="keywords" content="">
-<meta NAME="since" content="">
-</head><h2>One Project With Outgoing Addition</h2>
-<p>Since: <br>
-Last Modified: $Date: 2004/03/23 19:11:08 $</p><body>
-
-<h3>Test Steps:</h3>
-<ol>
- <li>Commit a project</li>
- <li>Release the project</li>
- <li>Make sure map file is updated and committed
- <li>Add a file to the project
- <li>Right click the project</li>
- <li>Click Compare With->Released</li>
-</ol>
-
-<h3>Expected Results:</h3>
-Team Refresh Complete dialog will show there is a new change for this project
-
-</body></html>
diff --git a/bundles/org.eclipse.releng.tools/html/00035.html b/bundles/org.eclipse.releng.tools/html/00035.html
deleted file mode 100644
index 5ada208..0000000
--- a/bundles/org.eclipse.releng.tools/html/00035.html
+++ /dev/null
@@ -1,20 +0,0 @@
-<html><head><title>Multiple Projects Without Change</title>
-<LINK REL=STYLESHEET HREF=../book.css CHARSET=ISO-8859-1 TYPE=text/css>
-<meta NAME="keywords" content="">
-<meta NAME="since" content="">
-</head><h2>Multiple Projects Without Change</h2>
-<p>Since: <br>
-Last Modified: $Date: 2004/03/23 19:11:08 $</p><body>
-<h3>Test Steps:</h3>
-<ol>
- <li>Commit two project</li>
- <li>Release the two projects</li>
- <li>Make sure map file is updated and committed
- <li>Selected the two projects</li>
- <li>Click Compare With->Released</li>
-</ol>
-
-<h3>Expected Results:</h3>
-Team Refresh Complete dialog will show there is no change for the two projects
-
-</body></html>
diff --git a/bundles/org.eclipse.releng.tools/html/00036.html b/bundles/org.eclipse.releng.tools/html/00036.html
deleted file mode 100644
index 7dd4421..0000000
--- a/bundles/org.eclipse.releng.tools/html/00036.html
+++ /dev/null
@@ -1,27 +0,0 @@
-<html><head><title>Multiple Projects With Outgoing Changes</title>
-<LINK REL=STYLESHEET HREF=../book.css CHARSET=ISO-8859-1 TYPE=text/css>
-<meta NAME="keywords" content="">
-<meta NAME="since" content="">
-</head><h2>Multiple Projects With Outgoing Changes</h2>
-<p>Since: <br>
-Last Modified: $Date: 2004/03/23 19:11:08 $</p><body>
-<h3>Test Steps:</h3>
-<ol>
- <li>Add one file to each of two projects</li>
- <li>Commit these two project</li>
- <li>Release the two projects</li>
- <li>Make sure map file is updated and committed</li>
- <li>Selected the two projects</li>
- <li>Click Compare With->Released</li>
- <li>Ensure there is no change</li>
- <li>Edit the two files and save</li>
- <li>Add a file to 1st project</li>
- <li>Add a folder to 2nd project</li>
- <li>Add a file to the folder</li>
- <li>Optionally, commit the two projects
- <li>Selected the two projects</li>
- <li>Click Compare With->Released</li>
- <li>Ensure there are two changs for each of the projects</li>
-</ol>
-
-</body></html>
diff --git a/bundles/org.eclipse.releng.tools/html/00037.html b/bundles/org.eclipse.releng.tools/html/00037.html
deleted file mode 100644
index 1f40964..0000000
--- a/bundles/org.eclipse.releng.tools/html/00037.html
+++ /dev/null
@@ -1,22 +0,0 @@
-<html><head><title>Compare a File</title>
-<LINK REL=STYLESHEET HREF=../book.css CHARSET=ISO-8859-1 TYPE=text/css>
-<meta NAME="keywords" content="">
-<meta NAME="since" content="">
-</head><h2>Compare a File</h2>
-<p>Since: <br>
-Last Modified: $Date: 2004/03/23 19:11:08 $</p><body>
-<h3>Test Steps:</h3>
-<ol>
- <li>Select one released project</li>
- <li>Right click one of its file</li>
- <li>Click Compare With</li>
- <li>Ensure there is no change</li>
- <li>Edit the file and save</li>
- <li>Right click and compare the file again</li>
- <li>Ensure there is a change</li>
-</ol>
-
-<h3>Bug Found:</h3>
-Released menu bar is disabled and cannot perform compare with released
-
-</body></html>
diff --git a/bundles/org.eclipse.releng.tools/html/00038.html b/bundles/org.eclipse.releng.tools/html/00038.html
deleted file mode 100644
index 68b27cb..0000000
--- a/bundles/org.eclipse.releng.tools/html/00038.html
+++ /dev/null
@@ -1,23 +0,0 @@
-<html><head><title>Compare A Folder</title>
-<LINK REL=STYLESHEET HREF=../book.css CHARSET=ISO-8859-1 TYPE=text/css>
-<meta NAME="keywords" content="">
-<meta NAME="since" content="">
-</head><h2>Compare A Folder</h2>
-<p>Since: <br>
-Last Modified: $Date: 2004/03/23 19:11:08 $</p><body>
-
-<h3>Test Steps:</h3>
-<ol>
- <li>Select one released project</li>
- <li>Right click one of its folder</li>
- <li>Click Compare With</li>
- <li>Ensure there is no change</li>
- <li>Add a file to the folder</li>
- <li>Right click and compare the folder again</li>
- <li>Ensure there is a change</li>
-</ol>
-
-<h3>Bug Found:</h3>
-Released menu bar is disabled and cannot perform compare with released
-
-</body></html>
diff --git a/bundles/org.eclipse.releng.tools/html/00039.html b/bundles/org.eclipse.releng.tools/html/00039.html
deleted file mode 100644
index b3a7069..0000000
--- a/bundles/org.eclipse.releng.tools/html/00039.html
+++ /dev/null
@@ -1,24 +0,0 @@
-<html><head><title>One project With Outgoing Change</title>
-<LINK REL=STYLESHEET HREF=../book.css CHARSET=ISO-8859-1 TYPE=text/css>
-<meta NAME="keywords" content="">
-<meta NAME="since" content="">
-</head><h2>One project With Outgoing Change</h2>
-<p>Since: <br>
-Last Modified: $Date: 2004/03/23 19:11:08 $</p><body>
-
-<h3>Test Steps:</h3>
-<ol>
- <li>Commit a project</li>
- <li>Release the project</li>
- <li>Make sure map file is updated and committed
- <li>Eidt a file in the project and save it</li>
- <li>Right click the project</li>
- <li>Click Repleace With->Released</li>
-</ol>
-
-<h3>Expected Results:</h3>
-<ol>
-<li>Confirm Overwrite message dialog shows up</li>
-<li>Local project is replaced with the released one if answer "Yes"</li>
-</ol>
-</body></html>
diff --git a/bundles/org.eclipse.releng.tools/html/00040.html b/bundles/org.eclipse.releng.tools/html/00040.html
deleted file mode 100644
index b18d9da..0000000
--- a/bundles/org.eclipse.releng.tools/html/00040.html
+++ /dev/null
@@ -1,23 +0,0 @@
-<html><head><title>One Project With Outgoing Deletion</title>
-<LINK REL=STYLESHEET HREF=../book.css CHARSET=ISO-8859-1 TYPE=text/css>
-<meta NAME="keywords" content="">
-<meta NAME="since" content="">
-</head><h2>One Project With Outgoing Deletion</h2>
-<p>Since: <br>
-Last Modified: $Date: 2004/03/23 19:11:08 $</p><body>
-
-<h3>Test Steps:</h3>
-<ol>
- <li>Add a file a project</li>
- <li>Commit the project</li>
- <li>Release the project</li>
- <li>Make sure map file is updated and committed
- <li>Delete the file from the project
- <li>Right click the project</li>
- <li>Click Compare With->Released</li>
-</ol>
-
-<h3>Expected Results:</h3>
-Team Refresh Complete dialog will show there is a new change for this project
-
-</body></html>
diff --git a/bundles/org.eclipse.releng.tools/html/00041.html b/bundles/org.eclipse.releng.tools/html/00041.html
deleted file mode 100644
index 4b44800..0000000
--- a/bundles/org.eclipse.releng.tools/html/00041.html
+++ /dev/null
@@ -1,25 +0,0 @@
-<html><head><title>One Project With Outgoing Addtion</title>
-<LINK REL=STYLESHEET HREF=../book.css CHARSET=ISO-8859-1 TYPE=text/css>
-<meta NAME="keywords" content="">
-<meta NAME="since" content="">
-</head><h2>One Project With Outgoing Addtion</h2>
-<p>Since: <br>
-Last Modified: $Date: 2004/03/23 19:11:08 $</p><body>
-
-<h3>Test Steps:</h3>
-<ol>
- <li>Commit a project</li>
- <li>Release the project</li>
- <li>Make sure map file is updated and committed
- <li>Add a file to the project
- <li>Right click the project</li>
- <li>Click Replace With->Released</li>
-</ol>
-
-<h3>Expected Results:</h3>
-<ol>
-<li>Confirm Overwrite message dialog shows up</li>
-<li>Local project is replaced with the released one if answer "Yes"</li>
-</ol>
-
-</body></html>
diff --git a/bundles/org.eclipse.releng.tools/html/00042.html b/bundles/org.eclipse.releng.tools/html/00042.html
deleted file mode 100644
index b964607..0000000
--- a/bundles/org.eclipse.releng.tools/html/00042.html
+++ /dev/null
@@ -1,25 +0,0 @@
-<html><head><title>One Project With Outgoing Deletion</title>
-<LINK REL=STYLESHEET HREF=../book.css CHARSET=ISO-8859-1 TYPE=text/css>
-<meta NAME="keywords" content="">
-<meta NAME="since" content="">
-</head><h2>One Project With Outgoing Deletion</h2>
-<p>Since: <br>
-Last Modified: $Date: 2004/03/23 19:11:08 $</p><body>
-
-<h3>Test Steps:</h3>
-<ol>
- <li>Add a file a project</li>
- <li>Commit the project</li>
- <li>Release the project</li>
- <li>Make sure map file is updated and committed
- <li>Delete the file from the project
- <li>Right click the project</li>
- <li>Click Replace With->Released</li>
-</ol>
-
-<h3>Expected Results:</h3>
-<ol>
-<li>Confirm Overwrite message dialog shows up</li>
-<li>Local project is replaced with the released one if answer "Yes"</li>
-</ol>
-</body></html>
diff --git a/bundles/org.eclipse.releng.tools/html/00043.html b/bundles/org.eclipse.releng.tools/html/00043.html
deleted file mode 100644
index 523f44a..0000000
--- a/bundles/org.eclipse.releng.tools/html/00043.html
+++ /dev/null
@@ -1,20 +0,0 @@
-<html><head><title>One Project Without Change</title>
-<LINK REL=STYLESHEET HREF=../book.css CHARSET=ISO-8859-1 TYPE=text/css>
-<meta NAME="keywords" content="">
-<meta NAME="since" content="">
-</head><h2>One Project Without Change</h2>
-<p>Since: <br>
-Last Modified: $Date: 2004/03/23 19:11:08 $</p><body>
-<h3>Test Steps:</h3>
-<ol>
- <li>Commit a project</li>
- <li>Release the project</li>
- <li>Make sure map file is updated and committed
- <li>Right click the project</li>
- <li>Click Replace With->Released</li>
-</ol>
-
-<h3>Expected Results:</h3>
-Nothing of the project changed locally
-
-</body></html>
diff --git a/bundles/org.eclipse.releng.tools/html/00044.html b/bundles/org.eclipse.releng.tools/html/00044.html
deleted file mode 100644
index 88031c9..0000000
--- a/bundles/org.eclipse.releng.tools/html/00044.html
+++ /dev/null
@@ -1,26 +0,0 @@
-<html><head><title>Multiple Projects</title>
-<LINK REL=STYLESHEET HREF=../book.css CHARSET=ISO-8859-1 TYPE=text/css>
-<meta NAME="keywords" content="">
-<meta NAME="since" content="">
-</head><h2>Multiple Projects</h2>
-<p>Since: <br>
-Last Modified: $Date: 2004/03/23 19:11:08 $</p><body>
-<h3>Test Steps:</h3>
-<ol>
- <li>Commit four projects</li>
- <li>Release all the projects</li>
- <li>Make sure map file is updated and committed</li>
- <li>Editting the first project and save</li>
- <li>Add a file to the 2nd project</li>
- <li>Delete a file from the 3rd project</li>
- <li>Selecte the four projects</li>
- <li>Click Replace With->Released</li>
-</ol>
-
-<h3>Expected Results:</h3>
-<ol>
-<li>confirm Overwrite dialog will show up</li>
-<li>The 1st, 2nd and 3rd projects are replaced if answer "Yes"</li>
-<li>The 4th project has not been changed</li>
-</ol>
-</body></html>
diff --git a/bundles/org.eclipse.releng.tools/html/00045.html b/bundles/org.eclipse.releng.tools/html/00045.html
deleted file mode 100644
index 4cf6e5d..0000000
--- a/bundles/org.eclipse.releng.tools/html/00045.html
+++ /dev/null
@@ -1,20 +0,0 @@
-<html><head><title>Replace A File</title>
-<LINK REL=STYLESHEET HREF=../book.css CHARSET=ISO-8859-1 TYPE=text/css>
-<meta NAME="keywords" content="">
-<meta NAME="since" content="">
-</head><h2>Replace A File</h2>
-<p>Since: <br>
-Last Modified: $Date: 2004/03/23 19:11:08 $</p><body>
-<h3>Test Steps:</h3>
-<ol>
- <li>Select one released project</li>
- <li>Edit one of its file and save</li>
- <li>Right click the file</li>
- <li>Click Replace With</li>
- <li>Ensure replaced</li>
-</ol>
-
-<h3>Bug Found:</h3>
-Released menu bar is disabled and cannot perform replace with released
-
-</body></html>
diff --git a/bundles/org.eclipse.releng.tools/html/00046.html b/bundles/org.eclipse.releng.tools/html/00046.html
deleted file mode 100644
index fe59999..0000000
--- a/bundles/org.eclipse.releng.tools/html/00046.html
+++ /dev/null
@@ -1,20 +0,0 @@
-<html><head><title>Replace A Folder</title>
-<LINK REL=STYLESHEET HREF=../book.css CHARSET=ISO-8859-1 TYPE=text/css>
-<meta NAME="keywords" content="">
-<meta NAME="since" content="">
-</head><h2>Replace A Folder</h2>
-<p>Since: <br>
-Last Modified: $Date: 2004/03/23 19:11:08 $</p><body>
-<h3>Test Steps:</h3>
-<ol>
- <li>Select one released project</li>
- <li>Add a file to one of its folder</li>
- <li>Right click the folder</li>
- <li>Click Replace With</li>
- <li>Ensure the folder is replaced</li>
-</ol>
-
-<h3>Bug Found:</h3>
-Released menu bar is disabled and cannot perform replace with released
-
-</body></html>
diff --git a/bundles/org.eclipse.releng.tools/html/00047.html b/bundles/org.eclipse.releng.tools/html/00047.html
deleted file mode 100644
index 1f13295..0000000
--- a/bundles/org.eclipse.releng.tools/html/00047.html
+++ /dev/null
@@ -1,11 +0,0 @@
-<html><head><title>Load Map Projects</title>
-<LINK REL=STYLESHEET HREF=../book.css CHARSET=ISO-8859-1 TYPE=text/css>
-<meta NAME="keywords" content="">
-<meta NAME="since" content="">
-</head><h2>Load Map Projects</h2>
-<p>Since: <br>
-Last Modified: $Date: 2004/03/23 19:11:08 $</p><body>
-
-Answer comes here.
-
-</body></html>
diff --git a/bundles/org.eclipse.releng.tools/html/00048.html b/bundles/org.eclipse.releng.tools/html/00048.html
deleted file mode 100644
index efe8a60..0000000
--- a/bundles/org.eclipse.releng.tools/html/00048.html
+++ /dev/null
@@ -1,11 +0,0 @@
-<html><head><title>Local Has The Latest Map</title>
-<LINK REL=STYLESHEET HREF=../book.css CHARSET=ISO-8859-1 TYPE=text/css>
-<meta NAME="keywords" content="">
-<meta NAME="since" content="">
-</head><h2>Local Has The Latest Map</h2>
-<p>Since: <br>
-Last Modified: $Date: 2004/03/23 19:11:08 $</p><body>
-
-Answer comes here.
-
-</body></html>
diff --git a/bundles/org.eclipse.releng.tools/html/00049.html b/bundles/org.eclipse.releng.tools/html/00049.html
deleted file mode 100644
index 155a870..0000000
--- a/bundles/org.eclipse.releng.tools/html/00049.html
+++ /dev/null
@@ -1,11 +0,0 @@
-<html><head><title>Local Has An Old Map</title>
-<LINK REL=STYLESHEET HREF=../book.css CHARSET=ISO-8859-1 TYPE=text/css>
-<meta NAME="keywords" content="">
-<meta NAME="since" content="">
-</head><h2>Local Has An Old Map</h2>
-<p>Since: <br>
-Last Modified: $Date: 2004/03/23 19:11:08 $</p><body>
-
-Answer comes here.
-
-</body></html>
diff --git a/bundles/org.eclipse.releng.tools/html/00050.html b/bundles/org.eclipse.releng.tools/html/00050.html
deleted file mode 100644
index 96b48ab..0000000
--- a/bundles/org.eclipse.releng.tools/html/00050.html
+++ /dev/null
@@ -1,11 +0,0 @@
-<html><head><title>Project Has A Module Name</title>
-<LINK REL=STYLESHEET HREF=../book.css CHARSET=ISO-8859-1 TYPE=text/css>
-<meta NAME="keywords" content="">
-<meta NAME="since" content="">
-</head><h2>Project Has A Module Name</h2>
-<p>Since: <br>
-Last Modified: $Date: 2004/03/23 19:11:08 $</p><body>
-
-Answer comes here.
-
-</body></html>
diff --git a/bundles/org.eclipse.releng.tools/html/00051.html b/bundles/org.eclipse.releng.tools/html/00051.html
deleted file mode 100644
index d0a2009..0000000
--- a/bundles/org.eclipse.releng.tools/html/00051.html
+++ /dev/null
@@ -1,11 +0,0 @@
-<html><head><title></title>
-<LINK REL=STYLESHEET HREF=../book.css CHARSET=ISO-8859-1 TYPE=text/css>
-<meta NAME="keywords" content="">
-<meta NAME="since" content="">
-</head><h2></h2>
-<p>Since: <br>
-Last Modified: $Date: 2004/03/23 19:11:08 $</p><body>
-
-Answer comes here.
-
-</body></html>
diff --git a/bundles/org.eclipse.releng.tools/html/00052.html b/bundles/org.eclipse.releng.tools/html/00052.html
deleted file mode 100644
index 85f9441..0000000
--- a/bundles/org.eclipse.releng.tools/html/00052.html
+++ /dev/null
@@ -1,11 +0,0 @@
-<html><head><title>Project Exist Locally</title>
-<LINK REL=STYLESHEET HREF=../book.css CHARSET=ISO-8859-1 TYPE=text/css>
-<meta NAME="keywords" content="">
-<meta NAME="since" content="">
-</head><h2>Project Exist Locally</h2>
-<p>Since: <br>
-Last Modified: $Date: 2004/03/23 19:11:08 $</p><body>
-
-Answer comes here.
-
-</body></html>
diff --git a/bundles/org.eclipse.releng.tools/html/00053.html b/bundles/org.eclipse.releng.tools/html/00053.html
deleted file mode 100644
index 1217f51..0000000
--- a/bundles/org.eclipse.releng.tools/html/00053.html
+++ /dev/null
@@ -1,24 +0,0 @@
-<html><head><title>Project Does Not Exist Locally</title>
-<LINK REL=STYLESHEET HREF=../book.css CHARSET=ISO-8859-1 TYPE=text/css>
-<meta NAME="keywords" content="">
-<meta NAME="since" content="">
-</head><h2>Project Does Not Exist Locally</h2>
-<p>Since: <br>
-Last Modified: $Date: 2004/03/23 19:11:08 $</p><body>
-<h3>Test Steps:</h3>
-<ol>
- <li>Select one released project</li>
- <li>Make sure there is a corresponding map entry for this project</li>
- <li>Delete the project locally</li>
- <li>Right the map file having the entry</li>
- <li>Click Team->Load Map Projects</li>
-</ol>
-
-<h3>Expected Results:</h3>
-<ol>
-<li>The project is added to the workspace</li>
-<li>A tag name appears to the right side of the project name</li>
-<li>The tag is same as the tag for this project in the map file</li>
-</ol>
-
-</body></html>
diff --git a/bundles/org.eclipse.releng.tools/html/00054.html b/bundles/org.eclipse.releng.tools/html/00054.html
deleted file mode 100644
index 6bb6bec..0000000
--- a/bundles/org.eclipse.releng.tools/html/00054.html
+++ /dev/null
@@ -1,23 +0,0 @@
-<html><head><title>Map File Contains Unexisting Project</title>
-<LINK REL=STYLESHEET HREF=../book.css CHARSET=ISO-8859-1 TYPE=text/css>
-<meta NAME="keywords" content="">
-<meta NAME="since" content="">
-</head><h2>Map File Contains Unexisting Project</h2>
-<p>Since: <br>
-Last Modified: $Date: 2004/03/23 19:11:08 $</p><body>
-<h3>Test Steps:</h3>
-<ol>
- <li>Select a map file</li>
- <li>Add an entry line which refers to an unexisting project</li>
- <li>Save the map file</li>
- <li>Right click the map file having the entry</li>
- <li>Click Team->Load Map Projects</li>
-</ol>
-
-<h3>Expected Results:</h3>
-<ol>
-<li>Error occured for the unexisting project and the project is ignored</li>
-<li>Only valid project is loaded</li>
-</ol>
-
-</body></html>
diff --git a/bundles/org.eclipse.releng.tools/html/00055.html b/bundles/org.eclipse.releng.tools/html/00055.html
deleted file mode 100644
index 3397e75..0000000
--- a/bundles/org.eclipse.releng.tools/html/00055.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<html><head><title>Select Multiple Map Files to Load</title>
-<LINK REL=STYLESHEET HREF=../book.css CHARSET=ISO-8859-1 TYPE=text/css>
-<meta NAME="keywords" content="">
-<meta NAME="since" content="">
-</head><h2>Select Multiple Map Files to Load</h2>
-<p>Since: <br>
-Last Modified: $Date: 2004/03/23 19:11:08 $</p><body>
-
-<h3>Test Steps:</h3>
-<ol>
- <li>Select two map files</li>
- <li>Right click the map file having the entry</li>
- <li>Click Team->Load Map Projects</li>
-</ol>
-
-<h3>Expected Results:</h3>
-All projects are loaded
-
-</body></html>
diff --git a/bundles/org.eclipse.releng.tools/html/00056.html b/bundles/org.eclipse.releng.tools/html/00056.html
deleted file mode 100644
index e3254f6..0000000
--- a/bundles/org.eclipse.releng.tools/html/00056.html
+++ /dev/null
@@ -1,21 +0,0 @@
-<html><head><title>Map File Cotains Unexisting Tag</title>
-<LINK REL=STYLESHEET HREF=../book.css CHARSET=ISO-8859-1 TYPE=text/css>
-<meta NAME="keywords" content="">
-<meta NAME="since" content="">
-</head><h2>Map File Cotains Unexisting Tag</h2>
-<p>Since: <br>
-Last Modified: $Date: 2004/03/23 19:11:08 $</p><body>
-
-<h3>Test Steps:</h3>
-<ol>
- <li>Select a map file</li>
- <li>Add an entry line which refers to an existing project but change its tag to a never used one</li>
- <li>Save the map file</li>
- <li>Right click the map file having the entry</li>
- <li>Click Team->Load Map Projects</li>
-</ol>
-
-<h3>Expected Results:</h3>
-Error occured: No such tag
-
-</body></html>
diff --git a/bundles/org.eclipse.releng.tools/html/00057.html b/bundles/org.eclipse.releng.tools/html/00057.html
deleted file mode 100644
index e3368be..0000000
--- a/bundles/org.eclipse.releng.tools/html/00057.html
+++ /dev/null
@@ -1,24 +0,0 @@
-<html><head><title>Project Does Not Exist In Local WorkSpace</title>
-<LINK REL=STYLESHEET HREF=../book.css CHARSET=ISO-8859-1 TYPE=text/css>
-<meta NAME="keywords" content="">
-<meta NAME="since" content="">
-</head><h2>Project Does Not Exist In Local WorkSpace</h2>
-<p>Since: <br>
-Last Modified: $Date: 2004/03/23 19:11:08 $</p><body>
-<h3>Test Steps:</h3>
-<ol>
- <li>Select one released project</li>
- <li>Make sure there is a corresponding map entry for this project</li>
- <li>Delete the project locally</li>
- <li>Right click the map file having the entry</li>
- <li>Click Team->Load Map Projects</li>
-</ol>
-
-<h3>Expected Results:</h3>
-<ol>
-<li>The project is added to the workspace</li>
-<li>A tag name appears to the right side of the project name</li>
-<li>The tag is same as the tag for this project in the map file</li>
-</ol>
-
-</body></html>
diff --git a/bundles/org.eclipse.releng.tools/html/00058.html b/bundles/org.eclipse.releng.tools/html/00058.html
deleted file mode 100644
index 3c1e96e..0000000
--- a/bundles/org.eclipse.releng.tools/html/00058.html
+++ /dev/null
@@ -1,23 +0,0 @@
-<html><head><title>Project Exists in Local WorkSpace</title>
-<LINK REL=STYLESHEET HREF=../book.css CHARSET=ISO-8859-1 TYPE=text/css>
-<meta NAME="keywords" content="">
-<meta NAME="since" content="">
-</head><h2>Project Exists in Local WorkSpace</h2>
-<p>Since: <br>
-Last Modified: $Date: 2004/03/23 19:11:08 $</p><body>
-<h3>Test Steps:</h3>
-<ol>
- <li>Select one released project</li>
- <li>Make sure there is a corresponding map entry for this project</li>
- <li>Right click the map file having the entry</li>
- <li>Click Team->Load Map Projects</li>
-</ol>
-
-<h3>Expected Results:</h3>
-<ol>
-<li>A dialog popped out to remind that the project exists locally</li>
-<li>The local project will be overwritten if answer "Yes"</li>
-<li>The local project will have no change if answer "No" file</li>
-</ol>
-
-</body></html>
diff --git a/bundles/org.eclipse.releng.tools/html/00059.html b/bundles/org.eclipse.releng.tools/html/00059.html
deleted file mode 100644
index 720388e..0000000
--- a/bundles/org.eclipse.releng.tools/html/00059.html
+++ /dev/null
@@ -1,25 +0,0 @@
-<html><head><title>Map Contains A Older Tag Name</title>
-<LINK REL=STYLESHEET HREF=../book.css CHARSET=ISO-8859-1 TYPE=text/css>
-<meta NAME="keywords" content="">
-<meta NAME="since" content="">
-</head><h2>Map Contains A Older Tag Name</h2>
-<p>Since: <br>
-Last Modified: $Date: 2004/03/23 19:11:08 $</p><body>
-<h3>Test Steps:</h3>
-<ol>
- <li>Select one project release it as tag1</li>
- <li>Release it again with tag2</li>
- <li>Change the project's local tag in the map file to tag1</li>
- <li>Save the map file</li>
- <li>Right click the map file having the entry</li>
- <li>Click Team->Load Map Projects</li>
-</ol>
-
-<h3>Expected Results:</h3>
-<ol>
-<li>A dialog popped out to remind that the project exists locally</li>
-<li>The local project will be overwritten by the version tagged with tag1 if answer "Yes"</li>
-<li>The local project will have no change if answer "No" file</li>
-</ol>
-
-</body></html>
diff --git a/bundles/org.eclipse.releng.tools/html/00060.html b/bundles/org.eclipse.releng.tools/html/00060.html
deleted file mode 100644
index 9ca9d07..0000000
--- a/bundles/org.eclipse.releng.tools/html/00060.html
+++ /dev/null
@@ -1,24 +0,0 @@
-<html><head><title>Project Using CVS Module Name</title>
-<LINK REL=STYLESHEET HREF=../book.css CHARSET=ISO-8859-1 TYPE=text/css>
-<meta NAME="keywords" content="">
-<meta NAME="since" content="">
-</head><h2>Project Using CVS Module Name</h2>
-<p>Since: <br>
-Last Modified: $Date: 2004/03/23 19:11:08 $</p><body>
-<h3>Test Steps:</h3>
-<ol>
- <li>Create a project</li>
- <li>Commit it with CVS Module name different than local project name</li>
- <li>Add an entry line which refers to the project</li>
- <li>Save the map file</li>
- <li>Release the project</li>
- <li>Delete the project from local</li>
- <li>Right click the map file having the entry</li>
- <li>Click Team->Load Map Projects</li>
-</ol>
-
-<h3>Expected Results:</h3>
-The project is loaded as its CVS module name
-
-
-</body></html>
diff --git a/bundles/org.eclipse.releng.tools/html/00061.html b/bundles/org.eclipse.releng.tools/html/00061.html
deleted file mode 100644
index 72bf7cc..0000000
--- a/bundles/org.eclipse.releng.tools/html/00061.html
+++ /dev/null
@@ -1,11 +0,0 @@
-<html><head><title>One Project Case</title>
-<LINK REL=STYLESHEET HREF=../book.css CHARSET=ISO-8859-1 TYPE=text/css>
-<meta NAME="keywords" content="">
-<meta NAME="since" content="">
-</head><h2>One Project Case</h2>
-<p>Since: <br>
-Last Modified: $Date: 2004/03/23 19:11:08 $</p><body>
-
-Answer comes here.
-
-</body></html>
diff --git a/bundles/org.eclipse.releng.tools/html/00062.html b/bundles/org.eclipse.releng.tools/html/00062.html
deleted file mode 100644
index e4e76ef..0000000
--- a/bundles/org.eclipse.releng.tools/html/00062.html
+++ /dev/null
@@ -1,11 +0,0 @@
-<html><head><title>Multiple Projects Case</title>
-<LINK REL=STYLESHEET HREF=../book.css CHARSET=ISO-8859-1 TYPE=text/css>
-<meta NAME="keywords" content="">
-<meta NAME="since" content="">
-</head><h2>Multiple Projects Case</h2>
-<p>Since: <br>
-Last Modified: $Date: 2004/03/23 19:11:08 $</p><body>
-
-Answer comes here.
-
-</body></html>
diff --git a/bundles/org.eclipse.releng.tools/html/00063.html b/bundles/org.eclipse.releng.tools/html/00063.html
deleted file mode 100644
index d1846e7..0000000
--- a/bundles/org.eclipse.releng.tools/html/00063.html
+++ /dev/null
@@ -1,11 +0,0 @@
-<html><head><title>Compare File Or Folder</title>
-<LINK REL=STYLESHEET HREF=../book.css CHARSET=ISO-8859-1 TYPE=text/css>
-<meta NAME="keywords" content="">
-<meta NAME="since" content="">
-</head><h2>Compare File Or Folder</h2>
-<p>Since: <br>
-Last Modified: $Date: 2004/03/23 19:11:08 $</p><body>
-
-Answer comes here.
-
-</body></html>
diff --git a/bundles/org.eclipse.releng.tools/html/00064.html b/bundles/org.eclipse.releng.tools/html/00064.html
deleted file mode 100644
index 817ee4a..0000000
--- a/bundles/org.eclipse.releng.tools/html/00064.html
+++ /dev/null
@@ -1,11 +0,0 @@
-<html><head><title>Replace One Project</title>
-<LINK REL=STYLESHEET HREF=../book.css CHARSET=ISO-8859-1 TYPE=text/css>
-<meta NAME="keywords" content="">
-<meta NAME="since" content="">
-</head><h2>Replace One Project</h2>
-<p>Since: <br>
-Last Modified: $Date: 2004/03/23 19:11:08 $</p><body>
-
-Answer comes here.
-
-</body></html>
diff --git a/bundles/org.eclipse.releng.tools/html/00065.html b/bundles/org.eclipse.releng.tools/html/00065.html
deleted file mode 100644
index 4f360e9..0000000
--- a/bundles/org.eclipse.releng.tools/html/00065.html
+++ /dev/null
@@ -1,11 +0,0 @@
-<html><head><title>Replace Multiple Projects</title>
-<LINK REL=STYLESHEET HREF=../book.css CHARSET=ISO-8859-1 TYPE=text/css>
-<meta NAME="keywords" content="">
-<meta NAME="since" content="">
-</head><h2>Replace Multiple Projects</h2>
-<p>Since: <br>
-Last Modified: $Date: 2004/03/23 19:11:08 $</p><body>
-
-Answer comes here.
-
-</body></html>
diff --git a/bundles/org.eclipse.releng.tools/html/00066.html b/bundles/org.eclipse.releng.tools/html/00066.html
deleted file mode 100644
index d7cca5f..0000000
--- a/bundles/org.eclipse.releng.tools/html/00066.html
+++ /dev/null
@@ -1,11 +0,0 @@
-<html><head><title>Replace A File Or A Folder</title>
-<LINK REL=STYLESHEET HREF=../book.css CHARSET=ISO-8859-1 TYPE=text/css>
-<meta NAME="keywords" content="">
-<meta NAME="since" content="">
-</head><h2>Replace A File Or A Folder</h2>
-<p>Since: <br>
-Last Modified: $Date: 2004/03/23 19:11:08 $</p><body>
-
-Answer comes here.
-
-</body></html>
diff --git a/bundles/org.eclipse.releng.tools/html/00067.html b/bundles/org.eclipse.releng.tools/html/00067.html
deleted file mode 100644
index 7c75d4e..0000000
--- a/bundles/org.eclipse.releng.tools/html/00067.html
+++ /dev/null
@@ -1,11 +0,0 @@
-<html><head><title>Single Map File And Valid Entries</title>
-<LINK REL=STYLESHEET HREF=../book.css CHARSET=ISO-8859-1 TYPE=text/css>
-<meta NAME="keywords" content="">
-<meta NAME="since" content="">
-</head><h2>Single Map File And Valid Entries</h2>
-<p>Since: <br>
-Last Modified: $Date: 2004/03/23 19:11:08 $</p><body>
-
-Answer comes here.
-
-</body></html>
diff --git a/bundles/org.eclipse.releng.tools/html/00068.html b/bundles/org.eclipse.releng.tools/html/00068.html
deleted file mode 100644
index febf127..0000000
--- a/bundles/org.eclipse.releng.tools/html/00068.html
+++ /dev/null
@@ -1,11 +0,0 @@
-<html><head><title>Single Map File And Invalid Entries</title>
-<LINK REL=STYLESHEET HREF=../book.css CHARSET=ISO-8859-1 TYPE=text/css>
-<meta NAME="keywords" content="">
-<meta NAME="since" content="">
-</head><h2>Single Map File And Invalid Entries</h2>
-<p>Since: <br>
-Last Modified: $Date: 2004/03/23 19:11:08 $</p><body>
-
-Answer comes here.
-
-</body></html>
diff --git a/bundles/org.eclipse.releng.tools/html/00069.html b/bundles/org.eclipse.releng.tools/html/00069.html
deleted file mode 100644
index aa5d92a..0000000
--- a/bundles/org.eclipse.releng.tools/html/00069.html
+++ /dev/null
@@ -1,11 +0,0 @@
-<html><head><title>Multiple Map Files</title>
-<LINK REL=STYLESHEET HREF=../book.css CHARSET=ISO-8859-1 TYPE=text/css>
-<meta NAME="keywords" content="">
-<meta NAME="since" content="">
-</head><h2>Multiple Map Files</h2>
-<p>Since: <br>
-Last Modified: $Date: 2004/03/23 19:11:08 $</p><body>
-
-Answer comes here.
-
-</body></html>
diff --git a/bundles/org.eclipse.releng.tools/html/00070.html b/bundles/org.eclipse.releng.tools/html/00070.html
deleted file mode 100644
index d809676..0000000
--- a/bundles/org.eclipse.releng.tools/html/00070.html
+++ /dev/null
@@ -1,11 +0,0 @@
-<html><head><title>PreCondition Test</title>
-<LINK REL=STYLESHEET HREF=../book.css CHARSET=ISO-8859-1 TYPE=text/css>
-<meta NAME="keywords" content="">
-<meta NAME="since" content="">
-</head><h2>PreCondition Test</h2>
-<p>Since: <br>
-Last Modified: $Date: 2004/03/23 19:11:08 $</p><body>
-
-Answer comes here.
-
-</body></html>
diff --git a/bundles/org.eclipse.releng.tools/html/00071.html b/bundles/org.eclipse.releng.tools/html/00071.html
deleted file mode 100644
index d482eb5..0000000
--- a/bundles/org.eclipse.releng.tools/html/00071.html
+++ /dev/null
@@ -1,11 +0,0 @@
-<html><head><title>Individual Wizard Page And Options Test</title>
-<LINK REL=STYLESHEET HREF=../book.css CHARSET=ISO-8859-1 TYPE=text/css>
-<meta NAME="keywords" content="">
-<meta NAME="since" content="">
-</head><h2>Individual Wizard Page And Options Test</h2>
-<p>Since: <br>
-Last Modified: $Date: 2004/03/23 19:11:08 $</p><body>
-
-Answer comes here.
-
-</body></html>
diff --git a/bundles/org.eclipse.releng.tools/html/00072.html b/bundles/org.eclipse.releng.tools/html/00072.html
deleted file mode 100644
index 24efedd..0000000
--- a/bundles/org.eclipse.releng.tools/html/00072.html
+++ /dev/null
@@ -1,11 +0,0 @@
-<html><head><title>Map Files And Map Entries</title>
-<LINK REL=STYLESHEET HREF=../book.css CHARSET=ISO-8859-1 TYPE=text/css>
-<meta NAME="keywords" content="">
-<meta NAME="since" content="">
-</head><h2>Map Files And Map Entries</h2>
-<p>Since: <br>
-Last Modified: $Date: 2004/03/23 19:11:08 $</p><body>
-
-Answer comes here.
-
-</body></html>
diff --git a/bundles/org.eclipse.releng.tools/html/00073.html b/bundles/org.eclipse.releng.tools/html/00073.html
deleted file mode 100644
index 828b160..0000000
--- a/bundles/org.eclipse.releng.tools/html/00073.html
+++ /dev/null
@@ -1,11 +0,0 @@
-<html><head><title>Tag Validation</title>
-<LINK REL=STYLESHEET HREF=../book.css CHARSET=ISO-8859-1 TYPE=text/css>
-<meta NAME="keywords" content="">
-<meta NAME="since" content="">
-</head><h2>Tag Validation</h2>
-<p>Since: <br>
-Last Modified: $Date: 2004/03/23 19:11:08 $</p><body>
-
-Answer comes here.
-
-</body></html>
diff --git a/bundles/org.eclipse.releng.tools/icons/full/clcl16/release_action.gif b/bundles/org.eclipse.releng.tools/icons/full/clcl16/release_action.gif
deleted file mode 100644
index 665c4e7..0000000
--- a/bundles/org.eclipse.releng.tools/icons/full/clcl16/release_action.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.releng.tools/plugin.properties b/bundles/org.eclipse.releng.tools/plugin.properties
deleted file mode 100644
index a3f0895..0000000
--- a/bundles/org.eclipse.releng.tools/plugin.properties
+++ /dev/null
@@ -1,14 +0,0 @@
-###############################################################################
-# Copyright (c) 2003, 2004 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Common Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/cpl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-RelEng=RelEng Tools
-RelEngActionSet.description=RelEng Tool Action Set
-RelEngActionSet.Release=Releasing...
-RelEngActionSet.tooltip=Release Projects
diff --git a/bundles/org.eclipse.releng.tools/plugin.xml b/bundles/org.eclipse.releng.tools/plugin.xml
deleted file mode 100644
index f0c544c..0000000
--- a/bundles/org.eclipse.releng.tools/plugin.xml
+++ /dev/null
@@ -1,114 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.0"?>
-<plugin
- id="org.eclipse.releng.tools"
- name="RelEng Plug-in"
- version="3.0.4"
- provider-name="Eclipse.org"
- class="org.eclipse.releng.tools.RelEngPlugin">
-
- <runtime>
- <library name="tools.jar"/>
- </runtime>
- <requires>
- <import plugin="org.eclipse.ui.ide" optional="true"/>
- <import plugin="org.eclipse.ui.views" optional="true"/>
- <import plugin="org.eclipse.jface.text" optional="true"/>
- <import plugin="org.eclipse.ui.workbench.texteditor" optional="true"/>
- <import plugin="org.eclipse.ui.editors" optional="true"/>
- <import plugin="org.eclipse.core.resources"/>
- <import plugin="org.eclipse.ui"/>
- <import plugin="org.eclipse.team.cvs.core"/>
- <import plugin="org.eclipse.team.core"/>
- <import plugin="org.eclipse.team.cvs.ui"/>
-<!-- Blanket imports from team plugin.xml -->
- <import plugin="org.eclipse.core.runtime"/>
- <import plugin="org.eclipse.core.runtime.compatibility"/>
- <import plugin="org.eclipse.team.core"/>
- <import plugin="org.eclipse.team.ui"/>
- <import plugin="org.eclipse.compare"/>
- </requires>
-
-
- <extension
- point="org.eclipse.ui.popupMenus">
- <objectContribution
- adaptable="true"
- objectClass="org.eclipse.core.resources.IResource"
- id="org.eclipse.releng.tools.ResourceContributions">
- <filter
- name="projectPersistentProperty"
- value="org.eclipse.team.core.repository=org.eclipse.team.cvs.core.cvsnature">
- </filter>
- <action
- label="Release..."
- class="org.eclipse.releng.tools.TagAndReleaseAction"
- menubarPath="team.main/group2"
- id="org.eclipse.releng.tools.tagAndRelease">
- </action>
- <action
- label="Released"
- tooltip="Compare the selected project(s) with the released versions"
- class="org.eclipse.releng.tools.CompareLocalToMap"
- menubarPath="compareWithMenu/compareWithGroup"
- id="org.eclipse.releng.tools.compareWithReleased">
- </action>
- <action
- label="Released"
- class="org.eclipse.releng.tools.ReplaceLocalFromMap"
- tooltip="Replace the selcted project(s) with the released versions"
- menubarPath="replaceWithMenu/replaceWithGroup"
- id="org.eclipse.releng.tools.replaceWithReleased">
- </action>
- </objectContribution>
- <objectContribution
- adaptable="true"
- objectClass="org.eclipse.core.resources.IFile"
- nameFilter="*.map"
- id="org.eclipse.releng.cvs.mapActions">
- <action
- label="Load Map Projects"
- class="org.eclipse.releng.tools.LoadMap"
- menubarPath="team.main/group1"
- id="org.eclipse.releng.cvs.LoadMap">
- </action>
- <action
- label="Tag Map Projects"
- class="org.eclipse.releng.tools.TagMap"
- menubarPath="team.main/group1"
- id="org.eclipse.releng.cvs.TagMap">
- </action>
- </objectContribution>
- <objectContribution
- objectClass="org.eclipse.core.resources.IProject"
- id="org.eclipse.releng.internal.tools.CopyrightContribution">
- <action
- label="Fix Copyrights..."
- class="org.eclipse.releng.tools.FixCopyrightAction"
- menubarPath="additions"
- enablesFor="+"
- id="org.eclipse.releng.tools.fixCopyrights">
- </action>
- </objectContribution>
- </extension>
-
- <!-- ********** Action Sets ************** -->
- <extension point="org.eclipse.ui.actionSets">
- <actionSet
- label="%RelEng"
- visible="false"
- id="org.eclipse.releng.tools.RelEngActionSet"
- description="%RelEngActionSet.description">
- <action
- toolbarPath="Normal/RelEng Tools"
- label="%RelEngActionSet.Release"
- tooltip="%RelEngActionSet.tooltip"
- icon="icons/full/clcl16/release_action.gif"
- class="org.eclipse.releng.tools.TagAndReleaseAction"
- id="org.eclipse.eclipse.releng.tools.ReleaseAction">
- </action>
- </actionSet>
- </extension>
-
-
-</plugin>
diff --git a/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/BlockComment.java b/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/BlockComment.java
deleted file mode 100644
index 2816222..0000000
--- a/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/BlockComment.java
+++ /dev/null
@@ -1,142 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.releng.tools;
-
-import java.io.BufferedReader;
-import java.io.IOException;
-import java.io.StringReader;
-import java.util.ArrayList;
-import java.util.List;
-
-/**
- * @author droberts
- */
-public class BlockComment {
-
- int start;
- int end;
- private String contents;
- private static String newLine = System.getProperty("line.separator");
- private String copyrightHolder;
- private List nonIBMContributors = new ArrayList();
- private String commentStart;
- private String commentEnd;
-
-
- /**
- * @param commentStart
- * @param commentEnd
- * @param comment
- */
- public BlockComment(int commentStartLine, int commentEndLine, String comment, String commentStartString, String commentEndString) {
- start = commentStartLine;
- end = commentEndLine;
- commentStart = commentStartString;
- commentEnd = commentEndString;
- contents = comment;
- }
-
- public String getContents() {
- return contents;
- }
-
- /**
- * @return boolean
- */
- public boolean isCopyright() {
- return contents.toLowerCase().indexOf("copyright") != -1;
- }
-
- /**
- * @return boolean
- */
- public boolean atTop() {
- return start == 0;
- }
-
- /**
- * @return boolean
- */
- public boolean notIBM() {
-
- String lowerCaseContents = contents.toLowerCase();
- if (copyrightHolder == null) {
- int start = lowerCaseContents.indexOf("copyright");
- if (start == -1) {
- return false;
- }
-
- int end = lowerCaseContents.indexOf(newLine, start);
-
- copyrightHolder = contents.substring(start + "copyright".length(), end);
- }
-
- String lowercaseCopyrightHolder = copyrightHolder.toLowerCase();
-
- int result = lowercaseCopyrightHolder.indexOf("ibm");
- if (result != -1) {
- return false;
- }
-
- result = lowercaseCopyrightHolder.indexOf("international business machine");
- if (result != -1) {
- return false;
- }
-
- return true;
- }
-
- /**
- * @return String
- */
- public String getCopyrightHolder() {
- return copyrightHolder;
- }
-
- /**
- *
- */
- public List nonIBMContributors() {
-
- String lowerCaseContents = contents.toLowerCase();
- int start = lowerCaseContents.indexOf("contributors");
- if (start == -1) {
- return nonIBMContributors;
- }
-
- start = lowerCaseContents.indexOf(newLine, start);
- if (start == -1) {
- return nonIBMContributors;
- }
-
- start = start + newLine.length();
- BufferedReader aReader = new BufferedReader(new StringReader(lowerCaseContents.substring(start)));
-
- String aLine;
- try {
- aLine = aReader.readLine();
- while (aLine != null) {
- aLine = aLine.trim();
- if ((aLine.length() > 0) && (aLine.indexOf(commentEnd) == -1)) {
- if ((aLine.indexOf("ibm") == -1) && (aLine.indexOf("international business machine") == -1)) {
- nonIBMContributors.add(aLine);
- }
- }
- aLine = aReader.readLine();
- }
- } catch (IOException e) {
- e.printStackTrace();
- }
-
- return nonIBMContributors;
- }
-
-}
diff --git a/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/CommitCommentPage.java b/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/CommitCommentPage.java
deleted file mode 100644
index 2b48ee6..0000000
--- a/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/CommitCommentPage.java
+++ /dev/null
@@ -1,59 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.releng.tools;
-
-
-import org.eclipse.jface.dialogs.Dialog;
-import org.eclipse.jface.resource.ImageDescriptor;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.layout.GridLayout;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.team.internal.ccvs.ui.CommitCommentArea;
-import org.eclipse.team.internal.ccvs.ui.wizards.CVSWizardPage;
-
-public class CommitCommentPage extends CVSWizardPage {
-
- private CommitCommentArea commitCommentArea;
-
- public CommitCommentPage(
- Dialog parentDialog,
- String pageName,
- String title,
- ImageDescriptor image,
- String description) {
-
- super(pageName, title, image, description);
- commitCommentArea = new CommitCommentArea(parentDialog, null);
- }
-
- public void createControl(Composite parent) {
- Composite top = new Composite(parent, SWT.NONE);
- top.setLayout(new GridLayout());
- setControl(top);
- commitCommentArea.createArea(top);
- Dialog.applyDialogFont(parent);
- }
-
- public String getComment() {
- return commitCommentArea.getComment();
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jface.dialogs.IDialogPage#setVisible(boolean)
- */
- public void setVisible(boolean visible) {
- super.setVisible(visible);
- if (visible) {
- commitCommentArea.setFocus();
- }
- }
-}
-
diff --git a/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/CompareLocalToMap.java b/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/CompareLocalToMap.java
deleted file mode 100644
index 44d2fdc..0000000
--- a/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/CompareLocalToMap.java
+++ /dev/null
@@ -1,88 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.releng.tools;
-
-import java.lang.reflect.InvocationTargetException;
-
-import org.eclipse.core.resources.IResource;
-import org.eclipse.jface.action.IAction;
-import org.eclipse.team.core.TeamException;
-import org.eclipse.team.internal.ccvs.core.CVSCompareSubscriber;
-import org.eclipse.team.internal.ccvs.core.CVSException;
-import org.eclipse.team.internal.ccvs.core.CVSTag;
-import org.eclipse.team.internal.ccvs.ui.actions.WorkspaceAction;
-import org.eclipse.team.internal.ccvs.ui.subscriber.CompareParticipant;
-import org.eclipse.team.ui.TeamUI;
-import org.eclipse.team.ui.synchronize.ISynchronizeParticipant;
-
-/**
- * This class compares the locally selected projects againsts the versions
- * found in the releng map files. The releng map files are searched for in the
- * org.eclipse.releng project in the folder named maps
- */
-public class CompareLocalToMap extends WorkspaceAction {
-
- /*
- * Get the tag from the map files in the org.eclipse.releng project
- *
- * @param resource
- * @return
- * @throws CVSException
- */
- protected CVSTag getTag(IResource resource) {
- MapEntry entry = getMapProject().getMapEntry(resource.getProject());
- if (entry == null) return CVSTag.DEFAULT;
- return entry.getTag();
- }
-
- /**
- * Returns true if the super would enable the option *and*
- * only projects are selected. There is no concept of "releasing"
- * anything but a project.
- *
- * @see org.eclipse.team.internal.ui.actions.TeamAction#isEnabled()
- */
- protected boolean isEnabled() throws TeamException {
-
- boolean result = super.isEnabled();
- if (!result) {
- return false;
- }
- return (getMapProject() != null && getMapProject().mapsAreLoaded());
- }
-
- /**
- * @see org.eclipse.team.internal.ccvs.ui.actions.CVSAction#execute(org.eclipse.jface.action.IAction)
- */
- protected void execute(IAction action) throws InvocationTargetException, InterruptedException {
- IResource[] resources = getSelectedResources();
- if (resources.length == 0) return;
- CVSTag[] tags = new CVSTag[resources.length];
- for (int i = 0; i < resources.length; i++) {
- tags[i] = getTag(resources[i]);
- }
-
- // Create the synchronize view participant
- CVSCompareSubscriber s = new CVSCompareSubscriber(resources, tags, "RelEng Map"); //$NON-NLS-1$
- try {
- s.primeRemoteTree();
- } catch (CVSException e) {
- // Log and ignore
- RelEngPlugin.log(e);
- }
- CompareParticipant participant = new CompareParticipant(s);
- TeamUI.getSynchronizeManager().addSynchronizeParticipants(new ISynchronizeParticipant[]{participant});
- participant.refresh(resources, "Refreshing", "Refreshing", getTargetPart().getSite());
- }
- private MapProject getMapProject(){
- return MapProject.getDefaultMapProject();
- }
-}
diff --git a/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/FixCopyrightAction.java b/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/FixCopyrightAction.java
deleted file mode 100644
index 93df090..0000000
--- a/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/FixCopyrightAction.java
+++ /dev/null
@@ -1,397 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 IBM Corporation and others. All rights reserved.
- * This program and the accompanying materials are made available under the
- * terms of the Common Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors: IBM Corporation - initial API and implementation
- ******************************************************************************/
-package org.eclipse.releng.tools;
-
-import java.io.File;
-import java.io.FileNotFoundException;
-import java.io.FileOutputStream;
-import java.io.IOException;
-import java.io.StringWriter;
-import java.lang.reflect.InvocationTargetException;
-import java.util.ArrayList;
-import java.util.Calendar;
-import java.util.GregorianCalendar;
-import java.util.HashMap;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Map;
-import java.util.Set;
-
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.resources.IResourceVisitor;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.NullProgressMonitor;
-import org.eclipse.core.runtime.Platform;
-import org.eclipse.core.runtime.SubProgressMonitor;
-import org.eclipse.jface.action.IAction;
-import org.eclipse.jface.operation.IRunnableWithProgress;
-import org.eclipse.jface.viewers.ISelection;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.team.core.TeamException;
-import org.eclipse.team.internal.ccvs.core.ICVSRemoteFile;
-import org.eclipse.team.internal.ccvs.core.ICVSRemoteResource;
-import org.eclipse.team.internal.ccvs.core.ILogEntry;
-import org.eclipse.team.internal.ccvs.core.resources.CVSWorkspaceRoot;
-import org.eclipse.ui.IActionDelegate;
-import org.eclipse.ui.IObjectActionDelegate;
-import org.eclipse.ui.IWorkbenchPart;
-import org.eclipse.ui.PlatformUI;
-
-public class FixCopyrightAction implements IObjectActionDelegate {
-
- public class MyInnerClass implements IResourceVisitor {
- public IProgressMonitor monitor;
- public boolean visit(IResource resource) throws CoreException {
- if (resource.getType() == IResource.FILE) {
- processFile((IFile) resource, monitor);
- }
- return true;
- }
- }
-
- private String propertiesCopyright;
- private String javaCopyright;
- private String newLine = System.getProperty("line.separator");
- private Map log = new HashMap();
-
- // The current selection
- protected IStructuredSelection selection;
-
- private static final int currentYear = new GregorianCalendar().get(Calendar.YEAR);
-
- /**
- * Constructor for Action1.
- */
- public FixCopyrightAction() {
- super();
- }
-
- /**
- * Returns the selected resources.
- *
- * @return the selected resources
- */
- protected IResource[] getSelectedResources() {
- ArrayList resources = null;
- if (!selection.isEmpty()) {
- resources = new ArrayList();
- Iterator elements = selection.iterator();
- while (elements.hasNext()) {
- Object next = elements.next();
- if (next instanceof IResource) {
- resources.add(next);
- continue;
- }
- if (next instanceof IAdaptable) {
- IAdaptable a = (IAdaptable) next;
- Object adapter = a.getAdapter(IResource.class);
- if (adapter instanceof IResource) {
- resources.add(adapter);
- continue;
- }
- }
- }
- }
- if (resources != null && !resources.isEmpty()) {
- IResource[] result = new IResource[resources.size()];
- resources.toArray(result);
- return result;
- }
- return new IResource[0];
- }
-
- /**
- * @see IObjectActionDelegate#setActivePart(IAction, IWorkbenchPart)
- */
- public void setActivePart(IAction action, IWorkbenchPart targetPart) {
- }
-
- /**
- * @see IActionDelegate#run(IAction)
- */
- public void run(IAction action) {
-
- log = new HashMap();
- try {
- PlatformUI.getWorkbench().getProgressService().run(true, /* fork */
- true, /* cancellable */
- new IRunnableWithProgress() {
-
- public void run(IProgressMonitor monitor)
- throws InvocationTargetException, InterruptedException {
- try {
- monitor.beginTask("Fixing copyrights...",
- IProgressMonitor.UNKNOWN);
-
- System.out.println("Start Fixing Copyrights");
- IResource[] results = getSelectedResources();
- System.out.println("Resources selected: "
- + results.length);
- for (int i = 0; i < results.length; i++) {
- IResource resource = results[i];
- System.out.println(resource.getName());
- try {
- MyInnerClass myInnerClass = new MyInnerClass();
- myInnerClass.monitor = monitor;
- resource.accept(myInnerClass);
- } catch (CoreException e1) {
- e1.printStackTrace();
- }
- }
-
- writeLogs();
- // displayLogs();
- System.out.println("Done Fixing Copyrights");
-
- } finally {
- monitor.done();
- }
- }
- });
- } catch (InvocationTargetException e) {
- // TODO Auto-generated catch block
- e.printStackTrace();
- } catch (InterruptedException e) {
- // TODO Auto-generated catch block
- e.printStackTrace();
- }
- }
-
- /**
- * Lookup and return the year in which the argument file was revised. Return -1 if
- * the revision year cannot be found.
- */
- private int getCVSModificationYear(IFile file, IProgressMonitor monitor) {
- try {
- monitor.beginTask("Fetching logs from CVS", 100);
-
- try {
- ICVSRemoteResource cvsFile = CVSWorkspaceRoot.getRemoteResourceFor(file);
- if (cvsFile != null) {
- // get the log entry for the revision loaded in the workspace
- ILogEntry entry = ((ICVSRemoteFile)cvsFile)
- .getLogEntry(new SubProgressMonitor(monitor, 100));
- return entry.getDate().getYear() + 1900;
- }
- } catch (TeamException e) {
- // do nothing
- }
- } finally {
- monitor.done();
- }
-
- return -1;
- }
-
- /**
- *
- */
- private void writeLogs() {
-
- FileOutputStream aStream;
- try {
- File aFile = new File(Platform.getLocation().toFile(),
- "copyrightLog.txt");
- aStream = new FileOutputStream(aFile);
- Set aSet = log.entrySet();
- Iterator errorIterator = aSet.iterator();
- while (errorIterator.hasNext()) {
- Map.Entry anEntry = (Map.Entry) errorIterator.next();
- String errorDescription = (String) anEntry.getKey();
- aStream.write(errorDescription.getBytes());
- aStream.write(newLine.getBytes());
- List fileList = (List) anEntry.getValue();
- Iterator listIterator = fileList.iterator();
- while (listIterator.hasNext()) {
- String fileName = (String) listIterator.next();
- aStream.write(" ".getBytes());
- aStream.write(fileName.getBytes());
- aStream.write(newLine.getBytes());
- }
- }
- aStream.close();
- } catch (FileNotFoundException e) {
- e.printStackTrace();
- } catch (IOException e) {
- e.printStackTrace();
- }
- }
-
- private void displayLogs() {
-
- Set aSet = log.entrySet();
- Iterator errorIterator = aSet.iterator();
- while (errorIterator.hasNext()) {
- Map.Entry anEntry = (Map.Entry) errorIterator.next();
- String errorDescription = (String) anEntry.getKey();
- System.out.println(errorDescription);
- List fileList = (List) anEntry.getValue();
- Iterator listIterator = fileList.iterator();
- while (listIterator.hasNext()) {
- String fileName = (String) listIterator.next();
- System.out.println(" " + fileName);
- }
- }
- }
-
- /**
- * @param file
- */
- private void processFile(IFile file, IProgressMonitor monitor) {
- SourceFile aSourceFile;
-
- String extension = file.getFileExtension();
- if (extension == null)
- return;
- monitor.subTask(file.getFullPath().toOSString());
- int fileType = IBMCopyrightComment.UNKNOWN_COMMENT;
- extension = extension.toLowerCase();
- if (extension.equals("java")) { //$NON-NLS-1$
- fileType = IBMCopyrightComment.JAVA_COMMENT;
- aSourceFile = new JavaFile(file);
- } else if (extension.equals("properties")) { //$NON-NLS-1$
- fileType = IBMCopyrightComment.PROPERTIES_COMMENT;
- aSourceFile = new PropertiesFile(file);
- } else
- return;
-
- if (aSourceFile.hasMultipleCopyrights()) {
- warn(file, null, "Multiple copyrights found. File UNCHANGED."); //$NON-NLS-1$//$NON-NLS-2$
- return;
- }
-
- BlockComment copyrightComment = aSourceFile.firstCopyrightComment();
- IBMCopyrightComment ibmCopyright = IBMCopyrightComment.parse(copyrightComment, fileType);
- if (ibmCopyright == null) {
- warn(file, copyrightComment, "Could not interpret copyright comment"); //$NON-NLS-1$
- return;
- }
-
- // figure out if the comment should be updated by comparing the date range
- // in the comment to the last modification time provided by CVS
-
- int revised = ibmCopyright.getRevisionYear();
- int lastMod = revised;
- if (lastMod < currentYear)
- lastMod = getCVSModificationYear(file, new NullProgressMonitor());
-
- if (lastMod <= revised)
- return;
-
- // either replace old copyright or put the new one at the top of the file
- ibmCopyright.setRevisionYear(lastMod);
- if (copyrightComment == null)
- aSourceFile.insert(ibmCopyright.getCopyrightComment());
- else {
- if (!copyrightComment.atTop())
- warn(file, copyrightComment, "Old copyright not at start of file, new copyright replaces old in same location"); //$NON-NLS-1$
- aSourceFile.replace(copyrightComment, ibmCopyright.getCopyrightComment());
- }
- }
-
- private void warn(IFile file, BlockComment firstBlockComment,
- String errorDescription) {
- List aList = (List) log.get(errorDescription);
- if (aList == null) {
- aList = new ArrayList();
- log.put(errorDescription, aList);
- }
- aList.add(file.getName());
- }
-
- /**
- *
- */
- private String getJavaCopyright() {
- if (javaCopyright == null) {
- String newLine = System.getProperty("line.separator");
- StringWriter aWriter = new StringWriter();
-
- aWriter
- .write("/*******************************************************************************");
- aWriter.write(newLine);
- aWriter
- .write(" * Copyright (c) 2000, 2004 IBM Corporation and others.");
- aWriter.write(newLine);
- aWriter
- .write(" * All rights reserved. This program and the accompanying materials ");
- aWriter.write(newLine);
- aWriter
- .write(" * are made available under the terms of the Common Public License v1.0");
- aWriter.write(newLine);
- aWriter
- .write(" * which accompanies this distribution, and is available at");
- aWriter.write(newLine);
- aWriter.write(" * http://www.eclipse.org/legal/cpl-v10.html");
- aWriter.write(newLine);
- aWriter.write(" * ");
- aWriter.write(newLine);
- aWriter.write(" * Contributors:");
- aWriter.write(newLine);
- aWriter
- .write(" * IBM Corporation - initial API and implementation");
- aWriter.write(newLine);
- aWriter
- .write(" *******************************************************************************/");
- aWriter.write(newLine);
- javaCopyright = aWriter.toString();
- }
- return javaCopyright.toString();
- }
-
- private String getPropertiesCopyright() {
- if (propertiesCopyright == null) {
- String newLine = System.getProperty("line.separator");
- StringWriter aWriter = new StringWriter();
-
- aWriter
- .write("###############################################################################");
- aWriter.write(newLine);
- aWriter
- .write("# Copyright (c) 2000, 2004 IBM Corporation and others.");
- aWriter.write(newLine);
- aWriter
- .write("# All rights reserved. This program and the accompanying materials ");
- aWriter.write(newLine);
- aWriter
- .write("# are made available under the terms of the Common Public License v1.0");
- aWriter.write(newLine);
- aWriter
- .write("# which accompanies this distribution, and is available at");
- aWriter.write(newLine);
- aWriter.write("# http://www.eclipse.org/legal/cpl-v10.html");
- aWriter.write(newLine);
- aWriter.write("# ");
- aWriter.write(newLine);
- aWriter.write("# Contributors:");
- aWriter.write(newLine);
- aWriter
- .write("# IBM Corporation - initial API and implementation");
- aWriter.write(newLine);
- aWriter
- .write("###############################################################################");
- aWriter.write(newLine);
- propertiesCopyright = aWriter.toString();
- }
- return propertiesCopyright.toString();
- }
-
- /**
- * @see IActionDelegate#selectionChanged(IAction, ISelection)
- */
- public void selectionChanged(IAction action, ISelection selection) {
- if (selection instanceof IStructuredSelection) {
- this.selection = (IStructuredSelection) selection;
- }
- }
-
-}
\ No newline at end of file
diff --git a/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/IBMCopyrightComment.java b/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/IBMCopyrightComment.java
deleted file mode 100644
index ce40117..0000000
--- a/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/IBMCopyrightComment.java
+++ /dev/null
@@ -1,196 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.releng.tools;
-
-import java.io.PrintWriter;
-import java.io.StringWriter;
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.List;
-import java.util.StringTokenizer;
-
-public class IBMCopyrightComment {
-
- public static final int UNKNOWN_COMMENT = -1;
- public static final int JAVA_COMMENT = 1;
- public static final int PROPERTIES_COMMENT = 2;
-
- private static final int DEFAULT_CREATION_YEAR = 2003;
-
- private int commentStyle = 0;
- private int creationYear = -1;
- private int revisionYear = -1;
- private List contributors;
-
- private IBMCopyrightComment(int commentStyle, int creationYear, int revisionYear, List contributors) {
- this.commentStyle = commentStyle;
- this.creationYear = creationYear == -1 ? DEFAULT_CREATION_YEAR : creationYear;
- this.revisionYear = revisionYear;
- this.contributors = contributors;
- }
-
- public static IBMCopyrightComment defaultComment(int commentStyle) {
- return new IBMCopyrightComment(commentStyle, DEFAULT_CREATION_YEAR, -1, null);
- }
-
- /**
- * Create an instance the same as the argument comment but with the revision year
- * updated if needed. Return the default comment if the argument comment is null
- * or an empty string. Return null if the argument comment is not recognized as
- * an IBM copyright comment.
- */
- public static IBMCopyrightComment parse(BlockComment comment, int commentStyle) {
- if (comment == null)
- return defaultComment(commentStyle);
-
- String body = comment.getContents();
-
- final String copyrightLabel = "Copyright (c) "; //$NON-NLS-1$
- int start = body.indexOf(copyrightLabel); //$NON-NLS-1$
- if (start == -1) return null;
- int contrib = body.indexOf("Contributors:", start); //$NON-NLS-1$
- int end = body.indexOf(" IBM Corp", start); //$NON-NLS-1$ // catch both IBM Corporation and IBM Corp.
-
- if (end == -1 || end > contrib) // IBM must be on the copyright line, not the contributor line
- return null;
-
- String yearRange = body.substring(start + copyrightLabel.length(), end);
-
- int comma = yearRange.indexOf(","); //$NON-NLS-1$
-
- String startStr = comma == -1 ? yearRange : yearRange.substring(0, comma);
- String endStr = comma == -1 ? null : yearRange.substring(comma + 1);
-
- int startYear = -1;
- if (startStr != null)
- try {
- startYear = Integer.parseInt(startStr.trim());
- } catch(NumberFormatException e) {
- // do nothing
- }
-
- int endYear = -1;
- if (endStr != null)
- try {
- endYear = Integer.parseInt(endStr.trim());
- } catch(NumberFormatException e) {
- // do nothing
- }
-
-
- String contribComment = body.substring(contrib);
- StringTokenizer tokens = new StringTokenizer(contribComment, "\r\n"); //$NON-NLS-1$
- tokens.nextToken();
- ArrayList contributors = new ArrayList();
- String linePrefix = getLinePrefix(commentStyle);
- while(tokens.hasMoreTokens()) {
- String contributor = tokens.nextToken();
- if (contributor.indexOf("***********************************") == -1 //$NON-NLS-1$
- && contributor.indexOf("###################################") == -1) { //$NON-NLS-1$
- int c = contributor.indexOf(linePrefix);
- if (c != -1)
- contributor = contributor.substring(c + linePrefix.length());
- contributors.add(contributor.trim());
- }
- }
-
- return new IBMCopyrightComment(commentStyle, startYear, endYear, contributors);
- }
-
- public int getRevisionYear() {
- return revisionYear == -1 ? creationYear : revisionYear;
- }
-
- public void setRevisionYear(int year) {
- if (revisionYear != -1 || creationYear != year)
- revisionYear = year;
- }
-
- private static String getLinePrefix(int commentStyle) {
- switch(commentStyle) {
- case JAVA_COMMENT:
- return " * "; //$NON-NLS-1$
- case PROPERTIES_COMMENT:
- return "# "; //$NON-NLS-1$
- default:
- return null;
- }
- }
-
- /**
- * Return the body of this copyright comment or null if it cannot be built.
- */
- public String getCopyrightComment() {
- String linePrefix = getLinePrefix(commentStyle);
- if (linePrefix == null)
- return null;
-
- StringWriter out = new StringWriter();
- PrintWriter writer = new PrintWriter(out);
- try {
- writeCommentStart(writer);
- writeLegal(writer, linePrefix);
- writeContributions(writer, linePrefix);
- writeCommentEnd(writer);
-
- return out.toString();
- } finally {
- writer.close();
- }
- }
-
- private void writeCommentStart(PrintWriter writer) {
- switch(commentStyle) {
- case JAVA_COMMENT:
- writer.println("/*******************************************************************************"); //$NON-NLS-1$
- break;
- case PROPERTIES_COMMENT:
- writer.println("###############################################################################"); //$NON-NLS-1$
- break;
- }
- }
-
- private void writeLegal(PrintWriter writer, String linePrefix) {
- writer.print(linePrefix + "Copyright (c) " + creationYear); //$NON-NLS-1$
- if (revisionYear != -1 && revisionYear != creationYear)
- writer.print(", " + revisionYear); //$NON-NLS-1$
- writer.println(" IBM Corporation and others."); //$NON-NLS-1$
-
- writer.println(linePrefix + "All rights reserved. This program and the accompanying materials"); //$NON-NLS-1$
- writer.println(linePrefix + "are made available under the terms of the Common Public License v1.0"); //$NON-NLS-1$
- writer.println(linePrefix + "which accompanies this distribution, and is available at"); //$NON-NLS-1$
- writer.println(linePrefix + "http://www.eclipse.org/legal/cpl-v10.html"); //$NON-NLS-1$
- }
-
- private void writeContributions(PrintWriter writer, String linePrefix) {
- writer.println(linePrefix);
- writer.println(linePrefix + "Contributors:"); //$NON-NLS-1$
-
- if (contributors == null || contributors.size() <= 0)
- writer.println(linePrefix + " IBM Corporation - initial API and implementation"); //$NON-NLS-1$
- else {
- Iterator i = contributors.iterator();
- while (i.hasNext())
- writer.println(linePrefix + " " + (String)i.next()); //$NON-NLS-1$
- }
- }
-
- private void writeCommentEnd(PrintWriter writer) {
- switch(commentStyle) {
- case JAVA_COMMENT:
- writer.println(" *******************************************************************************/"); //$NON-NLS-1$
- break;
- case PROPERTIES_COMMENT:
- writer.println("###############################################################################"); //$NON-NLS-1$
- break;
- }
- }
-}
diff --git a/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/JavaFile.java b/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/JavaFile.java
deleted file mode 100644
index 82360f5..0000000
--- a/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/JavaFile.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.releng.tools;
-
-import org.eclipse.core.resources.IFile;
-
-/**
- * @author droberts
- */
-public class JavaFile extends SourceFile {
-
- /**
- * @param file
- */
- public JavaFile(IFile file) {
- super(file);
- }
-
- /* (non-Javadoc)
- * @see Test.popup.actions.SourceFile#getCommentStart()
- */
- public String getCommentStart() {
- return "/*";
- }
-
- /* (non-Javadoc)
- * @see Test.popup.actions.SourceFile#getCommentEnd()
- */
- public String getCommentEnd() {
- return "*/";
- }
-
-}
diff --git a/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/LoadMap.java b/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/LoadMap.java
deleted file mode 100644
index a617ca0..0000000
--- a/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/LoadMap.java
+++ /dev/null
@@ -1,121 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.releng.tools;
-
-import java.io.BufferedReader;
-import java.io.IOException;
-import java.io.InputStreamReader;
-import java.lang.reflect.InvocationTargetException;
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.List;
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jface.action.IAction;
-import org.eclipse.team.core.ProjectSetCapability;
-import org.eclipse.team.core.RepositoryProviderType;
-import org.eclipse.team.core.TeamException;
-import org.eclipse.team.internal.ccvs.core.CVSProviderPlugin;
-import org.eclipse.team.internal.ccvs.ui.actions.CVSAction;
-import org.eclipse.team.internal.ui.UIProjectSetSerializationContext;
-import org.eclipse.ui.actions.WorkspaceModifyOperation;
-
-public class LoadMap extends CVSAction {
-
- /**
- * @see org.eclipse.team.internal.ccvs.ui.actions.CVSAction#execute(org.eclipse.jface.action.IAction)
- */
- protected void execute(IAction action) throws InvocationTargetException, InterruptedException {
- run(new WorkspaceModifyOperation(null) {
- public void execute(IProgressMonitor monitor) throws InvocationTargetException, InterruptedException {
- try {
- IResource[] resources = getSelectedResources();
- String[] referenceStrings = getReferenceStrings(resources);
- RepositoryProviderType type = RepositoryProviderType.getProviderType(CVSProviderPlugin.getTypeId());
- ProjectSetCapability c = type.getProjectSetCapability();
- c.addToWorkspace(referenceStrings, new UIProjectSetSerializationContext(getShell(), null), monitor);
- } catch (TeamException e) {
- throw new InvocationTargetException(e);
- } catch (CoreException e) {
- throw new InvocationTargetException(e);
- } finally {
- monitor.done();
- }
- }
-
- }, true, PROGRESS_DIALOG);
- }
-
- /**
- * Get the project set reference strings from the provider map files
- *
- * @param mapFiles
- * @return
- * @throws CoreException
- */
- protected String[] getReferenceStrings(IResource[] mapFiles) throws CoreException {
- List allStrings = new ArrayList();
- for (int i = 0; i < mapFiles.length; i++) {
- IResource resource = mapFiles[i];
- String[] referenceStrings = readReferenceStrings((IFile)resource);
- allStrings.addAll(Arrays.asList(referenceStrings));
- }
- return (String[]) allStrings.toArray(new String[allStrings.size()]);
- }
-
- /**
- * Method readReferenceStrings.
- * @param file
- * @return String[]
- */
-
- protected static String[] readReferenceStrings(IFile file) throws CoreException {
- BufferedReader reader = new BufferedReader(new InputStreamReader(file.getContents()));
- try {
- try {
- String line = reader.readLine();
- List references = new ArrayList();
- while (line != null) {
- String referenceString = new MapEntry(line).getReferenceString();
- if (referenceString != null) {
- references.add(referenceString);
- }
- line = reader.readLine();
- }
- return (String[]) references.toArray(new String[references.size()]);
- } finally {
- reader.close();
- }
- } catch (IOException e) {
- throw new CoreException(new Status(IStatus.ERROR, RelEngPlugin.ID, 0, "An I/O error occured", e));
- }
- }
-
-
- /**
- * @see org.eclipse.team.internal.ui.actions.TeamAction#isEnabled()
- */
- protected boolean isEnabled() throws TeamException {
- IResource[] resources = getSelectedResources();
- if (resources.length == 0) return false;
- for (int i = 0; i < resources.length; i++) {
- IResource resource = resources[i];
- if (resource.getType() != IResource.FILE) return false;
- if (!resource.getFileExtension().equals("map")) return false;
- }
- return true;
- }
-
-}
diff --git a/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/MapContentDocument.java b/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/MapContentDocument.java
deleted file mode 100644
index 3cce001..0000000
--- a/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/MapContentDocument.java
+++ /dev/null
@@ -1,153 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.releng.tools;
-
-import java.io.BufferedInputStream;
-import java.io.BufferedReader;
-import java.io.ByteArrayInputStream;
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.InputStreamReader;
-
-import org.eclipse.compare.IStreamContentAccessor;
-import org.eclipse.compare.ITypedElement;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.swt.graphics.Image;
-import org.eclipse.team.internal.ccvs.core.CVSException;
-import org.eclipse.team.internal.ccvs.ui.CVSUIPlugin;
-
-
-public class MapContentDocument implements ITypedElement, IStreamContentAccessor{
- private MapFile mapFile;
- private String oldContents = "";
- private String newContents = "";
-
- public MapContentDocument(MapFile aMapFile) {
- mapFile = aMapFile;
- initialize();
- }
-
- /**
- * Update the tag associated with the given project in the new contents.
- */
- public void updateTag(IProject project, String tag) throws CVSException {
- InputStream inputStream = new BufferedInputStream(
- new ByteArrayInputStream(newContents.getBytes()));
- boolean match = false;
- StringBuffer buffer = new StringBuffer();
- try {
- BufferedReader aReader = new BufferedReader(new InputStreamReader(
- inputStream));
- String aLine = aReader.readLine();
- while (aLine != null) {
- if (aLine.trim().length() != 0 && !aLine.startsWith("!")) {
- // Found a possible match
- MapEntry entry = new MapEntry(aLine);
- if (!entry.isValid()) {
- throw new CVSException("Malformed map file line: "
- + aLine);
- }
- if (entry.isMappedTo(project)) {
- // Now for sure we have a match. Replace the line.
- entry.setTagName(tag);
- aLine = entry.getMapString();
- match = true;
- }
- }
- buffer.append(aLine);
- aLine = aReader.readLine();
- if (aLine != null) {
- buffer.append(System.getProperty("line.separator")); //$NON-NLS-1$
- }
- }
- } catch (CoreException e) {
- throw CVSException.wrapException(e);
- } catch (IOException e) {
- throw CVSException.wrapException(e);
- } finally {
- if (inputStream != null) {
- try {
- inputStream.close();
- } catch (IOException e) {
- }
- }
- }
- if (match) {
- newContents = buffer.toString();
- }
- }
- public boolean isChanged() {
- return !(oldContents.equals(newContents));
- }
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.compare.ITypedElement#getName()
- */
- public String getName() {
- return mapFile.getFile().getName();
- }
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.compare.ITypedElement#getImage()
- */
- public Image getImage() {
- return null;
- }
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.compare.ITypedElement#getType()
- */
- public String getType() {
- return mapFile.getFile().getFileExtension();
- }
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.compare.IStreamContentAccessor#getContents()
- */
- public InputStream getContents() throws CoreException {
- return new ByteArrayInputStream(getNewContent().getBytes());
- }
- public MapFile getMapFile() {
- return mapFile;
- }
-
- private String getNewContent() {
- return newContents;
- }
- private void initialize() {
- InputStream inputStream;
- StringBuffer buffer = new StringBuffer();
- try {
- inputStream = mapFile.getFile().getContents();
- BufferedReader aReader = new BufferedReader(new InputStreamReader(
- inputStream));
- String aLine = aReader.readLine();
- while (aLine != null) {
- buffer.append(aLine);
- aLine = aReader.readLine();
- if (aLine != null) {
- buffer.append(System.getProperty("line.separator")); //$NON-NLS-1$
- }
- }
- oldContents = buffer.toString();
- newContents = new String(oldContents);
- } catch (CoreException e) {
- CVSUIPlugin.openError(null, null, null, e);
- } catch (IOException e) {
- CVSUIPlugin.openError(null, null, null, e);
- }
- }
-}
diff --git a/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/MapEntry.java b/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/MapEntry.java
deleted file mode 100644
index a441098..0000000
--- a/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/MapEntry.java
+++ /dev/null
@@ -1,321 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.releng.tools;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.Path;
-import org.eclipse.team.internal.ccvs.core.CVSException;
-import org.eclipse.team.internal.ccvs.core.CVSTag;
-import org.eclipse.team.internal.ccvs.core.ICVSFolder;
-import org.eclipse.team.internal.ccvs.core.resources.CVSWorkspaceRoot;
-import org.eclipse.team.internal.ccvs.core.syncinfo.FolderSyncInfo;
-
-/**
- * This class provides access to information stored in RelEng map files
- */
-public class MapEntry {
-
- private static final String FRAGMENT = "fragment";
- private static final String FEATURE = "feature";
- private static final String PLUGIN = "plugin";
- private boolean valid = false;
- private String type = "";
- private String id = "";
- private String tagName = "";
- private String repo = "";
- private String password = "";
- private String cvsModule = "";
-
- public static void main (String[] args) {
- // For testing only
-
- String[] strings = {
- "",
- " ",
- "type",
- "type@",
- "type@id",
- "type@id=",
- "type@id=tag,",
- "type@id=tag, connectString",
- "type@id=tag, connectString,",
- "type@id=tag, connectString,password",
- "type@id=tag, connectString,password,",
- "type@id=tag, connectString,password,moduleName",
- "type@id=tag, connectString,,moduleName",
- "!*************** FEATURE CONTRIBUTION ******************************************************",
- "@",
- "=",
- ",,,",
- "@=,,,,",
- };
-
- for (int i = 0; i < strings.length; i++) {
- String string = strings[i];
- MapEntry anEntry = new MapEntry(string);
-
- System.out.println("");
- System.out.println(string);
- System.out.println(anEntry.getMapString());
-// System.out.println(anEntry.getReferenceString());
- System.out.println("");
- anEntry.display();
- }
-
- }
-
- /**
- *
- */
- private void display() {
- // For testing only
- System.out.println("Is Valid: " + isValid());
- System.out.println("Type: " + getType());
- System.out.println("Project Name: " + getId());
- System.out.println("Version: " + getTagName());
- System.out.println("Connect: " + getRepo());
- System.out.println("Password: " + getPassword());
- System.out.println("CVS Module: " + getCVSModule());
- }
-
- public MapEntry(String entryLine) {
- init(entryLine);
- }
-
- /**
- * Create a map entry for the given project and tag
- * @param project
- * @param tag
- */
- public MapEntry(IProject project, CVSTag tag) throws CVSException {
- type = internalGetType(project);
- id = project.getName();
- tagName = tag.getName();
- FolderSyncInfo info = CVSWorkspaceRoot.getCVSFolderFor(project).getFolderSyncInfo();
- repo = info.getRoot();
- password = "";
- cvsModule = info.getRepository();
- valid = true;
- }
-
- private String internalGetType(IProject project) {
- if (project.getFile("plugin.xml").exists()) return PLUGIN;
- if (project.getFile("feature.xml").exists()) return FEATURE;
- if (project.getFile("fragment.xml").exists()) return FRAGMENT;
- return PLUGIN;
- }
-
- /**
- * Parse a map file entry line
- * @param entryLine
- */
- private void init(String entryLine) {
-
- valid = false;
-
- // Type
- int start = 0;
- int end = entryLine.indexOf('@');
- if (end == -1) return;
- type = entryLine.substring(start, end).trim();
-
- // Project Name
- start = end + 1;
- end = entryLine.indexOf('=', start);
- if (end == -1) return;
- id = entryLine.substring(start, end).trim();
-
- // Version
- start = end + 1;
- end = entryLine.indexOf(',', start);
- if (end == -1) return;
- tagName = entryLine.substring(start, end).trim();
-
- // Repo Connect String
- start = end + 1;
- if (start == entryLine.length()) return; // No connect string - invalid
- end = entryLine.indexOf(',', start);
- if (end == -1) {
- // Tailing , not required if connect string is last entry on line.
- repo = entryLine.substring(start).trim();
- valid = true;
- return;
- } else {
- repo = entryLine.substring(start, end).trim();
- }
-
- // All required fields met.
- valid = true;
-
- // Optional Password.
- start = end + 1;
- if (start == entryLine.length()) return; // End of line reached. No password
- end = entryLine.indexOf(',', start);
- if (end == -1) {
- // No trailing , but password present.
- password = entryLine.substring(start).trim();
- return;
- }
- // , after password
- password = entryLine.substring(start, end).trim();
-
- // Optional CVS Module Name
- start = end + 1;
- if (start == entryLine.length()) return; // No module name
- cvsModule = entryLine.substring(start).trim();
- }
-
- public String getTagName() {
- return tagName;
- }
-
- public CVSTag getTag() {
- if (getTagName().equals("HEAD")) return CVSTag.DEFAULT;
- return new CVSTag(getTagName(), CVSTag.VERSION);
- }
-
- public String getPassword() {
- return password;
- }
-
- public String getId() {
- return id;
- }
-
- private String internalGetCVSModule() {
- if (cvsModule.equals("")) {
- return id;
- } else {
- return cvsModule;
- }
- }
-
- public String getCVSModule() {
- return cvsModule;
- }
-
- public String getRepo() {
- return repo;
- }
-
- public String getType() {
- return type;
- }
-
- public boolean isValid() {
- return valid;
- }
-
- public String getReferenceString() {
- if (!isValid()) return null;
- // This is the format used by the CVS IProjectSerializer
- String projectName = new Path(internalGetCVSModule()).lastSegment();
- return "1.0," + getRepo() + "," + internalGetCVSModule() + "," + projectName + "," + getTagName();
- }
-
- public String getMapString() {
- String result = getType() + "@" + getId() + "=" + getTagName() + "," + getRepo() + "," + getPassword();
- if (!getCVSModule().equals("") || !getPassword().equals("")) {
- result = result + ",";
- }
- return result + getCVSModule();
- }
-
- public void setPassword(String password) {
- this.password = password;
- }
-
- public void setId(String projectID) {
- this.id = projectID;
- }
-
- public void setCVSModule(String path) {
- this.cvsModule = path;
- }
-
- public void setRepo(String repo) {
- this.repo = repo;
- }
-
- public void setTagName(String tagName) {
- this.tagName = tagName;
- }
-
- public void setType(String type) {
- this.type = type;
- }
-
- public void setValid(boolean valid) {
- this.valid = valid;
- }
-
- public String toString() {
- return "Entry: " + getMapString();
- }
-
- /* (non-Javadoc)
- * @see java.lang.Object#equals(java.lang.Object)
- */
- public boolean equals(Object obj) {
- if (obj instanceof MapEntry) {
- return ((MapEntry)obj).getMapString().equals(getMapString());
- }
- return super.equals(obj);
- }
-
- /**
- * Return true if this map entry is mapped to the given CVS module
- * @param moduleName
- * @return
- */
- public boolean isMappedTo(String moduleName) {
- IPath entryPath = new Path(internalGetCVSModule());
- IPath modulePath = new Path(moduleName);
- if (entryPath.segmentCount() != modulePath.segmentCount()) return false;
- for (int i = 0; i < entryPath.segmentCount(); i++) {
- if (!entryPath.segment(i).equals(modulePath.segment(i))) {
- return false;
- }
- }
- return true;
- }
-
- /**
- * Return <code>true</code> if the entry is mapped to the given project
- * and <code>false</code> otherwise.
- */
- public boolean isMappedTo(IProject project) {
- String moduleName;
- try {
- moduleName = getCVSModule(project);
- if (moduleName == null) return false;
- return isMappedTo(moduleName);
- } catch (CVSException e) {
- RelEngPlugin.getDefault().getLog().log(e.getStatus());
- return false;
- }
- }
-
- /**
- * Get the remote CVS module for the project or <code>null</code>
- * if the project is not a CVS project.
- */
- private String getCVSModule(IProject project) throws CVSException {
- ICVSFolder folder = CVSWorkspaceRoot.getCVSFolderFor(project);
- FolderSyncInfo info = folder.getFolderSyncInfo();
- if (info == null) {
- return null;
- }
- return info.getRepository();
- }
-
-}
diff --git a/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/MapFile.java b/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/MapFile.java
deleted file mode 100644
index cf2d4e4..0000000
--- a/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/MapFile.java
+++ /dev/null
@@ -1,118 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.releng.tools;
-
-import java.io.BufferedReader;
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.InputStreamReader;
-import java.util.ArrayList;
-import java.util.List;
-
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-
-public class MapFile {
-
- public static final String MAP_FILE_EXTENSION = "map";
-
- protected IFile file;
- protected MapEntry[] entries;
-
- public MapFile(IFile aFile) throws CoreException {
- file = aFile;
- loadEntries();
- }
-
- public IFile getFile(){
- return file;
- }
-
- protected void loadEntries() throws CoreException {
- InputStream inputStream = null;
- List list = new ArrayList();
-
- try {
- inputStream = file.getContents();
- BufferedReader aReader = new BufferedReader(new InputStreamReader(
- inputStream));
- String aLine = aReader.readLine();
- while (aLine != null) {
- if (isMapLine(aLine)) {
- list.add(new MapEntry(aLine));
- }
- aLine = aReader.readLine();
- }
- } catch (IOException e) {
- throw new CoreException(new Status(IStatus.ERROR, RelEngPlugin.ID, 0, "An I/O Error occurred process map file " + file.getFullPath().toString(), e));
- } finally {
- if (inputStream != null) {
- try {
- inputStream.close();
- } catch (IOException e) {
- // Ignore close exceptions so we don't mask another exception
- }
- }
- }
-
- this.entries = (MapEntry[]) list.toArray(new MapEntry[list.size()]);
- }
-
- private boolean isMapLine(String line) {
- if (line.trim().length() == 0) return false;
- if (line.startsWith("!")) return false;
- return true;
- }
-
- public boolean contains(IProject project){
- for(int j = 0;j < entries.length; j++){
- if (entries[j].isMappedTo(project)){
- return true;
- }
- }
- return false;
- }
-
- public MapEntry getMapEntry(IProject project) {
- for(int j = 0;j < entries.length; j++){
- if (entries[j].isMappedTo(project)){
- return entries[j];
- }
- }
- return null;
- }
-
- public IProject[] getAccessibleProjects() {
- List list = new ArrayList();
- IProject[] projects = ResourcesPlugin.getWorkspace().getRoot().getProjects();
- if(entries == null || entries.length ==0) return null;
- for (int i = 0; i < projects.length; i++) {
- IProject project = projects[i];
- if (project.isAccessible()) {
- for (int j = 0; j < entries.length; j++){
- if (entries[j].isMappedTo(project)) {
- list.add(project);
- }
- }
- }
- }
- return (IProject[])list.toArray(new IProject[list.size()]);
- }
-
- public String getName() {
- return file.getName();
- }
-
-}
diff --git a/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/MapFileCompareEditorInput.java b/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/MapFileCompareEditorInput.java
deleted file mode 100644
index 9902a6c..0000000
--- a/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/MapFileCompareEditorInput.java
+++ /dev/null
@@ -1,173 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.releng.tools;
-
-import java.lang.reflect.InvocationTargetException;
-import java.util.ArrayList;
-import java.util.List;
-
-import org.eclipse.compare.CompareConfiguration;
-import org.eclipse.compare.CompareEditorInput;
-import org.eclipse.compare.ResourceNode;
-import org.eclipse.compare.structuremergeviewer.DiffNode;
-import org.eclipse.compare.structuremergeviewer.Differencer;
-import org.eclipse.compare.structuremergeviewer.IDiffElement;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.jface.viewers.Viewer;
-import org.eclipse.swt.graphics.Image;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.team.internal.ccvs.core.CVSException;
-import org.eclipse.team.internal.ccvs.core.CVSTag;
-import org.eclipse.team.internal.ccvs.ui.CVSUIPlugin;
-
-/**
- * This class extends<code>CompareEditorInput<code>. It defines the input for map file compare editor, which is showed by
- * <code>MapFileComparePage<code>
- */
-public class MapFileCompareEditorInput extends CompareEditorInput {
-
- private MapContentDocument[] documents;
- private DiffNode root;
- private Viewer viewer;
- private MapProject mapProject;
-
- private IProject[] selectedProjects;
- private String tag; //The proposed tag
-
-
- public MapFileCompareEditorInput() {
- super(new CompareConfiguration());
- documents = new MapContentDocument[0];
- root = new DiffNode(Differencer.NO_CHANGE) {
- public boolean hasChildren() {
- return true;
- }
- };
- mapProject = null;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.compare.CompareEditorInput#prepareInput(org.eclipse.core.runtime.IProgressMonitor)
- */
- protected Object prepareInput(IProgressMonitor monitor) throws InvocationTargetException, InterruptedException {
- CompareConfiguration config = getCompareConfiguration();
- config.setRightEditable(false);
- config.setLeftEditable(false);
- config.setRightLabel("Proposed change");
- config.setLeftLabel("Current content");
- return root;
- }
-
- public void updateInput(IProject[] projects, String tag) {
- setSelectedProjects(projects);
- setTag(tag);
- MapContentDocument[] docs = constructDocuments();
- setDocuments(docs);
- buildTree();
- }
- /* (non-Javadoc)
- * @see org.eclipse.compare.CompareEditorInput#createDiffViewer(org.eclipse.swt.widgets.Composite)
- */
- public Viewer createDiffViewer(Composite parent) {
- viewer = super.createDiffViewer(parent);
- viewer.setInput(this);
- return viewer;
- }
-
- public void updateMapProject(MapProject m){
- mapProject = m;
- }
-
- private void setDocuments(MapContentDocument[] docs) {
- this.documents = docs;
- }
-
-
-
- private void buildTree() {
- if(documents == null || documents.length == 0)return;
- //Empty the tree
- if(root.hasChildren()){
- IDiffElement[] children = root.getChildren();
- for(int i = 0; i < children.length; i++){
- root.remove(children[i]);
- }
- }
-
- //rebuild the tree
- DiffNode[] diffNodes = new DiffNode[documents.length];
- for (int i = 0; i < diffNodes.length; i++){
- ResourceNode resourceNode = new ResourceNode(documents[i].getMapFile().getFile()) {
- public boolean isEditable() {
- return false;
- }
- };
-
- diffNodes[i] = new DiffNode(root, Differencer.CHANGE, null, resourceNode, documents[i]) {
- public Image getImage() {
- return getLeft().getImage();
- }
- };
- }
- viewer.refresh();
- }
-
- /*
- * Returns the map files that will change due to the projects being released
- */
- private MapFile[] getChangedMapFiles() {
- if (selectedProjects == null || selectedProjects.length == 0)
- return null;
- List projectList = new ArrayList();
- CVSTag[] tags = mapProject.getTagsFor(selectedProjects );
- for(int i = 0; i < selectedProjects.length; i++){
- if(!tags[i].getName().equals(tag)){
- projectList.add(selectedProjects[i]);
- }
- }
- IProject [] projects = (IProject[])projectList.toArray(new IProject[projectList.size()]);
- return mapProject.getMapFilesFor(projects);
- }
-
-
- //Construct the document as the diffNode.
- private MapContentDocument [] constructDocuments(){
- MapFile[] mapFiles = getChangedMapFiles();
- if(mapFiles == null || mapFiles.length ==0) return null;
- MapContentDocument [] docs = new MapContentDocument[mapFiles.length];
- for(int i = 0; i < mapFiles.length; i++){
- docs[i] = new MapContentDocument(mapFiles[i]);
- for(int j = 0; j < selectedProjects.length; j++){
- //update the new content of each selected projects
- if(mapFiles[i].contains(selectedProjects[j])){
- try {
- docs[i]. updateTag(selectedProjects[j],tag);
- } catch (CVSException e) {
- CVSUIPlugin.openError(null, null, null, e);
- }
- }
- }
- }
- return docs;
- }
-
- private void setSelectedProjects(IProject[] projects) {
- if (projects != null && projects.length != 0) {
- selectedProjects = new IProject[projects.length ];
- System.arraycopy(projects, 0, selectedProjects, 0, projects.length);
- }
- }
-
- private void setTag(String t) {
- this.tag = t;
- }
-}
diff --git a/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/MapFileComparePage.java b/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/MapFileComparePage.java
deleted file mode 100644
index 2ce4a92..0000000
--- a/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/MapFileComparePage.java
+++ /dev/null
@@ -1,77 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.releng.tools;
-import java.lang.reflect.InvocationTargetException;
-
-import org.eclipse.jface.resource.ImageDescriptor;
-import org.eclipse.jface.wizard.WizardPage;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.graphics.Font;
-import org.eclipse.swt.layout.GridData;
-import org.eclipse.swt.layout.GridLayout;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Control;
-import org.eclipse.team.internal.ccvs.ui.CVSUIPlugin;
-
-public class MapFileComparePage extends WizardPage {
-
- private MapFileCompareEditorInput input = new MapFileCompareEditorInput();
- private String tag;
-
- public MapFileComparePage(String pageName, String title, ImageDescriptor image) {
- super(pageName, title, image);
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.jface.dialogs.IDialogPage#setVisible(boolean)
- */
- public void setVisible(boolean visible) {
- super.setVisible(visible);
- //Need to handle input and rebuild tree only when becoming visible
- if(visible){
- input.updateInput(((ReleaseWizard)getWizard()).getSelectedProjects(),tag);
- }
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.jface.dialogs.IDialogPage#createControl(org.eclipse.swt.widgets.Composite)
- */
- public void createControl(Composite parent) {
- Font font = parent.getFont();
- Composite composite = new Composite(parent, SWT.NONE);
- composite.setFont(font);
- composite.setLayout(new GridLayout());
- composite.setLayoutData(new GridData(GridData.FILL_BOTH));
-
- try {
- input.run(null);
- } catch (InterruptedException e) {
- CVSUIPlugin.openError(getShell(), null, null, e);
- } catch (InvocationTargetException e) {
- CVSUIPlugin.openError(getShell(), null, null, e);
- }
-
- Control c = input.createContents(composite);
- c.setLayoutData(new GridData(GridData.FILL_BOTH));
- setControl(composite);
- }
-
- public void setTag(String t) {
- this.tag = t;
- }
- public void updateMapProject(MapProject m){
- input.updateMapProject(m);
- }
-}
diff --git a/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/MapProject.java b/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/MapProject.java
deleted file mode 100644
index 88717f2..0000000
--- a/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/MapProject.java
+++ /dev/null
@@ -1,287 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.releng.tools;
-import java.lang.reflect.InvocationTargetException;
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.HashSet;
-import java.util.List;
-import java.util.Set;
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.IFolder;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.resources.IResourceChangeEvent;
-import org.eclipse.core.resources.IResourceChangeListener;
-import org.eclipse.core.resources.IResourceDelta;
-import org.eclipse.core.resources.IWorkspace;
-import org.eclipse.core.resources.IWorkspaceRoot;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.team.core.RepositoryProvider;
-import org.eclipse.team.core.TeamException;
-import org.eclipse.team.internal.ccvs.core.CVSTag;
-import org.eclipse.team.internal.ccvs.core.CVSTeamProvider;
-import org.eclipse.team.internal.ccvs.core.client.Command;
-import org.eclipse.team.internal.ccvs.core.client.Commit;
-import org.eclipse.team.internal.ccvs.core.client.Command.LocalOption;
-import org.eclipse.team.internal.ccvs.ui.operations.CommitOperation;
-
-public class MapProject implements IResourceChangeListener {
-
- private static MapProject mapProject = null;
- private IProject project;
- private MapFile[] mapFiles;
-
- /**
- * Return the default map project (org.eclipse.releng) or
- * <code>null</code> if the project does not exist or there
- * is an error processing it. If there is an error, it
- * will be logged.
- * @return the default map project
- */
- public static MapProject getDefaultMapProject(){
- if (mapProject == null) {
- IProject project = getProjectFromWorkspace();
- try {
- mapProject = new MapProject(project);
- } catch (CoreException e) {
- RelEngPlugin.log(e);
- }
- }
-
- return mapProject;
- }
-
- private static IProject getProjectFromWorkspace() {
- IWorkspace workspace = ResourcesPlugin.getWorkspace();
- IWorkspaceRoot root = workspace.getRoot();
- IProject project = root.getProject(RelEngPlugin.MAP_PROJECT_NAME);
- return project;
- }
-
- public MapProject(IProject p) throws CoreException {
- this.project = p;
- ResourcesPlugin.getWorkspace().addResourceChangeListener(this, IResourceChangeEvent.POST_CHANGE);
- loadMapFiles();
- }
-
- public IProject getProject() {
- return project;
- }
-
- public void setProject(IProject p){
- this.project = p;
- }
-
- private MapFile getMapFile(IProject p){
- for (int i = 0; i< mapFiles.length; i++){
- if (mapFiles[i].contains(p)) {
- return mapFiles[i];
- }
- }
- return null;
- }
-
- /**
- * Return the MapEntry for the given project
- * @param string
- * @param string1
- */
- public MapEntry getMapEntry(IProject p) {
- MapFile file = getMapFile(p);
- if (file != null) {
- return file.getMapEntry(p);
- }
- return null;
- }
-
- public boolean mapsAreLoaded() {
- return project.exists();
- }
-
- public MapFile[] getValidMapFiles(){
- List list = new ArrayList();
- for (int i = 0; i <mapFiles.length; i++){
- IProject[] projects = mapFiles[i].getAccessibleProjects();
- if( projects!= null && projects.length > 0){
- list.add(mapFiles[i]);
- }
- }
- return (MapFile[])list.toArray(new MapFile[list.size()]);
- }
-
- /**
- * @param aProject The map entry of the specified project will be changed to the specified tag
- * @param tag The specified tag
- * @return returns if no map file having such a map entry is found
- */
- public void updateFile(IProject aProject, String tag) throws CoreException {
- MapFile aFile = getMapFile(aProject);
- if (aFile == null)return;
- MapContentDocument changed = new MapContentDocument(aFile);
- changed.updateTag(aProject, tag);
- if (changed.isChanged()) {
- aFile.getFile().setContents(changed.getContents(), IFile.KEEP_HISTORY, null);
- }
- }
-
- public void commitMapProject(String comment, IProgressMonitor monitor) throws CoreException{
- List localOptions = new ArrayList();
- localOptions.add(Commit.makeArgumentOption(Command.MESSAGE_OPTION, comment));
- LocalOption[] commandOptions = (LocalOption[])localOptions.toArray(new LocalOption[localOptions.size()]);
- try {
- new CommitOperation(null, new IResource[] { project }, commandOptions).run(monitor);
- } catch (InvocationTargetException e) {
- throw TeamException.asTeamException(e);
- } catch (InterruptedException e) {
- // Ignore;
- }
- }
-
- private CVSTeamProvider getProvider(IResource resource) {
- return (CVSTeamProvider)RepositoryProvider.getProvider(resource.getProject());
- }
-
- public MapFile[] getMapFilesFor(IProject[] projects){
- Set alist = new HashSet();
- for(int i = 0; i<projects.length; i++){
- MapFile aMapFile = getMapFile(projects[i]);
- alist.add(aMapFile);
- }
- return (MapFile[])alist.toArray(new MapFile[alist.size()]);
- }
-
- /**
- * Get the tags for the given projects. If no tag is found
- * for whatever reason, HEAD is used.
- * @param projects
- * @return
- */
- public CVSTag[] getTagsFor(IProject[] projects){
- if(projects == null || projects.length == 0)return null;
- CVSTag[] tags = new CVSTag[projects.length];
- for (int i = 0; i < tags.length; i++){
- MapEntry entry = getMapEntry(projects[i]);
- if (entry == null) tags[i] = CVSTag.DEFAULT;
- else tags[i] = entry.getTag();
- }
- return tags;
- }
- /**
- * Deregister the IResourceChangeListner. It is reserved for use in the future. It is never called
- * for now
- */
- public void dispose(){
- ResourcesPlugin.getWorkspace().removeResourceChangeListener(this);
- }
-
- /**
- * @see IResourceChangeListener#resourceChanged(IResourceChangeEvent)
- */
- public void resourceChanged(IResourceChangeEvent event) {
- IResourceDelta root = event.getDelta();
-
- //TODO: Need to add code to handle map project deletion, addition and rename
- IResourceDelta folderDelta = root.findMember(getMapFolder().getFullPath());
- if (folderDelta == null) return;
-
- //Handle map files deletion, addition and rename
- IResourceDelta[] deltas = folderDelta.getAffectedChildren();
- if(deltas == null || deltas.length == 0) return;
- for (int i = 0; i < deltas.length; i++) {
- IResourceDelta delta = deltas[i];
- if(delta.getResource().getType() == IResource.FILE){
- try{
- IFile aFile = (IFile)(delta.getResource());
- MapFile mFile = null;
- if(isMapFile(aFile)){
- // Handle content change
- if(delta.getKind() == IResourceDelta.CHANGED){
- mFile = getMapFileFor(aFile);
- mFile.loadEntries();
- }
- //Handle deletion. We cannot simply remove the map file directly bacause we have to call
- //getMapFileFor(IFile) in order to do so. But the IFile is already deleted. So we have to
- //reconstuct the map files.
- if(delta.getKind() == IResourceDelta.REMOVED ){
- loadMapFiles();
- }
- // Handle addition
- if(delta.getKind() == IResourceDelta.ADDED ){
- mFile = getMapFileFor(aFile);
- addMapFile(mFile);
- }
- }
- } catch (CoreException e) {
- RelEngPlugin.log(e);
- }
- }
- }
- }
-
- private IFolder getMapFolder(){
- return getProject().getFolder(RelEngPlugin.MAP_FOLDER);
- }
- private void loadMapFiles() throws CoreException {
- IFolder folder = project.getFolder(RelEngPlugin.MAP_FOLDER);
- if(!folder.exists()) {
- mapFiles = new MapFile[0];
- return;
- }
- IResource[] resource = folder.members();
- if (resource != null) {
- List list = new ArrayList();
- for (int i = 0; i < resource.length; i++) {
- //In case there are some sub folders
- if(resource[i].getType() == IResource.FILE){
- IFile file = (IFile) resource[i];
- if(isMapFile(file)){
- list.add(new MapFile(file));
- }
- }
- }
- mapFiles = (MapFile[])list.toArray(new MapFile[list.size()]);
- } else {
- mapFiles = new MapFile[0];
- }
- }
-
- private MapFile getMapFileFor(IFile file) throws CoreException{
- for(int i = 0; i < mapFiles.length; i++){
- if (mapFiles[i].getFile().equals(file))
- return mapFiles[i];
- }
- return new MapFile(file);
- }
- private void removeMapFile(MapFile aFile){
- ArrayList list = new ArrayList(Arrays.asList(mapFiles));
- if(list.contains(aFile)){
- if(list.size() <= 1){
- mapFiles = null;
- }else{
- list.remove(aFile);
- mapFiles = (MapFile[])list.toArray(new MapFile[list.size()]);
- }
- }
- }
- private void addMapFile(MapFile aFile){
- Set set = new HashSet(Arrays.asList(mapFiles));
- set.add(aFile);
- mapFiles = (MapFile[])set.toArray(new MapFile[set.size()]);
- }
- private boolean isMapFile(IFile aFile){
- String extension = aFile.getFileExtension();
- //In case file has no extension name or is not validate map file
- return ( extension != null && extension.equals(MapFile.MAP_FILE_EXTENSION));
- }
-}
diff --git a/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/MapProjectSelectionPage.java b/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/MapProjectSelectionPage.java
deleted file mode 100644
index 5dbc2c3..0000000
--- a/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/MapProjectSelectionPage.java
+++ /dev/null
@@ -1,204 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-
-package org.eclipse.releng.tools;
-
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.jface.dialogs.Dialog;
-import org.eclipse.jface.dialogs.IDialogSettings;
-import org.eclipse.jface.resource.ImageDescriptor;
-import org.eclipse.jface.viewers.ISelection;
-import org.eclipse.jface.viewers.ISelectionChangedListener;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.jface.viewers.SelectionChangedEvent;
-import org.eclipse.jface.viewers.StructuredSelection;
-import org.eclipse.jface.viewers.TreeViewer;
-import org.eclipse.jface.wizard.WizardPage;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.events.SelectionAdapter;
-import org.eclipse.swt.events.SelectionEvent;
-import org.eclipse.swt.layout.GridData;
-import org.eclipse.swt.layout.GridLayout;
-import org.eclipse.swt.widgets.Button;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Tree;
-import org.eclipse.team.core.RepositoryProvider;
-import org.eclipse.ui.model.WorkbenchContentProvider;
-import org.eclipse.ui.model.WorkbenchLabelProvider;
-import org.eclipse.ui.views.navigator.ResourceSorter;
-
-public class MapProjectSelectionPage extends WizardPage {
-
- private IDialogSettings settings;
- private MapProject mapProject;
- private TreeViewer projectTree;
- private Button useDefaultButton;
- private Button useOtherButton;
- private boolean useDefaults;
- private String DEFAULT_BUTTON_KEY;
- private String SELECTED_PROJECT_KEY;
-
- public MapProjectSelectionPage(String pageName,
- String title,
- IDialogSettings settings,
- ImageDescriptor image) {
- super(pageName, title, image);
- this.settings = settings;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jface.dialogs.IDialogPage#createControl(org.eclipse.swt.widgets.Composite)
- */
- public void createControl(Composite parent) {
- Composite topContainer = new Composite(parent, SWT.NONE);
- topContainer.setLayout(new GridLayout());
- topContainer.setLayoutData(new GridData(GridData.FILL_BOTH));
-
- useDefaultButton = new Button(topContainer, SWT.RADIO);
- useDefaultButton.setText("Use default map project (org.eclipse.releng)");
- useDefaultButton.addSelectionListener(new SelectionAdapter() {
- public void widgetSelected(SelectionEvent e) {
- useDefaults = useDefaultButton.getSelection();
- updateOthers();
- }
- });
-
- useOtherButton = new Button(topContainer, SWT.RADIO);
- useOtherButton.setText("Specify the map project you want to use");
- useOtherButton.addSelectionListener(new SelectionAdapter() {
- public void widgetSelected(SelectionEvent e) {
- useDefaults = !useOtherButton.getSelection();
- updateOthers();
- }
- });
-
- projectTree = createTree(topContainer);
- projectTree.setInput(RelEngPlugin.getWorkspace().getRoot());
- Runnable refresh = new Runnable() {
- public void run() {
- getShell().getDisplay().syncExec(new Runnable() {
- public void run() {
- projectTree.refresh();
- }
- });
- }
- };
-
- Dialog.applyDialogFont(parent);
- initializedViewer();
- setControl(topContainer);
- }
-
- protected TreeViewer createTree(Composite parent) {
- Tree tree = new Tree(parent, SWT.SINGLE | SWT.BORDER);
- GridData gd= new GridData(GridData.FILL_BOTH);
- gd.heightHint= tree.getItemHeight() * 15;
- tree.setLayoutData(gd);
- TreeViewer result = new TreeViewer(tree);
- result.setContentProvider(new WorkbenchContentProvider());
- result.setLabelProvider(new WorkbenchLabelProvider());
- result.addSelectionChangedListener(new ISelectionChangedListener() {
- public void selectionChanged(SelectionChangedEvent event) {
- updateOthers();
- }
- });
- result.setSorter(new ResourceSorter(ResourceSorter.NAME));
- return result;
- }
-
- private void updateMapProject(){
- if(useDefaults){
- mapProject = MapProject.getDefaultMapProject();
- }else{
- IStructuredSelection selection = (IStructuredSelection)projectTree.getSelection();
- if( !selection.isEmpty()){
- Object obj = selection.getFirstElement();
- if(obj instanceof IProject){
- try {
- mapProject = new MapProject((IProject)obj);
- if(mapProject.getValidMapFiles().length == 0){
- mapProject = null;
- }
- } catch (CoreException e) {
- mapProject = null;
- }
- }
- }else{
- mapProject = null;
- }
- }
- if(isValid(mapProject)){
- ((ReleaseWizard)getWizard()).boadcastMapProjectChange(mapProject);
- setPageComplete( true);
- }else{
- setPageComplete(false);
- }
-
- }
-
- private void initializedViewer(){
- if(settings == null){
- useDefaults = true;
- }else{
- readSettings();
- }
- useDefaultButton.setSelection(useDefaults);
- useOtherButton.setSelection(!useDefaults);
- updateOthers();
- }
-
- private void updateOthers(){
- projectTree.getTree().setEnabled(!useDefaults);
- updateMapProject();
- }
-
- private void readSettings(){
- if(settings.get(DEFAULT_BUTTON_KEY) != null){
- useDefaults = settings.getBoolean(DEFAULT_BUTTON_KEY);
- }else{
- useDefaults = true;
- }
- String name = settings.get(SELECTED_PROJECT_KEY);
- if(!useDefaults && name != null){
- ISelection selection = new StructuredSelection(RelEngPlugin.getWorkspace().getRoot().getProject(name));
- projectTree.setSelection(selection);
- projectTree.getTree().setFocus();
- }
- }
- public void saveSettings(){
- settings.put(DEFAULT_BUTTON_KEY, useDefaults);
- IStructuredSelection selection = (IStructuredSelection)projectTree.getSelection();
- if(!selection.isEmpty()){
- Object obj = selection.getFirstElement();
- if(obj instanceof IProject){
- settings.put(SELECTED_PROJECT_KEY, ((IProject)obj).getName());
- }
- }
- }
-
- private boolean isValid(final MapProject mapProject){
- //Check if map project is accessible
- if(mapProject==null || (!mapProject.getProject().isAccessible())){
- setErrorMessage("Invalid map project selected");
- return false;
- }
-
- //Check if the map project is shared
- if(RepositoryProvider.getProvider(mapProject.getProject()) == null){
- setErrorMessage("Project " + mapProject.getProject().getName()+" is not shared");
- return false;
- }
- setErrorMessage(null);
- return true;
- }
-}
diff --git a/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/Messages.java b/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/Messages.java
deleted file mode 100644
index a40f026..0000000
--- a/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/Messages.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.releng.tools;
-import java.util.MissingResourceException;
-import java.util.ResourceBundle;
-
-public class Messages {
- private static final String BUNDLE_NAME = "org.eclipse.releng.tools.messages";//$NON-NLS-1$
- private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle
- .getBundle(BUNDLE_NAME);
-
- private Messages() {
- // TODO Auto-generated constructor stub
- }
-
- public static String getString(String key) {
- // TODO Auto-generated method stub
- try {
- return RESOURCE_BUNDLE.getString(key);
- } catch (MissingResourceException e) {
- return '!' + key + '!';
- }
- }
-}
diff --git a/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/ProjectComparePage.java b/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/ProjectComparePage.java
deleted file mode 100644
index ff8319a..0000000
--- a/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/ProjectComparePage.java
+++ /dev/null
@@ -1,187 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.releng.tools;
-
-import java.lang.reflect.InvocationTargetException;
-import org.eclipse.compare.CompareConfiguration;
-import org.eclipse.core.resources.*;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.jface.operation.IRunnableWithProgress;
-import org.eclipse.jface.resource.ImageDescriptor;
-import org.eclipse.jface.wizard.WizardPage;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.graphics.Font;
-import org.eclipse.swt.layout.GridData;
-import org.eclipse.swt.layout.GridLayout;
-import org.eclipse.swt.widgets.*;
-import org.eclipse.team.core.TeamException;
-import org.eclipse.team.internal.ccvs.core.*;
-import org.eclipse.team.internal.ccvs.core.CVSCompareSubscriber;
-import org.eclipse.team.internal.ccvs.core.CVSTag;
-import org.eclipse.team.internal.ccvs.ui.CVSUIPlugin;
-import org.eclipse.team.internal.ccvs.ui.subscriber.CompareParticipant;
-import org.eclipse.team.ui.synchronize.*;
-import org.eclipse.ui.part.PageBook;
-
-/**
- *This class extends <code>WizardPage<code>. It utilizes a <code>PageBook<code> to show user
- *whether there are any changed projects or not since last release. It also shows a compare
- *editor if there is any changed project detected
- */
-public class ProjectComparePage extends WizardPage{
-
- private PageBook pageBook;
- private Control compareView;
- private Label noneChangeMessage;
- private MapProject mapProject;
- private ISynchronizePageConfiguration configuration;
- private ParticipantPageSaveablePart input;
-
- public ProjectComparePage(String pageName,
- String title,
- ImageDescriptor image) {
- super(pageName, title, image);
- }
- /* (non-Javadoc)
- * @see org.eclipse.jface.dialogs.IDialogPage#createControl(org.eclipse.swt.widgets.Composite)
- */
- public void createControl(Composite parent) {
- Font font = parent.getFont();
- GridData data = new GridData(GridData.FILL_BOTH);
-
- Composite composite = new Composite(parent, SWT.NONE);
- composite.setLayout(new GridLayout());
- composite.setLayoutData(data);
- composite.setFont(font);
-
- pageBook = new PageBook(composite, SWT.NONE);
- composite.setLayout(new GridLayout());
- pageBook.setLayoutData(new GridData(GridData.FILL_BOTH));
- pageBook.setFont(font);
-
- input = createCompareInput();
- input.createPartControl(pageBook);
- compareView = input.getControl();
- compareView.setFont(font);
- compareView.setLayoutData(data);
-
- noneChangeMessage = new Label(pageBook,SWT.WRAP);
- noneChangeMessage.setText(Messages.getString("ProjectComparePage.1")); //$NON-NLS-1$
- noneChangeMessage.setLayoutData(data);
- noneChangeMessage.setFont(font);
-
- setControl(composite);
- }
-
-
- /* (non-Javadoc)
- * @see org.eclipse.jface.dialogs.IDialogPage#setVisible(boolean)
- */
- public void setVisible(boolean visible) {
- super.setVisible(visible);
- if (visible) {
- final ReleaseWizard wizard = (ReleaseWizard)getWizard();
- try {
- //Get updated selected project in case that some projects have outgoing changes and excluded by user
- wizard.updateSelectedProject();
-
- //Get the finalized selected projects and the associated tags from existing map files
- final IProject[] projects = wizard.getSelectedProjects();
- final CVSTag[] tags = mapProject.getTagsFor(projects);
-
- //Collect all the out-of-sync projects from selected projects and update the selected project again
- getContainer().run(true, true, new IRunnableWithProgress() {
- public void run(IProgressMonitor monitor)
- throws InvocationTargetException, InterruptedException {
- IResource[] r = null;
- if(projects != null && projects.length != 0){
- try {
- r = getOutOfSyncProjects(projects, tags, monitor);
- wizard.setSelectedProjects(r);
- } catch (TeamException e) {
- throw new InvocationTargetException(e);
- }
- }
- }
- });
-
- //Show no-project-changed information on the page book if condition satisfied
- if( wizard.getSelectedProjects()== null||wizard.getSelectedProjects().length == 0){
- setPageComplete(false);
- pageBook.showPage(noneChangeMessage);
- }
- //Open a compare editor otherwise
- else{
- setPageComplete(true);
- pageBook.showPage(compareView);
- }
- } catch (InvocationTargetException e) {
- CVSUIPlugin.openError(getShell(), null, null, e);
- } catch (InterruptedException e) {
- CVSUIPlugin.openError(getShell(), null, null, e);
- }
- }
- //When the page is invisible, it should not affect the wizard work flow by anyway
- else {
- setPageComplete(true);
- }
- }
- public void updateMapProject(MapProject m){
- mapProject = m;
- }
-
- private ParticipantPageSaveablePart createCompareInput() {
- ISynchronizeParticipant participant = new CompareParticipant(new CVSCompareSubscriber(new IResource[0], new CVSTag[0], "RelEng Release"));
- configuration = participant.createPageConfiguration();
- configuration.setMenuGroups(ISynchronizePageConfiguration.P_TOOLBAR_MENU, new String[] {
- ISynchronizePageConfiguration.NAVIGATE_GROUP,
- ISynchronizePageConfiguration.LAYOUT_GROUP });
- configuration.setMenuGroups(ISynchronizePageConfiguration.P_CONTEXT_MENU, new String[0]);
-
- CompareConfiguration cc = new CompareConfiguration();
- cc.setLeftEditable(false);
- cc.setRightEditable(false);
- ParticipantPageSaveablePart part = new ParticipantPageSaveablePart(getShell(), cc, configuration, participant);
-
- // will be reset when setVisible is called
- setPageComplete(true);
-
- return part;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jface.dialogs.IDialogPage#dispose()
- */
- public void dispose() {
- super.dispose();
- input.getParticipant().dispose();
- input.dispose();
- }
-
- /**
- * Return the list of projects that are out-of-sync
- */
- public IResource[] getOutOfSyncProjects(IProject[] projects, CVSTag[] tags, IProgressMonitor monitor) throws TeamException {
- CompareParticipant participant = (CompareParticipant)input.getParticipant();
- CVSCompareSubscriber subscriber = (CVSCompareSubscriber)participant.getSubscriber();
- subscriber.resetRoots(projects, tags);
- try {
- subscriber.primeRemoteTree();
- } catch (CVSException e) {
- // Log and ignore
- RelEngPlugin.log(e);
- }
- participant.refreshNow(projects, "", monitor);
- IResource[] r = participant.getSyncInfoSet().members(ResourcesPlugin.getWorkspace().getRoot());
- return r;
- }
-}
-
diff --git a/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/ProjectSelectionPage.java b/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/ProjectSelectionPage.java
deleted file mode 100644
index 9e7924e..0000000
--- a/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/ProjectSelectionPage.java
+++ /dev/null
@@ -1,272 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.releng.tools;
-
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.Iterator;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.jface.dialogs.IDialogSettings;
-import org.eclipse.jface.resource.ImageDescriptor;
-import org.eclipse.jface.viewers.CheckStateChangedEvent;
-import org.eclipse.jface.viewers.CheckboxTreeViewer;
-import org.eclipse.jface.viewers.ICheckStateListener;
-import org.eclipse.jface.viewers.IContentProvider;
-import org.eclipse.jface.viewers.LabelProvider;
-import org.eclipse.jface.wizard.WizardPage;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.events.SelectionAdapter;
-import org.eclipse.swt.events.SelectionEvent;
-import org.eclipse.swt.graphics.Font;
-import org.eclipse.swt.graphics.Image;
-import org.eclipse.swt.layout.GridData;
-import org.eclipse.swt.layout.GridLayout;
-import org.eclipse.swt.widgets.Button;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Label;
-import org.eclipse.ui.internal.dialogs.ContainerCheckedTreeViewer;
-import org.eclipse.ui.model.WorkbenchContentProvider;
-import org.eclipse.ui.model.WorkbenchLabelProvider;
-
-
-/**
- * This class extends <code>WizardPage<code> class and use a <code>CheckboxTreeViewer<code> to
- * display selectable items.
- */
-public class ProjectSelectionPage extends WizardPage {
- private CheckboxTreeViewer viewer;
- private IDialogSettings settings;
- private Button compareButton;
- private boolean compareButtonChecked;
- private String SELECTED_ITEMS_KEY = Messages.getString("ProjectSelectionPage.0"); //$NON-NLS-1$
- private String COMPARE_BUTTON_KEY = Messages.getString("ProjectSelectionPage.1"); //$NON-NLS-1$
- private MapProject mapProject;
-
- private class MapFileLabelProvider extends LabelProvider {
- WorkbenchLabelProvider provider = new WorkbenchLabelProvider();
- public String getText(Object element) {
- if (element instanceof MapFile) {
- return ((MapFile)element).getName();
- }
- return provider.getText(element);
- }
- public Image getImage(Object element) {
- if (element instanceof MapFile) {
- return provider.getImage(((MapFile)element).getFile());
- }
- return provider.getImage(element);
- }
- public void dispose() {
- provider.dispose();
- super.dispose();
- }
- }
-
- public ProjectSelectionPage(String pageName,
- String title,
- IDialogSettings settings,
- ImageDescriptor image) {
- super(pageName, title, image);
- this.settings = settings;
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.jface.dialogs.IDialogPage#createControl(org.eclipse.swt.widgets.Composite)
- */
- public void createControl(Composite parent) {
- Font font = parent.getFont();
-
- Composite topContainer = new Composite(parent, SWT.NONE);
- topContainer.setLayout(new GridLayout());
- topContainer.setLayoutData(new GridData(GridData.FILL_BOTH));
-
- Label label = new Label(topContainer, SWT.HORIZONTAL);
- label.setFont(font);
- label.setText(Messages.getString("ProjectSelectionPage.2")); //$NON-NLS-1$
-
- viewer = new ContainerCheckedTreeViewer(topContainer, SWT.SINGLE | SWT.H_SCROLL
- | SWT.V_SCROLL | SWT.BORDER);
- GridData gd= new GridData(GridData.FILL_BOTH);
- gd.heightHint= viewer.getTree().getItemHeight() * 15;
- viewer.getTree().setLayoutData(gd);
- viewer.getTree().setFont(font);
- viewer.setLabelProvider(new MapFileLabelProvider());
- viewer.setContentProvider(getContentProvider());
- viewer.setInput(mapProject);
- viewer.expandAll();
- viewer.addCheckStateListener(new ICheckStateListener(){
- public void checkStateChanged(CheckStateChangedEvent event) {
- updatePageComplete();
- }
- });
-
- compareButton = new Button(topContainer,SWT.CHECK);
- compareButton.setText(Messages.getString("ProjectSelectionPage.3")); //$NON-NLS-1$
- compareButton.setFont(font);
- compareButton.addSelectionListener(new SelectionAdapter() {
- public void widgetSelected(SelectionEvent e) {
- compareButtonChecked = compareButton.getSelection();
- }
- });
-
- initialize();
- setControl(topContainer);
- }
- /**
- * Returns the content provider for the viewer
- */
- private IContentProvider getContentProvider() {
- return new WorkbenchContentProvider() {
- public Object[] getChildren(Object parentElement) {
- if (parentElement instanceof MapProject) {
- return mapProject.getValidMapFiles();
- }
- if (parentElement instanceof MapFile) {
- return ((MapFile)parentElement).getAccessibleProjects();
- }
- return null;
- }
-
- public boolean hasChildren(Object element) {
- if (element instanceof MapFile) {
- return ((MapFile)element).getAccessibleProjects().length > 0;
- }
- return false;
- }
- };
- }
-
- /**
- * Returns all the checked items if they are IProject
- */
- public IProject[] getCheckedProjects(){
- ArrayList projectsToRelease = new ArrayList();
- Object[] obj = viewer.getCheckedElements();
- if (obj == null)return null;
- for(int i = 0; i < obj.length; i++){
- if (obj[i] instanceof IProject)
- projectsToRelease.add(obj[i]);
- }
- return (IProject[])projectsToRelease.toArray(new IProject[projectsToRelease.size()]);
- }
-
- private void readProjectSettings(){
- if( settings == null) return;
- if(settings.getArray(SELECTED_ITEMS_KEY) != null){
- ArrayList nameList = new ArrayList(Arrays.asList(settings.getArray(SELECTED_ITEMS_KEY)));
- if(nameList != null){
- Iterator iter = nameList.iterator();
- while(iter.hasNext()){
- String name = (String)iter.next();
- IProject project = getProjectWithName(name);
- if(project != null){
- viewer.setChecked(project,true);
- }
- }
- }
- }
- }
-
- private void initCompareEnablement(){
- if( settings == null || settings.get(COMPARE_BUTTON_KEY) == null) {
- compareButton.setSelection( true);
- compareButtonChecked = true;
- return;
- }else{
- boolean b = settings.getBoolean(COMPARE_BUTTON_KEY);
- compareButton.setSelection(b);
- compareButtonChecked = b;
- }
- }
-
- /**
- * Save the checked items and the checkbox options to dialog settings
- */
- public void saveSettings(){
- Object[] obj = viewer.getCheckedElements();
- ArrayList names = new ArrayList();
- for (int i = 0; i < obj.length; i++){
- if(obj[i] instanceof IProject){
- names.add(((IProject)obj[i]).getName());
- }
- }
- settings.put(SELECTED_ITEMS_KEY, (String[])names.toArray(new String[names.size()]));
- settings.put(COMPARE_BUTTON_KEY, compareButtonChecked);
- }
-
- private void initialize(){
- initCheckedProjects();
- initCompareEnablement();
- updatePageComplete();
- }
-
- private void initCheckedProjects(){
- IProject[] p = ((ReleaseWizard)getWizard()).getPreSelectedProjects( );
- if(p != null){
- viewer.setCheckedElements(p);
- }else{
- readProjectSettings();
- }
- }
-
- /**
- * Called by <code>readSettings()<code> to return the project associated with the given name
- */
- private IProject getProjectWithName(String name){
- IProject project = ResourcesPlugin.getWorkspace().getRoot().getProject(name);
- if(project.exists() && project.isAccessible())
- return project;
- return null;
- }
-
- public boolean isCompareButtonChecked(){
- return compareButtonChecked;
- }
-
- /**
- *This page will not complete until at least one project is checked
- */
- private void updatePageComplete(){
- Object[] obj = viewer.getCheckedElements();
- if(obj.length > 0){
- for(int i = 0; i < obj.length; i++){
- //Exclude the situation that an empty shown map file is selected
- if(obj[i] instanceof IProject){
- setPageComplete(true);
- break;
- }
- }
- }
- else{
- setPageComplete(false);
- }
- }
-
- private CheckboxTreeViewer getViewer(){
- return viewer;
- }
-
- public void setSelection(IProject[] projects) {
- if(projects != null && projects.length > 0){
- getViewer().setCheckedElements(projects);
- }
- }
- public void updateMapProject(MapProject m){
- mapProject = m;
- if(viewer != null){
- viewer.setInput(mapProject);
- }
- }
-}
diff --git a/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/ProjectValidationDialog.java b/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/ProjectValidationDialog.java
deleted file mode 100644
index d5b89f3..0000000
--- a/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/ProjectValidationDialog.java
+++ /dev/null
@@ -1,73 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.releng.tools;
-
-import org.eclipse.compare.CompareConfiguration;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.swt.widgets.Display;
-import org.eclipse.swt.widgets.Shell;
-import org.eclipse.team.core.TeamException;
-import org.eclipse.team.internal.ccvs.core.CVSCompareSubscriber;
-import org.eclipse.team.internal.ccvs.core.CVSTag;
-import org.eclipse.team.internal.ccvs.ui.subscriber.CompareParticipant;
-import org.eclipse.team.ui.SaveablePartAdapter;
-import org.eclipse.team.ui.synchronize.ISynchronizePageConfiguration;
-import org.eclipse.team.ui.synchronize.ISynchronizeParticipant;
-import org.eclipse.team.ui.synchronize.ParticipantPageDialog;
-import org.eclipse.team.ui.synchronize.ParticipantPageSaveablePart;
-
-/**
- *It extends <code>Dialog<code>. This dialog will show up if <code>isValidateButtonSelected()<code>
- *in <code>TagPage<code> returns true
- */
-public class ProjectValidationDialog extends ParticipantPageDialog {
-
- private String title = Messages.getString("ProjectValidationDialog.2"); //$NON-NLS-1$
-
- public static void validateRelease(final Shell shell, final IProject[] p, final CVSTag[] tags, IProgressMonitor monitor) throws TeamException{
- final CompareParticipant participant = new CompareParticipant(new CVSCompareSubscriber(p, tags, Messages.getString("ReleaseWizard.20"))); //$NON-NLS-1$
- try {
- participant.refreshNow(p, Messages.getString("ReleaseWizard.20"), monitor); //$NON-NLS-1$
- if (!participant.getSyncInfoSet().isEmpty()) {
- Display.getDefault().syncExec(new Runnable() {
- public void run() {
- openValidationFailedDialog(shell, participant);
- }
- });
- }
- } finally {
- participant.dispose();
- }
- }
-
- private static void openValidationFailedDialog(Shell shell, CompareParticipant participant) {
- ISynchronizePageConfiguration configuration = participant.createPageConfiguration();
- configuration.setMenuGroups(ISynchronizePageConfiguration.P_TOOLBAR_MENU, new String[] {
- ISynchronizePageConfiguration.NAVIGATE_GROUP,
- ISynchronizePageConfiguration.LAYOUT_GROUP });
- configuration.setMenuGroups(ISynchronizePageConfiguration.P_CONTEXT_MENU, new String[0]);
-
- CompareConfiguration cc = new CompareConfiguration();
- cc.setLeftEditable(false);
- cc.setRightEditable(false);
- ParticipantPageSaveablePart part = new ParticipantPageSaveablePart(shell, cc, configuration, participant);
-
- ProjectValidationDialog dialog = new ProjectValidationDialog(shell, part, participant); //$NON-NLS-1$
- dialog.open();
- }
-
- public ProjectValidationDialog(Shell shell, SaveablePartAdapter input,
- ISynchronizeParticipant participant) {
- super(shell, input, participant);
- shell.setText(title);
- }
-}
diff --git a/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/PropertiesFile.java b/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/PropertiesFile.java
deleted file mode 100644
index a5119be..0000000
--- a/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/PropertiesFile.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.releng.tools;
-
-import org.eclipse.core.resources.IFile;
-
-/**
- * @author droberts
- */
-public class PropertiesFile extends SourceFile {
-
- /**
- * @param file
- */
- public PropertiesFile(IFile file) {
- super(file);
- }
-
- /* (non-Javadoc)
- * @see Test.popup.actions.SourceFile#getCommentStart()
- */
- public String getCommentStart() {
- return "##";
- }
-
- /* (non-Javadoc)
- * @see Test.popup.actions.SourceFile#getCommentEnd()
- */
- public String getCommentEnd() {
- return "##";
- }
-
-}
diff --git a/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/RelEngPlugin.java b/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/RelEngPlugin.java
deleted file mode 100644
index 6266a9d..0000000
--- a/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/RelEngPlugin.java
+++ /dev/null
@@ -1,154 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-
-package org.eclipse.releng.tools;
-
-import java.util.MissingResourceException;
-import java.util.ResourceBundle;
-
-import org.eclipse.core.resources.IWorkspace;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IPluginDescriptor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.ui.plugin.AbstractUIPlugin;
-
-/**
- * A Plugin for performing certain important RelEng tasks.
- * Currentley this Plugin provides support for:
- * RelEng Map File Validator Builder and associated project nature
- */
-public class RelEngPlugin extends AbstractUIPlugin {
-
- public static final String ID = "org.eclipse.releng.tools"; //$NON-NLS-1$
- public static final String MAP_PROJECT_NAME = Messages.getString("RelEngPlugin.1"); //$NON-NLS-1$
- public static final String MAP_FOLDER = Messages.getString("RelEngPlugin.2"); //$NON-NLS-1$
-
- //The shared instance.
- private static RelEngPlugin plugin;
- //Resource bundle.
- private ResourceBundle resourceBundle;
-
- /**
- * The constructor.
- */
- public RelEngPlugin(IPluginDescriptor descriptor) {
- super(descriptor);
- plugin = this;
- try {
- resourceBundle= ResourceBundle.getBundle(ID + Messages.getString("RelEngPlugin.3")); //$NON-NLS-1$
- } catch (MissingResourceException x) {
- resourceBundle = null;
- }
- }
-
- /**
- * Returns the shared instance.
- */
- public static RelEngPlugin getDefault() {
- return plugin;
- }
-
- /**
- * Returns the workspace instance.
- */
- public static IWorkspace getWorkspace() {
- return ResourcesPlugin.getWorkspace();
- }
-
- /**
- * Returns the string from the plugin's resource bundle,
- * or 'key' if not found.
- */
- public static String getResourceString(String key) {
- ResourceBundle bundle= RelEngPlugin.getDefault().getResourceBundle();
- try {
- return bundle.getString(key);
- } catch (MissingResourceException e) {
- return key;
- }
- }
-
- /**
- * Returns the plugin's resource bundle,
- */
- public ResourceBundle getResourceBundle() {
- return resourceBundle;
- }
- /**
- * Convenience method for logging CoreExceptions to the plugin log
- */
- public static void log(CoreException e) {
- log(e.getStatus().getSeverity(), e.getMessage(), e);
- }
-
- /**
- * Log the given exception along with the provided message and severity indicator
- */
- public static void log(int severity, String message, Throwable e) {
- log(new Status(severity, ID, 0, message, e));
- }
-
- /**
- * Log the given status. Do not use this method for the IStatus from a CoreException.
- * Use<code>log(CoreException)</code> instead so the stack trace is not lost.
- */
- public static void log(IStatus status) {
- getPlugin().getLog().log(status);
- }
- /**
- * Returns the singleton plug-in instance.
- *
- * @return the plugin instance
- */
- public static RelEngPlugin getPlugin() {
- // If the instance has not been initialized, we will wait.
- // This can occur if multiple threads try to load the plugin at the same
- // time (see bug 33825: http://bugs.eclipse.org/bugs/show_bug.cgi?id=33825)
- while (plugin == null) {
- try {
- Thread.sleep(50);
- } catch (InterruptedException e) {
- // ignore and keep trying
- }
- }
- return plugin;
- }
-
- /**
- * The following code is a sample of how to assign a
- * RelEng nature to a project. This only ever needed
- * to be done once to set up org.eclipse.releng project
- * with the desired nature
- */
-// private void assignNature() {
-// IWorkspace workspace = ResourcesPlugin.getWorkspace();
-// IWorkspaceRoot workspaceRoot = workspace.getRoot();
-// IProject aProject = workspaceRoot.getProject();
-//
-//
-// try {
-// IProjectDescription description;
-// description = aProject.getDescription();
-// String[] natures = description.getNatureIds();
-// String[] newNatures = new String[natures.length + 1];
-// System.arraycopy(natures, 0, newNatures, 0, natures.length);
-// newNatures[natures.length] = "org.eclipse.releng.tools.relEngNature";
-// description.setNatureIds(newNatures);
-// aProject.setDescription(description, null);
-// } catch (CoreException e) {
-// System.out.println("Failed to set nature");
-// e.printStackTrace();
-// }
-//
-// }
-}
diff --git a/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/ReleaseWizard.java b/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/ReleaseWizard.java
deleted file mode 100644
index adddba0..0000000
--- a/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/ReleaseWizard.java
+++ /dev/null
@@ -1,311 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.releng.tools;
-import java.lang.reflect.InvocationTargetException;
-import java.util.HashSet;
-import java.util.Set;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.SubProgressMonitor;
-import org.eclipse.jface.dialogs.Dialog;
-import org.eclipse.jface.dialogs.IDialogSettings;
-import org.eclipse.jface.operation.IRunnableWithProgress;
-import org.eclipse.jface.window.Window;
-import org.eclipse.jface.wizard.*;
-import org.eclipse.swt.widgets.Shell;
-import org.eclipse.team.core.TeamException;
-import org.eclipse.team.internal.ccvs.core.CVSTag;
-import org.eclipse.team.internal.ccvs.ui.*;
-import org.eclipse.team.internal.ui.ITeamUIImages;
-import org.eclipse.team.internal.ui.TeamUIPlugin;
-import org.eclipse.team.internal.ui.dialogs.IPromptCondition;
-import org.eclipse.team.internal.ui.dialogs.PromptingDialog;
-
-
-public class ReleaseWizard extends Wizard {
-
- private MapProjectSelectionPage mapSelectionPage;
- private ProjectSelectionPage projectSelectionPage;
- private TagPage tagPage;
- private ProjectComparePage projectComparePage;
- private MapFileComparePage mapComparePage;
- private CommitCommentPage commentPage;
-
- private Dialog parentDialog;
- private IDialogSettings section;
-
- private MapProject mapProject;
- private IProject[] preSelectedProjects;
- private IProject[] selectedProjects;
-
-
- public ReleaseWizard() {
- setWindowTitle("Release"); //$NON-NLS-1$
- IDialogSettings settings = RelEngPlugin.getDefault().getDialogSettings();
- section = settings.getSection("ReleaseWizard");//$NON-NLS-1$
- if (section == null) {
- section = settings.addNewSection("ReleaseWizard");//$NON-NLS-1$
- }
- setDialogSettings(section);
- }
-
- public boolean execute(Shell shell) {
- setNeedsProgressMonitor(true);
- WizardDialog dialog = new WizardDialog(shell, this);
- setParentDialog(dialog);
- return (dialog.open() == Window.OK);
- }
-
- /**
- * @see org.eclipse.jface.wizard.IWizard#addPages()
- */
- public void addPages() {
- mapSelectionPage = new MapProjectSelectionPage("MapProjectSelectionPage",
- "Map Project Selection",
- section,
- TeamUIPlugin.getImageDescriptor(ITeamUIImages.IMG_WIZBAN_SHARE));
- mapSelectionPage.setDescription("Specify a map project to release projects");
- addPage(mapSelectionPage);
-
- projectSelectionPage = new ProjectSelectionPage(Messages.getString("ReleaseWizard.5"), //$NON-NLS-1$
- Messages.getString("ReleaseWizard.6"),
- section,
- TeamUIPlugin.getImageDescriptor(ITeamUIImages.IMG_WIZBAN_SHARE));
- projectSelectionPage.setDescription(Messages.getString("ReleaseWizard.7")); //$NON-NLS-1$
- addPage(projectSelectionPage);
-
- tagPage = new TagPage(Messages.getString("ReleaseWizard.8"),
- Messages.getString("ReleaseWizard.9"),
- section,
- TeamUIPlugin.getImageDescriptor(ITeamUIImages.IMG_WIZBAN_SHARE)); //$NON-NLS-1$ //$NON-NLS-2$
- tagPage.setDescription(Messages.getString("ReleaseWizard.10")); //$NON-NLS-1$
- addPage(tagPage);
-
- projectComparePage = new ProjectComparePage(Messages.getString("ReleaseWizard.11"), //$NON-NLS-1$
- Messages.getString("ReleaseWizard.12"),
- TeamUIPlugin.getImageDescriptor(ITeamUIImages.IMG_WIZBAN_SHARE)); //$NON-NLS-1$
- projectComparePage.setDescription(Messages.getString("ReleaseWizard.13")); //$NON-NLS-1$
- addPage(projectComparePage);
-
- mapComparePage = new MapFileComparePage(Messages.getString("ReleaseWizard.14"), //$NON-NLS-1$
- Messages.getString("ReleaseWizard.15"),
- TeamUIPlugin.getImageDescriptor(ITeamUIImages.IMG_WIZBAN_SHARE)); //$NON-NLS-1$
- mapComparePage.setDescription(Messages.getString("ReleaseWizard.16")); //$NON-NLS-1$
- addPage(mapComparePage);
-
- commentPage = new CommitCommentPage(parentDialog, Messages.getString("ReleaseWizard.17"), //$NON-NLS-1$
- Messages.getString("ReleaseWizard.18"), TeamUIPlugin.getImageDescriptor(ITeamUIImages.IMG_WIZBAN_SHARE), Messages.getString("ReleaseWizard.19")); //$NON-NLS-1$ //$NON-NLS-2$
- addPage(commentPage);
- }
- /**
- * @see org.eclipse.jface.wizard.Wizard#performFinish()
- */
- public boolean performFinish() {
- if(!isProjectSelected())return false;
- try {
- getContainer().run(true, true, new IRunnableWithProgress() {
- public void run(IProgressMonitor monitor)
- throws InvocationTargetException, InterruptedException {
- CVSTag tag = new CVSTag(tagPage.getTagString(), CVSTag.VERSION);
- TagAndReleaseOperation operation = new TagAndReleaseOperation(getShell(), mapProject,
- selectedProjects, tag,commentPage.getComment() );
- if (tagPage.isMoveButtonSelected()) {
- operation.moveTag();
- }
- monitor.beginTask("Releasing", 100);
- operation.run(new SubProgressMonitor(monitor, 90));
- try {
- if(tagPage.isValidateButtonSelected()){
- try {
- validateRelease(new SubProgressMonitor(monitor, 10));
- } catch (TeamException e) {
- throw new InvocationTargetException(e);
- }
- }
- } finally {
- monitor.done();
- }
- }
- });
- mapSelectionPage.saveSettings();
- projectSelectionPage.saveSettings();
- tagPage.saveSettings();
- return true;
- } catch (InterruptedException e) {
- // Cancelled. Ignore and close dialog
- return true;
- } catch (InvocationTargetException e) {
- CVSUIPlugin.openError(getShell(), null, null, e);
- }
- return false;
- }
-
- public void setParentDialog(Dialog p) {
- this.parentDialog = p;
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.jface.wizard.IWizard#getNextPage(org.eclipse.jface.wizard.IWizardPage)
- */
- public IWizardPage getNextPage(IWizardPage page) {
- if (page == mapSelectionPage){
- return projectSelectionPage;
- }
- if (page == projectSelectionPage) {
- IProject[] projects = projectSelectionPage.getCheckedProjects();
- if (projects != null && projects.length > 0){
- selectedProjects = projects;
- }
-
- if (projectSelectionPage.isCompareButtonChecked()){
- return projectComparePage;
- }
- else
- return tagPage;
- }
- if (page == tagPage) {
- if (tagPage.compareButtonSelected()){
- mapComparePage.setTag(tagPage.getTagString());
- return mapComparePage;
- }
- if (tagPage.commitButtonSelected())
- return commentPage;
- }
- if (page == mapComparePage)
- return commentPage;
- if (page == projectComparePage)
- return tagPage;
- return null;
- }
-
- public void setPreSelectedProjects(IResource[] resources) {
- if (resources.length < 1) {
- preSelectedProjects = null;
- } else {
- Set list = new HashSet();
- for (int i = 0; i < resources.length; i++) {
- list.add(resources[i].getProject());
- }
- preSelectedProjects = (IProject[]) list.toArray(new IProject[list.size()]);
- }
- }
-
- // Prompt for any uncommitted changes
- protected IProject[] performPrompting(IProject[] projects) {
- IResource[] resources;
- PromptingDialog prompt = new PromptingDialog(getShell(), projects,
- getPromptCondition(projects), Policy.bind("TagAction.uncommittedChangesTitle"));//$NON-NLS-1$
- try {
- resources = prompt.promptForMultiple();
- } catch(InterruptedException e) {
- return null;
- }
- if(resources.length == 0) {
- return null;
- }
- projects = new IProject[resources.length ];
- for(int i = 0; i < resources.length; i++){
- if(resources[i] instanceof IProject)
- projects[i] = (IProject)resources[i];
- }
- return projects;
- }
-
-
- protected IPromptCondition getPromptCondition(IResource[] resource) {
- return new IPromptCondition() {
- public boolean needsPrompt(IResource resource) {
- return CVSLightweightDecorator.isDirty(resource);
- }
- public String promptMessage(IResource resource) {
- return Policy.bind("TagAction.uncommittedChanges", resource.getName());//$NON-NLS-1$
- }
- };
- }
-
- public IProject[] getSelectedProjects(){
- return selectedProjects;
- }
-
- //the update will happen when (1)from project selection page to compare project page or (2)from
- //project selection page to Enter Tag page. It calls shouldRemove() to determine the projects to keep
- public void updateSelectedProject(){
- selectedProjects = projectSelectionPage.getCheckedProjects();
- selectedProjects = performPrompting(selectedProjects);
- projectSelectionPage.setSelection(selectedProjects);
- }
-
- public void setSelectedProjects(IResource[] projects){
- if(projects == null) selectedProjects = null;
- else {
- selectedProjects = new IProject[projects.length];
- for(int i = 0; i < projects.length; i++){
- selectedProjects[i] = (IProject)projects[i];
- }
- }
- }
- protected ProjectSelectionPage getProjectSelectionPage(){
- return projectSelectionPage;
- }
-
- //This method is called if validate button in TagPage is checked
- private void validateRelease(IProgressMonitor monitor) throws TeamException{
- ProjectValidationDialog.validateRelease(getShell(), selectedProjects, mapProject.getTagsFor(selectedProjects), monitor);
- }
-
-
- private boolean isProjectSelected(){
- if (selectedProjects == null || selectedProjects.length == 0){
- return false;
- }
- return true;
- }
-
- public IProject[] getPreSelectedProjects(){
- return preSelectedProjects;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jface.wizard.IWizard#canFinish()
- */
- public boolean canFinish() {
- // There must be projects selected
- if (!isProjectSelected()) {
- return false;
- }
- // There must be a tag
- if (!tagPage.isPageComplete()) {
- return false;
- }
- // Force map comparison if option set by user
- IWizardPage currentPage = getContainer().getCurrentPage();
- if(currentPage == tagPage){
- if(tagPage.compareButtonSelected()){
- return false;
- }
- }
- return true;
- }
-
- public MapProject getMapProject(){
- return mapProject;
- }
- public void boadcastMapProjectChange(MapProject m){
- mapProject = m;
- projectSelectionPage.updateMapProject(m);
- projectComparePage.updateMapProject(m);
- mapComparePage.updateMapProject(m);
- }
-}
diff --git a/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/ReplaceLocalFromMap.java b/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/ReplaceLocalFromMap.java
deleted file mode 100644
index 68814e2..0000000
--- a/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/ReplaceLocalFromMap.java
+++ /dev/null
@@ -1,154 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.releng.tools;
-
-import java.lang.reflect.InvocationTargetException;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.SubProgressMonitor;
-import org.eclipse.jface.action.IAction;
-import org.eclipse.jface.operation.IRunnableWithProgress;
-import org.eclipse.team.core.TeamException;
-import org.eclipse.team.internal.ccvs.core.CVSException;
-import org.eclipse.team.internal.ccvs.core.CVSTag;
-import org.eclipse.team.internal.ccvs.core.ICVSResource;
-import org.eclipse.team.internal.ccvs.core.syncinfo.ResourceSyncInfo;
-import org.eclipse.team.internal.ccvs.ui.actions.WorkspaceAction;
-import org.eclipse.team.internal.ccvs.ui.operations.ReplaceOperation;
-import org.eclipse.team.internal.core.InfiniteSubProgressMonitor;
-
-/**
- * This action replaces one or more projects in the local workspace
- * with the versions released to the RelEng map file.
- */
-public class ReplaceLocalFromMap extends WorkspaceAction {
-
- /*
- * Get the tag from the map files in the org.eclipse.releng project
- *
- * @param resource
- * @return
- * @throws CVSException
- */
- protected CVSTag getTag(IResource resource) {
- MapEntry entry = MapProject.getDefaultMapProject().getMapEntry((IProject)resource);
- if (entry == null) return CVSTag.DEFAULT;
- return entry.getTag();
- }
-
- /**
- * @see org.eclipse.team.internal.ccvs.ui.actions.WorkspaceAction#isEnabledForAddedResources()
- */
- protected boolean isEnabledForAddedResources() {
- return false;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.team.internal.ccvs.ui.actions.WorkspaceAction#isEnabledForNonExistantResources()
- */
- protected boolean isEnabledForNonExistantResources() {
- return true;
- }
-
- /**
- * @see org.eclipse.team.internal.ccvs.ui.actions.WorkspaceAction#isEnabledForCVSResource(org.eclipse.team.internal.ccvs.core.ICVSResource)
- */
- protected boolean isEnabledForCVSResource(ICVSResource cvsResource) throws CVSException {
- if (super.isEnabledForCVSResource(cvsResource)) {
- // Don't enable if there are sticky file revisions in the lineup
- if (!cvsResource.isFolder()) {
- ResourceSyncInfo info = cvsResource.getSyncInfo();
- if (info != null && info.getTag() != null) {
- String revision = info.getRevision();
- String tag = info.getTag().getName();
- if (revision.equals(tag)) return false;
- }
- }
- return true;
- } else {
- return false;
- }
- }
-
- /**
- * Returns true if the super would enable the option *and*
- * only projects are selected. There is no concept of "releasing"
- * anything but a project.
- *
- * @see org.eclipse.team.internal.ui.actions.TeamAction#isEnabled()
- */
- protected boolean isEnabled() throws TeamException {
-
- boolean result = super.isEnabled();
- if (!result) {
- return false;
- }
-
- IResource[] resources = super.getSelectedResources();
- for (int i = 0; i < resources.length; i++) {
- IResource resource = resources[i];
- if (resource.getType() != IResource.PROJECT) {
- return false;
- }
- }
-
- return (getMapProject() != null && getMapProject().mapsAreLoaded());
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.team.internal.ccvs.ui.actions.ReplaceWithRemoteAction#performReplace(org.eclipse.core.resources.IResource[], org.eclipse.core.runtime.IProgressMonitor)
- */
- protected void performReplace(IResource[] resources, IProgressMonitor monitor) throws TeamException, InvocationTargetException, InterruptedException {
- monitor.beginTask(null, 100 * resources.length);
- for (int i = 0; i < resources.length; i++) {
- IResource resource = resources[i];
- new ReplaceOperation(getTargetPart(), new IResource[] { resource }, getTag(resource), true).run(new SubProgressMonitor(monitor, 100));
- }
- monitor.done();
- }
- private MapProject getMapProject(){
- return MapProject.getDefaultMapProject();
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.team.internal.ccvs.ui.actions.CVSAction#execute(org.eclipse.jface.action.IAction)
- */
- protected void execute(IAction action) throws InvocationTargetException, InterruptedException {
-
- final IResource[][] resources = new IResource[][] {null};
- run(new IRunnableWithProgress() {
- public void run(IProgressMonitor monitor) throws InterruptedException, InvocationTargetException {
- try {
- monitor.beginTask(null, 100);
- resources[0] = checkOverwriteOfDirtyResources(getSelectedResources(), new InfiniteSubProgressMonitor(monitor, 100));
- } catch (TeamException e) {
- throw new InvocationTargetException(e);
- } finally {
- monitor.done();
- }
- }
- }, false /* cancelable */, PROGRESS_BUSYCURSOR);
-
- if (resources[0] == null || resources[0].length == 0) return;
-
- run(new IRunnableWithProgress() {
- public void run(IProgressMonitor monitor) throws InvocationTargetException, InterruptedException {
- try {
- performReplace(resources[0], monitor);
- } catch (TeamException e) {
- throw new InvocationTargetException(e);
- }
- }
- }, true, PROGRESS_DIALOG);
-
- }
-}
diff --git a/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/RepositorySelectionDialog.java b/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/RepositorySelectionDialog.java
deleted file mode 100644
index 3cb7935..0000000
--- a/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/RepositorySelectionDialog.java
+++ /dev/null
@@ -1,113 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.releng.tools;
-
-import org.eclipse.jface.dialogs.Dialog;
-import org.eclipse.jface.dialogs.IDialogConstants;
-import org.eclipse.jface.viewers.DoubleClickEvent;
-import org.eclipse.jface.viewers.IDoubleClickListener;
-import org.eclipse.jface.viewers.ISelectionChangedListener;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.jface.viewers.SelectionChangedEvent;
-import org.eclipse.jface.viewers.TableViewer;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.layout.GridData;
-import org.eclipse.swt.layout.GridLayout;
-import org.eclipse.swt.widgets.Button;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Control;
-import org.eclipse.swt.widgets.Label;
-import org.eclipse.swt.widgets.Shell;
-import org.eclipse.swt.widgets.Table;
-import org.eclipse.team.internal.ccvs.core.ICVSRepositoryLocation;
-import org.eclipse.ui.model.WorkbenchContentProvider;
-import org.eclipse.ui.model.WorkbenchLabelProvider;
-
-/**
- * This code copied from CVSProjectPropertiesPage
- */
-public class RepositorySelectionDialog extends Dialog {
- ICVSRepositoryLocation[] locations;
- ICVSRepositoryLocation location;
-
- private static final int TABLE_HEIGHT_HINT = 150;
- private static final int TABLE_WIDTH_HINT = 300;
-
- TableViewer viewer;
- Button okButton;
- public RepositorySelectionDialog(Shell shell) {
- super(shell);
- }
- protected void createButtonsForButtonBar(Composite parent) {
- // create OK and Cancel buttons by default
- okButton = createButton(parent, IDialogConstants.OK_ID, IDialogConstants.OK_LABEL, true);
- okButton.setEnabled(false);
- createButton(parent, IDialogConstants.CANCEL_ID, IDialogConstants.CANCEL_LABEL, false);
- }
- protected Control createDialogArea(Composite parent) {
- parent.getShell().setText(Messages.getString("RepositorySelectionDialog.0")); //$NON-NLS-1$
- Composite composite = new Composite(parent, SWT.NONE);
- composite.setLayout(new GridLayout());
- composite.setLayoutData(new GridData(GridData.FILL_BOTH));
-
- createLabel(composite, Messages.getString("RepositorySelectionDialog.1"), 1); //$NON-NLS-1$
- Table table = new Table(composite, SWT.SINGLE | SWT.BORDER | SWT.H_SCROLL | SWT.V_SCROLL);
- GridData data = new GridData();
- data.widthHint = TABLE_WIDTH_HINT;
- data.heightHint = TABLE_HEIGHT_HINT;
- table.setLayoutData(data);
- viewer = new TableViewer(table);
- viewer.setLabelProvider(new WorkbenchLabelProvider());
- viewer.setContentProvider(new WorkbenchContentProvider() {
- public Object[] getElements(Object inputElement) {
- return locations;
- }
- });
- viewer.addSelectionChangedListener(new ISelectionChangedListener() {
- public void selectionChanged(SelectionChangedEvent event) {
- IStructuredSelection selection = (IStructuredSelection)event.getSelection();
- if (selection.isEmpty()) {
- location = null;
- okButton.setEnabled(false);
- } else {
- location = (ICVSRepositoryLocation)selection.getFirstElement();
- okButton.setEnabled(true);
- }
- }
- });
- viewer.addDoubleClickListener(new IDoubleClickListener() {
- public void doubleClick(DoubleClickEvent event) {
- okPressed();
- }
- });
- viewer.setInput(locations);
- return composite;
- }
- protected Label createLabel(Composite parent, String text, int span) {
- Label label = new Label(parent, SWT.LEFT);
- label.setText(text);
- GridData data = new GridData();
- data.horizontalSpan = span;
- data.horizontalAlignment = GridData.FILL;
- label.setLayoutData(data);
- return label;
- }
- protected void cancelPressed() {
- location = null;
- super.cancelPressed();
- }
- public void setLocations(ICVSRepositoryLocation[] locations) {
- this.locations = locations;
- }
- public ICVSRepositoryLocation getLocation() {
- return location;
- }
-}
diff --git a/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/SourceFile.java b/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/SourceFile.java
deleted file mode 100644
index e88e01c..0000000
--- a/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/SourceFile.java
+++ /dev/null
@@ -1,219 +0,0 @@
-package org.eclipse.releng.tools;
-
-import java.io.BufferedReader;
-import java.io.BufferedWriter;
-import java.io.ByteArrayInputStream;
-import java.io.ByteArrayOutputStream;
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.InputStreamReader;
-import java.io.StringWriter;
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.List;
-
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.NullProgressMonitor;
-
-/**
- * @author droberts
- */
-public abstract class SourceFile {
-
- IFile file;
- List comments = new ArrayList();
- StringWriter contents = new StringWriter();
- private String newLine = System.getProperty("line.separator");
-
- /**
- * @param file
- */
- public SourceFile(IFile file) {
- super();
- this.file = file;
- initialize();
- }
-
- public abstract String getCommentStart();
- public abstract String getCommentEnd();
-
- /**
- *
- */
- private void initialize() {
-
- InputStream inputStream;
- try {
- inputStream = file.getContents(false);
- BufferedReader aReader = new BufferedReader(new InputStreamReader(inputStream));
- String aLine = aReader.readLine();
- String comment = "";
- BufferedWriter contentsWriter = new BufferedWriter(contents);
- int lineNumber = 0;
- int commentStart = 0;
- int commentEnd = 0;
- boolean inComment = false;
-
- while (aLine != null) {
- contentsWriter.write(aLine);
- contentsWriter.newLine();
- if (!inComment && aLine.trim().startsWith(getCommentStart())) {
- // start saving comment
- inComment = true;
- commentStart = lineNumber;
- }
-
- if (inComment) {
- comment = comment + aLine + newLine;
-
- if (aLine.trim().endsWith(getCommentEnd()) && commentStart != lineNumber) {
- // stop saving comment
- inComment = false;
- commentEnd = lineNumber;
- BlockComment aComment = new BlockComment(commentStart, commentEnd, comment.toString(), getCommentStart(), getCommentEnd());
- comments.add(aComment);
- comment = "";
- commentStart = 0;
- commentEnd = 0;
- }
- }
-
- aLine = aReader.readLine();
- lineNumber++;
- }
-
- aReader.close();
- } catch (CoreException e) {
- e.printStackTrace();
- } catch (IOException e) {
- e.printStackTrace();
- }
- }
-
- /**
- * @return BlockComment
- */
- public BlockComment firstBlockComment() {
- if (comments.isEmpty()) {
- return null;
- } else {
- return (BlockComment) comments.get(0);
- }
- }
-
- /**
- * @param string
- */
- public void insert(String string) {
-
- InputStream fileStream;
- try {
- fileStream = file.getContents();
- ByteArrayOutputStream result = new ByteArrayOutputStream();
-
- result.write(string.getBytes());
- int aByte = fileStream.read();
- while (aByte != -1) {
- result.write(aByte);
- aByte = fileStream.read();
- }
-
- fileStream.close();
- ByteArrayInputStream writeMe = new ByteArrayInputStream(result.toByteArray());
- file.setContents(writeMe, IFile.KEEP_HISTORY, new NullProgressMonitor());
-
- result.close();
- writeMe.close();
- } catch (CoreException e) {
- e.printStackTrace();
- } catch (IOException e) {
- e.printStackTrace();
- }
-
-
- }
-
- /**
- * @return BlockComment
- */
- public BlockComment firstCopyrightComment() {
- Iterator anIterator = comments.iterator();
- while (anIterator.hasNext()) {
- BlockComment aComment = (BlockComment) anIterator.next();
- if (aComment.isCopyright()) {
- return aComment;
- }
- }
-
- return null;
- }
-
- /**
- * @param firstCopyrightComment
- * @param string
- */
- public void replace(BlockComment aComment, String string) {
-
-
- try {
- InputStream fileStream = file.getContents();
- ByteArrayOutputStream result = new ByteArrayOutputStream();
-
- result.write(string.getBytes());
-
- BufferedReader fileReader = new BufferedReader(new InputStreamReader(fileStream));
-
- for (int i = 0; i < aComment.start; i++) {
- String aLine = fileReader.readLine();
- result.write(aLine.getBytes());
- result.write(newLine.getBytes());
- }
-
- for (int i = aComment.start; i < aComment.end + 1; i++) {
- String aLine = fileReader.readLine();
- }
-
- String aLine = fileReader.readLine();
- while (aLine != null) {
- result.write(aLine.getBytes());
- result.write(newLine.getBytes());
- aLine = fileReader.readLine();
- }
-
- fileStream.close();
-
- ByteArrayInputStream writeMe = new ByteArrayInputStream(result.toByteArray());
- file.setContents(writeMe, IFile.KEEP_HISTORY, new NullProgressMonitor());
-
- result.close();
- writeMe.close();
- } catch (CoreException e) {
- e.printStackTrace();
- } catch (IOException e) {
- e.printStackTrace();
- }
-
-
-
-
- }
-
- /**
- * @return boolean
- */
- public boolean hasMultipleCopyrights() {
- int count = 0;
- Iterator anIterator = comments.iterator();
- while (anIterator.hasNext()) {
- BlockComment aComment = (BlockComment) anIterator.next();
- if (aComment.isCopyright()) {
- count++;
- }
- if (count > 1) {
- return true;
- }
- }
- return false;
- }
-}
diff --git a/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/TagAndReleaseAction.java b/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/TagAndReleaseAction.java
deleted file mode 100644
index 07f245d..0000000
--- a/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/TagAndReleaseAction.java
+++ /dev/null
@@ -1,62 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.releng.tools;
-
-import java.lang.reflect.InvocationTargetException;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.jface.action.IAction;
-import org.eclipse.team.core.TeamException;
-import org.eclipse.team.internal.ccvs.ui.actions.CVSAction;
-import org.eclipse.ui.IWorkbenchWindow;
-import org.eclipse.ui.IWorkbenchWindowActionDelegate;
-
-
-/**
- *This class respond the "release..." menu action and try to open a wizard
- */
-public class TagAndReleaseAction extends CVSAction implements IWorkbenchWindowActionDelegate {
-
- /* (non-Javadoc)
- * @see org.eclipse.team.internal.ccvs.ui.actions.TagAction#execute(org.eclipse.jface.action.IAction)
- */
- public void execute(IAction action) throws InvocationTargetException, InterruptedException {
- //Start the release wizard
- ReleaseWizard wizard = new ReleaseWizard();
- IResource[] preSelection = getSelectedResources();
- if(preSelection != null && preSelection.length != 0){
- wizard.setPreSelectedProjects(preSelection);
- }
- wizard.execute(getShell());
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.team.internal.ui.actions.TeamAction#isEnabled()
- */
- protected boolean isEnabled() throws TeamException {
- return true;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.ui.IWorkbenchWindowActionDelegate#init(org.eclipse.ui.IWorkbenchWindow)
- */
- public void init(IWorkbenchWindow window) {
- this.shell = window.getShell();
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.team.internal.ccvs.ui.actions.CVSAction#getSelectedResources()
- * Overwrite the method to eliminate null ponter exception when first time start the wizard
- */
- protected IResource[] getSelectedResources() {
- if (selection == null) return new IResource[0];
- return super.getSelectedResources();
- }
-}
diff --git a/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/TagAndReleaseOperation.java b/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/TagAndReleaseOperation.java
deleted file mode 100644
index 870cf94..0000000
--- a/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/TagAndReleaseOperation.java
+++ /dev/null
@@ -1,113 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.releng.tools;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.runtime.*;
-import org.eclipse.core.runtime.jobs.ISchedulingRule;
-import org.eclipse.core.runtime.jobs.MultiRule;
-import org.eclipse.swt.widgets.Shell;
-import org.eclipse.team.internal.ccvs.core.*;
-import org.eclipse.team.internal.ccvs.ui.CVSUIPlugin;
-import org.eclipse.team.internal.ccvs.ui.operations.TagOperation;
-
-/**
- * This class overrides the basic tag operation in order to update and possibly commit
- * the map file used by the Eclipse RelEng builder.
- */
-public class TagAndReleaseOperation extends TagOperation {
-
- private IResource[] selectedProjects;
- private CVSTag tag;
- private String comment;
- private MapProject mapProject;
-
- public TagAndReleaseOperation(Shell shell, MapProject mapProject, IResource[] resources, CVSTag t, String c) {
- super(shell, resources);
- selectedProjects = new IResource[resources.length];
- System.arraycopy(resources,0,selectedProjects,0,resources.length);
- this.tag = t;
- setTag(tag);
- this.comment = c;
- this.mapProject = mapProject;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.team.internal.ccvs.ui.operations.TagOperation#tag(org.eclipse.team.internal.ccvs.core.CVSTeamProvider, org.eclipse.core.resources.IResource[], org.eclipse.core.runtime.IProgressMonitor)
- */
- public IStatus tag(
- CVSTeamProvider provider,
- IResource[] resources,
- IProgressMonitor progress)
- throws CVSException {
-
- // Tag the resource
- progress.beginTask("Releasing project " + provider.getProject().getName(), 100);
- IStatus status = super.tag(provider, resources, new SubProgressMonitor(progress, 95));
- if (status.getSeverity() == IStatus.ERROR) return status;
- progress.done();
- return status;
- }
-
-
- /* (non-Javadoc)
- * @see org.eclipse.team.internal.ccvs.ui.operations.CVSOperation#execute(org.eclipse.core.runtime.IProgressMonitor)
- */
- public void execute(IProgressMonitor monitor) throws CVSException, InterruptedException {
- monitor.beginTask("Tagging with " + getTag().getName(), 100);
- super.execute(new SubProgressMonitor(monitor, 95));
-
- if (!errorsOccurred()) {
- updateMapFile();
- try {
- monitor.subTask("Committing changed map files");
- mapProject.commitMapProject(comment,monitor);
- } catch (CoreException e) {
- throw CVSException.wrapException(e);
- }
- }
- monitor.done();
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.team.internal.ccvs.ui.operations.RepositoryProviderOperation#getSchedulingRule(org.eclipse.team.internal.ccvs.core.CVSTeamProvider)
- */
- protected ISchedulingRule getSchedulingRule(CVSTeamProvider provider) {
- // We need a rule on both the provider and the releng map project
- ISchedulingRule rule = super.getSchedulingRule(provider);
- return new MultiRule(new ISchedulingRule[] {rule, mapProject.getProject()});
- }
-
- /**
- * Update the tag for the given project in the appropriate map file.
- */
- private void updateTagsInMapFile(IProject project, String t) throws CVSException {
- try {
- mapProject.updateFile(project, t);
- } catch (CoreException e) {
- throw CVSException.wrapException(e);
- }
- }
-
- private void updateMapFile(){
- for (int i = 0; i < selectedProjects.length; i++) {
- if(selectedProjects[i] instanceof IProject){
- try {
- updateTagsInMapFile((IProject)selectedProjects[i], tag.getName());
- } catch (CVSException e1) {
- CVSUIPlugin.openError(getShell(), null, null, e1);
- }
- }
- }
- }
-
-}
diff --git a/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/TagMap.java b/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/TagMap.java
deleted file mode 100644
index 56877d6..0000000
--- a/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/TagMap.java
+++ /dev/null
@@ -1,139 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.releng.tools;
-
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
-import java.util.StringTokenizer;
-
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.team.core.TeamException;
-import org.eclipse.team.internal.ccvs.core.CVSException;
-import org.eclipse.team.internal.ccvs.core.CVSProviderPlugin;
-import org.eclipse.team.internal.ccvs.core.CVSTag;
-import org.eclipse.team.internal.ccvs.core.ICVSRepositoryLocation;
-import org.eclipse.team.internal.ccvs.core.ICVSResource;
-import org.eclipse.team.internal.ccvs.core.connection.CVSRepositoryLocation;
-import org.eclipse.team.internal.ccvs.ui.CVSUIPlugin;
-import org.eclipse.team.internal.ccvs.ui.actions.TagInRepositoryAction;
-
-/**
- * Tags the versions in a map file with another tag
- */
-public class TagMap extends TagInRepositoryAction {
-
- /* (non-Javadoc)
- * @see org.eclipse.team.internal.ccvs.ui.actions.CVSAction#getSelectedCVSResources()
- */
- protected ICVSResource[] getSelectedCVSResources() {
- IResource[] resources = getSelectedResources();
- List identifiers = new ArrayList();
- for (int i = 0; i < resources.length; i++) {
- IResource resource = resources[i];
- try {
- String[] strings = LoadMap.readReferenceStrings((IFile)resource);
- identifiers.addAll(Arrays.asList(strings));
- } catch (CoreException e) {
- addStatus(CVSException.wrapException(e).getStatus());
- }
- }
- return getCVSResourcesFor((String[]) identifiers.toArray(new String[identifiers.size()]));
- }
-
- /**
- * @param strings
- * @return
- */
- private ICVSResource[] getCVSResourcesFor(String[] referenceStrings) {
- Map previouslySelectedRepositories = new HashMap();
- int size = referenceStrings.length;
- List result = new ArrayList(size);
- for (int i = 0; i < size; i++) {
- StringTokenizer tokenizer = new StringTokenizer(referenceStrings[i], ","); //$NON-NLS-1$
- String version = tokenizer.nextToken();
- if (!version.equals("1.0")) { //$NON-NLS-1$
- // Bail out, this is a newer version
- return null;
- }
- try {
- String repo = tokenizer.nextToken();
- ICVSRepositoryLocation storedlocation = getLocationFromString(repo);
- ICVSRepositoryLocation location = (ICVSRepositoryLocation)previouslySelectedRepositories.get(storedlocation);
- if (location == null) {
- location = getWritableRepositoryLocation(storedlocation);
- previouslySelectedRepositories.put(storedlocation, location);
- if (location == null) return new ICVSResource[0];
- }
- String module = tokenizer.nextToken();
- String projectName = tokenizer.nextToken();
- CVSTag tag = CVSTag.DEFAULT;
- if (tokenizer.hasMoreTokens()) {
- String tagName = tokenizer.nextToken();
- tag = new CVSTag(tagName, CVSTag.VERSION);
- }
- result.add(location.getRemoteFolder(module, tag));
- } catch (CVSException e) {
- addStatus(e .getStatus());
- }
- }
- return (ICVSResource[]) result.toArray(new ICVSResource[result.size()]);
- }
-
- private ICVSRepositoryLocation getLocationFromString(String repo) throws CVSException {
- // create the new location
- ICVSRepositoryLocation newLocation = CVSRepositoryLocation.fromString(repo);
- if (newLocation.getUsername() == null || newLocation.getUsername().length() == 0) {
- // look for an existing location that matched
- ICVSRepositoryLocation[] locations = CVSProviderPlugin.getPlugin().getKnownRepositories();
- for (int i = 0; i < locations.length; i++) {
- ICVSRepositoryLocation location = locations[i];
- if (location.getMethod() == newLocation.getMethod()
- && location.getHost().equals(newLocation.getHost())
- && location.getPort() == newLocation.getPort()
- && location.getRootDirectory().equals(newLocation.getRootDirectory()))
- return location;
- }
- }
- return newLocation;
- }
-
- public ICVSRepositoryLocation getWritableRepositoryLocation(ICVSRepositoryLocation storedLocation) {
- // Find out which repo locations are appropriate
- ICVSRepositoryLocation[] locations = CVSUIPlugin.getPlugin().getRepositoryManager().getKnownRepositoryLocations();
- List compatibleLocations = new ArrayList();
- for (int i = 0; i < locations.length; i++) {
- ICVSRepositoryLocation location = locations[i];
- // Only locations with the same host and root are eligible
- if (!location.getHost().equals(storedLocation.getHost())) continue;
- if (!location.getRootDirectory().equals(storedLocation.getRootDirectory())) continue;
- compatibleLocations.add(location);
- }
- RepositorySelectionDialog dialog = new RepositorySelectionDialog(getShell());
- dialog.setLocations((ICVSRepositoryLocation[])compatibleLocations.toArray(new ICVSRepositoryLocation[compatibleLocations.size()]));
- dialog.open();
- ICVSRepositoryLocation location = dialog.getLocation();
- return location;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.team.internal.ui.actions.TeamAction#isEnabled()
- */
- protected boolean isEnabled() throws TeamException {
- IResource[] resources = getSelectedResources();
- return (resources.length >= 0 && MapProject.getDefaultMapProject().mapsAreLoaded());
- }
-
-}
diff --git a/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/TagPage.java b/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/TagPage.java
deleted file mode 100644
index b987812..0000000
--- a/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/TagPage.java
+++ /dev/null
@@ -1,359 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.releng.tools;
-
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.Calendar;
-import java.util.List;
-
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.jface.dialogs.IDialogSettings;
-import org.eclipse.jface.resource.ImageDescriptor;
-import org.eclipse.jface.wizard.WizardPage;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.events.SelectionAdapter;
-import org.eclipse.swt.events.SelectionEvent;
-import org.eclipse.swt.graphics.Font;
-import org.eclipse.swt.layout.GridData;
-import org.eclipse.swt.layout.GridLayout;
-import org.eclipse.swt.widgets.Button;
-import org.eclipse.swt.widgets.Combo;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Event;
-import org.eclipse.swt.widgets.Group;
-import org.eclipse.swt.widgets.Label;
-import org.eclipse.swt.widgets.Listener;
-import org.eclipse.team.internal.ccvs.core.CVSTag;
-
-/**
- *This class extends <code>WizardPage<code>. It allows user to enter a tag name and make some additional
- *options.
- */
-public class TagPage extends WizardPage{
-
- private String tagString;
- private Combo tagCombo;
- private static final int COMBO_HISTORY_LENGTH = 5;
- private final String DEFAULT_TAG_PREFIX = "v";
-
- private Button moveButton;
- private Button validateButton;
- private Button compareButton;
- private Button commitButton;
-
- private boolean moveButtonSelected;
- private boolean compareButtonSelected;
- private boolean commitButtonSelected;
- private boolean validateButtonSelected;
- private boolean hasError;//for tag validation
-
- private IDialogSettings settings;
- private String TAG_KEY = Messages.getString("TagPage.1"); //$NON-NLS-1$
- private String COMPARE_BUTTON_KEY = Messages.getString("TagPage.2"); //$NON-NLS-1$
- private String COMMIT_BUTTON_KEY = Messages.getString("TagPage.3"); //$NON-NLS-1$
- private String MOVE_BUTTON_KEY = Messages.getString("TagPage.4"); //$NON-NLS-1$
- private String VALIDATE_BUTTON_KEY = Messages.getString("TagPage.5"); //$NON-NLS-1$
-
- /**
- * @param pageName
- * @param title
- * @param titleImage
- */
- public TagPage(String pageName, String title, IDialogSettings settings, ImageDescriptor image) {
- super(pageName, title, image);
- this.settings = settings;
- }
- /* (non-Javadoc)
- * @see org.eclipse.jface.dialogs.IDialogPage#createControl(org.eclipse.swt.widgets.Composite)
- */
- public void createControl(Composite parent) {
- Font font = parent.getFont();
- Composite composite = new Composite(parent, SWT.NONE);
- composite.setLayout(new GridLayout());
- GridData data = new GridData(GridData.FILL_BOTH);
- composite.setLayoutData(data);
- composite.setFont(font);
-
- Label label = new Label(composite, SWT.HORIZONTAL);
- label.setText(Messages.getString("TagPage.6")); //$NON-NLS-1$
- label.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
- label.setFont(font);
-
- Listener listener = new Listener() {
- public void handleEvent(Event event) {
- tagString = null;
- modifyTag();
- }
- };
-
- tagCombo = new Combo(composite,SWT.NONE);
- tagCombo.addListener(SWT.Selection, listener);
- tagCombo.addListener(SWT.Modify, listener);
- tagCombo.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
- tagCombo.setFont(font);
-
- moveButton = new Button(composite, SWT.CHECK);
- moveButton.setVisible(true);
- moveButton.setText(Messages.getString("TagPage.7")); //$NON-NLS-1$
- moveButton.addSelectionListener(new SelectionAdapter() {
- public void widgetSelected(SelectionEvent e) {
- moveButtonSelected = moveButton.getSelection();
- }
- });
- moveButton.setFont(font);
-
- validateButton = new Button(composite,SWT.CHECK);
- validateButton.setText(Messages.getString("TagPage.8")); //$NON-NLS-1$
- validateButton.addSelectionListener( new SelectionAdapter(){
- public void widgetSelected(SelectionEvent e) {
- validateButtonSelected = validateButton.getSelection();
- }
- });
- validateButton.setFont(font);
-
- Group group = new Group(composite, SWT.LEFT);
- group.setLayout(new GridLayout());
- group.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL | GridData.GRAB_HORIZONTAL));
- group.setFont(font);
-
- Label mapLabel = new Label(group, SWT.HORIZONTAL);
- mapLabel.setText(Messages.getString("TagPage.9")); //$NON-NLS-1$
- mapLabel.setFont(font);
-
- compareButton = new Button(group,SWT.RADIO);
- compareButton.setText(Messages.getString("TagPage.10")); //$NON-NLS-1$
- compareButton.addSelectionListener( new SelectionAdapter(){
- public void widgetSelected(SelectionEvent e) {
- compareButtonSelected = compareButton.getSelection();
- updateFinishStatus();
- }
- });
- compareButton.setFont(font);
-
- commitButton = new Button(group,SWT.RADIO);
- commitButton.setText(Messages.getString("TagPage.11")); //$NON-NLS-1$
- commitButton.setSelection(true);
- commitButton.addSelectionListener(new SelectionAdapter(){
- public void widgetSelected(SelectionEvent e) {
- commitButtonSelected = commitButton.getSelection();
- }
- });
- commitButton.setFont(font);
-
- initializePage();
- setControl(composite);
-
- }
-
- public String getTagString(){
- return tagString;
- }
- /**
- * Validates tag name
- */
- private void validateTag(String tag){
- String message = null;
- hasError = false;
- if(tag.length() == 0) {
- hasError = true;
- } else {
- IStatus status = CVSTag.validateTagName(tag);
- if (!status.isOK()) {
- message = status.getMessage();
- hasError = true;
- }
- }
- setErrorMessage(message);
- }
-
- public boolean isMoveButtonSelected(){
- return moveButtonSelected;
- }
- public boolean compareButtonSelected(){
- return compareButtonSelected;
- }
- public boolean commitButtonSelected(){
- return commitButtonSelected ;
- }
- private boolean isPageCompleted(){
- return (!hasError);
- }
-
- public void saveSettings(){
- String[] tags = settings.getArray(TAG_KEY);
- if (tags == null) tags = new String[0];
- tags = addToTagList(tags, tagCombo.getText());
- settings.put(TAG_KEY,tags);
- settings.put(COMPARE_BUTTON_KEY,compareButtonSelected);
- settings.put(COMMIT_BUTTON_KEY ,commitButtonSelected);
- settings.put(MOVE_BUTTON_KEY ,moveButtonSelected);
- settings.put(VALIDATE_BUTTON_KEY,validateButtonSelected);
- }
-
- private void readSettings(){
- if(settings.get(COMPARE_BUTTON_KEY) != null){
- compareButton.setSelection(settings.getBoolean(COMPARE_BUTTON_KEY));
- compareButtonSelected = settings.getBoolean(COMPARE_BUTTON_KEY);
- }else{
- compareButton.setSelection(true);
- compareButtonSelected = true;
- }
- if(settings.get(COMMIT_BUTTON_KEY) != null){
- commitButton.setSelection(settings.getBoolean(COMMIT_BUTTON_KEY));
- commitButtonSelected = settings.getBoolean(COMMIT_BUTTON_KEY);
- }else{
- commitButton.setSelection( false);
- commitButtonSelected = false;
- }
- if(settings.get(MOVE_BUTTON_KEY) != null){
- moveButton.setSelection(settings.getBoolean(MOVE_BUTTON_KEY));
- moveButtonSelected = settings.getBoolean(MOVE_BUTTON_KEY);
- }else{
- moveButton.setSelection(false);
- moveButtonSelected = false;
- }
- if(settings.get(VALIDATE_BUTTON_KEY) != null){
- validateButton.setSelection( settings.getBoolean(VALIDATE_BUTTON_KEY ));
- validateButtonSelected = settings.getBoolean(VALIDATE_BUTTON_KEY);
- }else{
- validateButton.setSelection(true);
- validateButtonSelected = true;
- }
- //insert the tag template to the head of the list and avoid duplicated items.
- if(settings.getArray(TAG_KEY) == null){
- tagCombo.add(getTagTemplate());
- }else{
- String[] savedTags = settings.getArray(TAG_KEY);
- if (savedTags != null && savedTags.length > 0) {
- String[] newTags = addToTagList( savedTags,getTagTemplate());
- for(int i = 0; i< newTags.length; i++){
- tagCombo.add(newTags[i]);
- }
- }
- else{
- tagCombo.add(getTagTemplate());
- }
- }
- }
-
- private void initializePage(){
- if(settings != null){
- readSettings();
- }
- else{
- commitButton.setSelection(false);
- compareButton.setSelection(true);
- validateButton.setSelection(true);
- moveButton.setSelection(false);
- commitButtonSelected = false;
- compareButtonSelected = true;
- moveButtonSelected = false;
- validateButtonSelected = true;
- tagCombo.add(getTagTemplate());
- }
- hasError = false;
- setPageComplete(false);
- }
-
-
- private void modifyTag() {
- tagString = tagCombo.getText();
- validateTag(tagString);
- setPageComplete(isPageCompleted());
- }
-
- //The default tag format is "vYYYYMMDD"
- private String getTagTemplate(){
- String tag = getTagPrefix(); //$NON-NLS-1$
- Calendar today = Calendar.getInstance( );
- tag += today.get(Calendar.YEAR);
- int month = today.get(Calendar.MONTH) + 1;
- if(month < 10){
- tag += "0" + month; //$NON-NLS-1$
- }
- else{
- tag += month;
- }
- int day = today.get(Calendar.DAY_OF_MONTH);
- if (day < 10){
- tag += "0" + day;
- }
- else{
- tag += day;
- }
- return tag;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jface.dialogs.IDialogPage#setVisible(boolean)
- */
- public void setVisible(boolean visible) {
- super.setVisible(visible);
- ReleaseWizard wizard = (ReleaseWizard)getWizard();
- boolean b = wizard.getProjectSelectionPage().isCompareButtonChecked();
- if (visible && !b) {
- //In case the wizard switches to this page from Project Selection Page and there are some projects have outgoing changes
- wizard.updateSelectedProject();
- }
- }
-
- public boolean isValidateButtonSelected(){
- return validateButtonSelected;
- }
-
- private String[] addToTagList(String[] history, String newEntry) {
- ArrayList l = new ArrayList(Arrays.asList(history));
- addToTagList(l, newEntry);
- String[] r = new String[l.size()];
- l.toArray(r);
- return r;
- }
-
- private void addToTagList(List history, String newEntry) {
- history.remove(newEntry);
- history.add(0,newEntry);
- // since only one new item was added, we can be over the limit
- // by at most one item
- if (history.size() > COMBO_HISTORY_LENGTH)
- history.remove(COMBO_HISTORY_LENGTH);
- }
-
- private String getTagPrefix(){
- if(settings != null){
- if(settings.getArray(TAG_KEY) != null){
- String[] tags = settings.getArray(TAG_KEY);
- if (tags != null && tags.length > 0) {
- String s =parseFirstTag(tags[0]);
- if(s != null) return s;
- }
- }
- }
- return DEFAULT_TAG_PREFIX;
- }
-
- private String parseFirstTag(String s){
- if(s == null)return null;
- int length = s.length();
- if(length == 0 || !Character. isLetter(s.charAt(0)))return null;
- int i = 0;
- for (i = 0; i < length; i++) {
- if (Character.isDigit(s.charAt(i))) {
- break;
- }
- }
- return s.substring(0, i);
- }
-
- private void updateFinishStatus(){
- ((ReleaseWizard)getWizard()).getContainer().updateButtons();
- }
-}
diff --git a/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/messages.properties b/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/messages.properties
deleted file mode 100644
index 9379656..0000000
--- a/bundles/org.eclipse.releng.tools/src/org/eclipse/releng/tools/messages.properties
+++ /dev/null
@@ -1,50 +0,0 @@
-###############################################################################
-# Copyright (c) 2003, 2004 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Common Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/cpl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-ReleaseWizard.5=ProjectSelectionPage
-ReleaseWizard.6=Project Selection
-ReleaseWizard.7=Select the projects to be considered for release
-ReleaseWizard.8=TagPage
-ReleaseWizard.9=Release Tag
-ReleaseWizard.10=Enter the tag to be used for this release
-ReleaseWizard.11=ProjectComparePage
-ReleaseWizard.12=Changed Projects
-ReleaseWizard.13=Review the changes that will be released
-ReleaseWizard.14=MapComparePage
-ReleaseWizard.15=Configuration File Changes
-ReleaseWizard.16=Review changes applied to release configuration files
-ReleaseWizard.17=Commit
-ReleaseWizard.18=Commit Comment
-ReleaseWizard.19=Enter the commit comment for changed configuration files
-ReleaseWizard.20=Releng Release
-ProjectSelectionPage.0=ProjectSelectionPage.selected
-ProjectSelectionPage.1=ProjectSelectionPage.compareButton
-ProjectSelectionPage.2=&Select the projects to be release
-ProjectSelectionPage.3=&Release only projects that have changed since the last release
-TagPage.1=TagPage.Tag
-TagPage.2=TagPage.Compare
-TagPage.3=TagPage.Commmit
-TagPage.4=TagPage.move
-TagPage.5=TagePage.validate
-TagPage.6=Tag name:
-TagPage.7=Move tag if it already exists
-TagPage.8=Validate the release once completed
-TagPage.9=For changed release configuration files...
-TagPage.10=Show the file change before committing
-TagPage.11=Commit the files without showing changes
-ProjectCompareDialog.0=The following projects still have differences between the local and released copies
-RepositorySelectionDialog.0=Select Repository Location
-RepositorySelectionDialog.1=Select the repository location to be used for tagging
-ProjectComparePage.0=Changes since last release
-ProjectComparePage.1=There were no changes in the selected projects.
-RelEngPlugin.1=org.eclipse.releng
-RelEngPlugin.2=maps
-RelEngPlugin.3=RelEngPluginResources
-ProjectValidationDialog.2=Project Validation
diff --git a/bundles/org.eclipse.releng.tools/toc.xml b/bundles/org.eclipse.releng.tools/toc.xml
deleted file mode 100644
index 78b42bf..0000000
--- a/bundles/org.eclipse.releng.tools/toc.xml
+++ /dev/null
@@ -1,135 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?NLS TYPE="org.eclipse.help.toc"?>
-<toc label="RelEng Tools">
- <topic label="Release Wizard" href="html/00028.html">
- <topic label="Preliminary Cases" href="html/00000.html">
- <topic label="PreCondition Test" href="html/00070.html">
- <topic label="No Map Project Exists" href="html/00001.html">
- </topic>
- <topic label="No Map File Exists" href="html/00004.html">
- </topic>
- <topic label="Empty Map Files" href="html/00005.html">
- </topic>
- <topic label="Unshared Map Project" href="html/00006.html">
- </topic>
- </topic>
- <topic label="Individual Wizard Page And Options Test" href="html/00071.html">
- <topic label="Checkbox on Project Selection Page" href="html/00011.html">
- </topic>
- <topic label="Outgoing Change Prompting Dialog" href="html/00012.html">
- </topic>
- <topic label="Project Compare Page" href="html/00013.html">
- </topic>
- <topic label="Move Tag Option on Tag Page" href="html/00014.html">
- </topic>
- <topic label="Validate Option on Tag Page" href="html/00015.html">
- </topic>
- <topic label="Show Map File Change Option on Tag page" href="html/00016.html">
- </topic>
- <topic label="Commit Directly Option on Tag Page " href="html/00017.html">
- </topic>
- <topic label="Commit Comment Page" href="html/00018.html">
- </topic>
- </topic>
- <topic label="Map Files And Map Entries" href="html/00072.html">
- <topic label="Map Entries and CVS Module Name" href="html/00007.html">
- </topic>
- <topic label="Map Entries Contain No-existing Projects" href="html/00008.html">
- </topic>
- <topic label="Add/delete Map File" href="html/00009.html">
- </topic>
-
- <topic label="Map project has other type of files" href="html/00019.html">
- </topic>
- </topic>
- <topic label="Tag Validation" href="html/00073.html">
- <topic label="Tag Validation" href="html/00010.html">
- </topic>
- </topic>
- </topic>
- <topic label="Integrated Tests for Default Settings" href="html/00002.html">
- <topic label="About Default Settings" href="html/00020.html">
- </topic>
- <topic label="All Projects Have No Outgoing Change " href="html/00021.html">
- </topic>
- <topic label="All Projects Have Outgoing Changes" href="html/00022.html">
- </topic>
- <topic label="Some Projects Have Outgoing Changes" href="html/00023.html">
- </topic>
- </topic>
- <topic label="Integrated Tests for Variations" href="html/00003.html">
- <topic label="About Configuration Variations" href="html/00024.html">
- </topic>
- <topic label="All Projects Have Changes Since Last Release " href="html/00025.html">
- </topic>
- <topic label="Some Projects Have Changes Since Last Release " href="html/00026.html">
- </topic>
- <topic label="Move Tag Option Deselected / Selected" href="html/00027.html">
- </topic>
- </topic>
- </topic>
- <topic label="Compare With Released" href="html/00030.html">
- <topic label="One Project Case" href="html/00061.html">
- <topic label="One Project Without Change" href="html/00032.html">
- </topic>
- <topic label="One Project With Changes" href="html/00033.html">
- </topic>
- </topic>
- <topic label="Multiple Projects Case" href="html/00062.html">
- <topic label="Multiple Projects Without Change" href="html/00035.html">
- </topic>
- <topic label="Multiple Projects With Outgoing Changes" href="html/00036.html">
- </topic>
- </topic>
- <topic label="Compare File Or Folder" href="html/00063.html">
- <topic label="Compare a File" href="html/00037.html">
- </topic>
- <topic label="Compare A Folder" href="html/00038.html">
- </topic>
- </topic>
- </topic>
- <topic label="Replace With Released" href="html/00031.html">
- <topic label="Replace One Project" href="html/00064.html">
- <topic label="One Project Without Change" href="html/00043.html">
- </topic>
- <topic label="One project With Outgoing Change" href="html/00039.html">
- </topic>
- <topic label="One Project With Outgoing Addtion" href="html/00041.html">
- </topic>
- <topic label="One Project With Outgoing Deletion" href="html/00042.html">
- </topic>
- </topic>
- <topic label="Replace Multiple Projects" href="html/00065.html">
- <topic label="Multiple Projects" href="html/00044.html">
- </topic>
- </topic>
- <topic label="Replace A File Or A Folder" href="html/00066.html">
- <topic label="Replace A File" href="html/00045.html">
- </topic>
- <topic label="Replace A Folder" href="html/00046.html">
- </topic>
- </topic>
- </topic>
- <topic label="Load Map Projects" href="html/00047.html">
- <topic label="Single Map File And Valid Entries" href="html/00067.html">
- <topic label="Project Does Not Exist In Local WorkSpace" href="html/00057.html">
- </topic>
- <topic label="Project Exists in Local WorkSpace" href="html/00058.html">
- </topic>
- <topic label="Map Contains A Older Tag Name" href="html/00059.html">
- </topic>
- <topic label="Project Using CVS Module Name" href="html/00060.html">
- </topic>
- </topic>
- <topic label="Single Map File And Invalid Entries" href="html/00068.html">
- <topic label="Map File Contains Unexisting Project" href="html/00054.html">
- </topic>
- <topic label="Map File Cotains Unexisting Tag" href="html/00056.html">
- </topic>
- </topic>
- <topic label="Multiple Map Files" href="html/00069.html">
- <topic label="Select Multiple Map Files to Load" href="html/00055.html">
- </topic>
- </topic>
- </topic>
-</toc>
diff --git a/bundles/org.eclipse.sdk.examples/.project b/bundles/org.eclipse.sdk.examples/.project
deleted file mode 100644
index 705c8dd..0000000
--- a/bundles/org.eclipse.sdk.examples/.project
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.sdk.examples</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- </buildSpec>
- <natures>
- </natures>
-</projectDescription>
diff --git a/bundles/org.eclipse.sdk.examples/about.html b/bundles/org.eclipse.sdk.examples/about.html
deleted file mode 100644
index 9db411a..0000000
--- a/bundles/org.eclipse.sdk.examples/about.html
+++ /dev/null
@@ -1,30 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<html>
-<head>
-<title>About</title>
-<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
-</head>
-<body lang="EN-US">
-<h2>About This Content</h2>
-
-<p>20th June, 2002</p>
-<h3>License</h3>
-<p>Eclipse.org makes available all content in this plug-in ("Content"). Unless otherwise indicated below, the Content is provided to you under the terms and conditions of the
-Common Public License Version 1.0 ("CPL"). A copy of the CPL is available at <a href="http://www.eclipse.org/legal/cpl-v10.html">http://www.eclipse.org/legal/cpl-v10.html</a>.
-For purposes of the CPL, "Program" will mean the Content.</p>
-
-<h3>Contributions</h3>
-
-<p>If this Content is licensed to you under the terms and conditions of the CPL, any Contributions, as defined in the CPL, uploaded, submitted, or otherwise
-made available to Eclipse.org, members of Eclipse.org and/or the host of Eclipse.org web site, by you that relate to such
-Content are provided under the terms and conditions of the CPL and can be made available to others under the terms of the CPL.</p>
-
-<p>If this Content is licensed to you under license terms and conditions other than the CPL ("Other License"), any modifications, enhancements and/or
-other code and/or documentation ("Modifications") uploaded, submitted, or otherwise made available to Eclipse.org, members of Eclipse.org and/or the
-host of Eclipse.org, by you that relate to such Content are provided under terms and conditions of the Other License and can be made available
-to others under the terms of the Other License. In addition, with regard to Modifications for which you are the copyright holder, you are also
-providing the Modifications under the terms and conditions of the CPL and such Modifications can be made available to others under the terms of
-the CPL.</p>
-
-</body>
-</html>
\ No newline at end of file
diff --git a/bundles/org.eclipse.sdk.examples/about.ini b/bundles/org.eclipse.sdk.examples/about.ini
deleted file mode 100644
index 2dee36a..0000000
--- a/bundles/org.eclipse.sdk.examples/about.ini
+++ /dev/null
@@ -1,31 +0,0 @@
-# about.ini
-# contains information about a feature
-# java.io.Properties file (ISO 8859-1 with "\" escapes)
-# "%key" are externalized strings defined in about.properties
-# This file does not need to be translated.
-
-# Property "aboutText" contains blurb for "About" dialog (translated)
-aboutText=%blurb
-
-# Property "windowImage" contains path to window icon (16x16)
-# needed for primary features only
-
-# Property "featureImage" contains path to feature image (32x32)
-featureImage=eclipse32.gif
-
-# Property "aboutImage" contains path to product image (500x330 or 115x164)
-# needed for primary features only
-
-# Property "appName" contains name of the application (not translated)
-# needed for primary features only
-
-# Property "welcomePage" contains path to welcome page (special XML-based format)
-# optional
-
-# Property "welcomePerspective" contains the id of the perspective in which the
-# welcome page is to be opened.
-# optional
-
-
-
-
diff --git a/bundles/org.eclipse.sdk.examples/about.mappings b/bundles/org.eclipse.sdk.examples/about.mappings
deleted file mode 100644
index bddaab4..0000000
--- a/bundles/org.eclipse.sdk.examples/about.mappings
+++ /dev/null
@@ -1,6 +0,0 @@
-# about.mappings
-# contains fill-ins for about.properties
-# java.io.Properties file (ISO 8859-1 with "\" escapes)
-# This file does not need to be translated.
-
-0=@build@
\ No newline at end of file
diff --git a/bundles/org.eclipse.sdk.examples/about.properties b/bundles/org.eclipse.sdk.examples/about.properties
deleted file mode 100644
index 9bdfa8a..0000000
--- a/bundles/org.eclipse.sdk.examples/about.properties
+++ /dev/null
@@ -1,26 +0,0 @@
-###############################################################################
-# Copyright (c) 2000, 2004 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Common Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/cpl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-# about.properties
-# contains externalized strings for about.ini
-# java.io.Properties file (ISO 8859-1 with "\" escapes)
-# fill-ins are supplied by about.mappings
-# This file should be translated.
-#
-# Do not translate any values surrounded by {}
-
-blurb=Eclipse SDK Examples\n\
-\n\
-Version: {featureVersion}\n\
-Build id: {0}\n\
-\n\
-(c) Copyright Eclipse contributors and others 2000, 2004. All rights reserved.\n\
-Visit http://www.eclipse.org/eclipse
-
diff --git a/bundles/org.eclipse.sdk.examples/build.properties b/bundles/org.eclipse.sdk.examples/build.properties
deleted file mode 100644
index cc6797e..0000000
--- a/bundles/org.eclipse.sdk.examples/build.properties
+++ /dev/null
@@ -1,25 +0,0 @@
-###############################################################################
-# Copyright (c) 2000, 2003 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Common Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/cpl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-bin.includes=\
-about.html,\
-about.ini,\
-about.mappings,\
-about.properties,\
-eclipse32.gif,\
-plugin.xml,\
-plugin.properties
-
-# note: the following files are intentionally not listed in bin.includes
-# cpl-v10.html
-# notice.html
-# these files need to end up as root files in <install>/eclipse/
-
-
diff --git a/bundles/org.eclipse.sdk.examples/cpl-v10.html b/bundles/org.eclipse.sdk.examples/cpl-v10.html
deleted file mode 100644
index 36aa208..0000000
--- a/bundles/org.eclipse.sdk.examples/cpl-v10.html
+++ /dev/null
@@ -1,125 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<HTML>
-<HEAD>
-<TITLE>Common Public License - v 1.0</TITLE>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-</HEAD>
-
-<BODY BGCOLOR="#FFFFFF" VLINK="#800000">
-
-
-<P ALIGN="CENTER"><B>Common Public License - v 1.0</B>
-<P><B></B><FONT SIZE="3"></FONT>
-<P><FONT SIZE="3"></FONT><FONT SIZE="2">THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.</FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"><B>1. DEFINITIONS</B></FONT>
-<P><FONT SIZE="2">"Contribution" means:</FONT>
-
-<UL><FONT SIZE="2">a) in the case of the initial Contributor, the initial code and documentation distributed under this Agreement, and<BR CLEAR="LEFT">
-b) in the case of each subsequent Contributor:</FONT></UL>
-
-
-<UL><FONT SIZE="2">i) changes to the Program, and</FONT></UL>
-
-
-<UL><FONT SIZE="2">ii) additions to the Program;</FONT></UL>
-
-
-<UL><FONT SIZE="2">where such changes and/or additions to the Program originate from and are distributed by that particular Contributor. </FONT><FONT SIZE="2">A Contribution 'originates' from a Contributor if it was added to the Program by such Contributor itself or anyone acting on such Contributor's behalf. </FONT><FONT SIZE="2">Contributions do not include additions to the Program which: (i) are separate modules of software distributed in conjunction with the Program under their own license agreement, and (ii) are not derivative works of the Program. </FONT></UL>
-
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2">"Contributor" means any person or entity that distributes the Program.</FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2">"Licensed Patents " mean patent claims licensable by a Contributor which are necessarily infringed by the use or sale of its Contribution alone or when combined with the Program. </FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2">"Program" means the Contributions distributed in accordance with this Agreement.</FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2">"Recipient" means anyone who receives the Program under this Agreement, including all Contributors.</FONT>
-<P><FONT SIZE="2"><B></B></FONT>
-<P><FONT SIZE="2"><B>2. GRANT OF RIGHTS</B></FONT>
-
-<UL><FONT SIZE="2"></FONT><FONT SIZE="2">a) </FONT><FONT SIZE="2">Subject to the terms of this Agreement, each Contributor hereby grants</FONT><FONT SIZE="2"> Recipient a non-exclusive, worldwide, royalty-free copyright license to</FONT><FONT SIZE="2" COLOR="#FF0000"> </FONT><FONT SIZE="2">reproduce, prepare derivative works of, publicly display, publicly perform, distribute and sublicense the Contribution of such Contributor, if any, and such derivative works, in source code and object code form.</FONT></UL>
-
-
-<UL><FONT SIZE="2"></FONT></UL>
-
-
-<UL><FONT SIZE="2"></FONT><FONT SIZE="2">b) Subject to the terms of this Agreement, each Contributor hereby grants </FONT><FONT SIZE="2">Recipient a non-exclusive, worldwide,</FONT><FONT SIZE="2" COLOR="#008000"> </FONT><FONT SIZE="2">royalty-free patent license under Licensed Patents to make, use, sell, offer to sell, import and otherwise transfer the Contribution of such Contributor, if any, in source code and object code form. This patent license shall apply to the combination of the Contribution and the Program if, at the time the Contribution is added by the Contributor, such addition of the Contribution causes such combination to be covered by the Licensed Patents. The patent license shall not apply to any other combinations which include the Contribution. No hardware per se is licensed hereunder. </FONT></UL>
-
-
-<UL><FONT SIZE="2"></FONT></UL>
-
-
-<UL><FONT SIZE="2">c) Recipient understands that although each Contributor grants the licenses to its Contributions set forth herein, no assurances are provided by any Contributor that the Program does not infringe the patent or other intellectual property rights of any other entity. Each Contributor disclaims any liability to Recipient for claims brought by any other entity based on infringement of intellectual property rights or otherwise. As a condition to exercising the rights and licenses granted hereunder, each Recipient hereby assumes sole responsibility to secure any other intellectual property rights needed, if any. For example, if a third party patent license is required to allow Recipient to distribute the Program, it is Recipient's responsibility to acquire that license before distributing the Program.</FONT></UL>
-
-
-<UL><FONT SIZE="2"></FONT></UL>
-
-
-<UL><FONT SIZE="2">d) Each Contributor represents that to its knowledge it has sufficient copyright rights in its Contribution, if any, to grant the copyright license set forth in this Agreement. </FONT></UL>
-
-
-<UL><FONT SIZE="2"></FONT></UL>
-
-<P><FONT SIZE="2"><B>3. REQUIREMENTS</B></FONT>
-<P><FONT SIZE="2"><B></B>A Contributor may choose to distribute the Program in object code form under its own license agreement, provided that:</FONT>
-
-<UL><FONT SIZE="2">a) it complies with the terms and conditions of this Agreement; and</FONT></UL>
-
-
-<UL><FONT SIZE="2">b) its license agreement:</FONT></UL>
-
-
-<UL><FONT SIZE="2">i) effectively disclaims</FONT><FONT SIZE="2"> on behalf of all Contributors all warranties and conditions, express and implied, including warranties or conditions of title and non-infringement, and implied warranties or conditions of merchantability and fitness for a particular purpose; </FONT></UL>
-
-
-<UL><FONT SIZE="2">ii) effectively excludes on behalf of all Contributors all liability for damages, including direct, indirect, special, incidental and consequential damages, such as lost profits; </FONT></UL>
-
-
-<UL><FONT SIZE="2">iii)</FONT><FONT SIZE="2"> states that any provisions which differ from this Agreement are offered by that Contributor alone and not by any other party; and</FONT></UL>
-
-
-<UL><FONT SIZE="2">iv) states that source code for the Program is available from such Contributor, and informs licensees how to obtain it in a reasonable manner on or through a medium customarily used for software exchange.</FONT><FONT SIZE="2" COLOR="#0000FF"> </FONT><FONT SIZE="2" COLOR="#FF0000"></FONT></UL>
-
-
-<UL><FONT SIZE="2" COLOR="#FF0000"></FONT><FONT SIZE="2"></FONT></UL>
-
-<P><FONT SIZE="2">When the Program is made available in source code form:</FONT>
-
-<UL><FONT SIZE="2">a) it must be made available under this Agreement; and </FONT></UL>
-
-
-<UL><FONT SIZE="2">b) a copy of this Agreement must be included with each copy of the Program. </FONT></UL>
-
-<P><FONT SIZE="2"></FONT><FONT SIZE="2" COLOR="#0000FF"><STRIKE></STRIKE></FONT>
-<P><FONT SIZE="2" COLOR="#0000FF"><STRIKE></STRIKE></FONT><FONT SIZE="2">Contributors may not remove or alter any copyright notices contained within the Program. </FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2">Each Contributor must identify itself as the originator of its Contribution, if any, in a manner that reasonably allows subsequent Recipients to identify the originator of the Contribution. </FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"><B>4. COMMERCIAL DISTRIBUTION</B></FONT>
-<P><FONT SIZE="2">Commercial distributors of software may accept certain responsibilities with respect to end users, business partners and the like. While this license is intended to facilitate the commercial use of the Program, the Contributor who includes the Program in a commercial product offering should do so in a manner which does not create potential liability for other Contributors. Therefore, if a Contributor includes the Program in a commercial product offering, such Contributor ("Commercial Contributor") hereby agrees to defend and indemnify every other Contributor ("Indemnified Contributor") against any losses, damages and costs (collectively "Losses") arising from claims, lawsuits and other legal actions brought by a third party against the Indemnified Contributor to the extent caused by the acts or omissions of such Commercial Contributor in connection with its distribution of the Program in a commercial product offering. The obligations in this section do not apply to any claims or Losses relating to any actual or alleged intellectual property infringement. In order to qualify, an Indemnified Contributor must: a) promptly notify the Commercial Contributor in writing of such claim, and b) allow the Commercial Contributor to control, and cooperate with the Commercial Contributor in, the defense and any related settlement negotiations. The Indemnified Contributor may participate in any such claim at its own expense.</FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2">For example, a Contributor might include the Program in a commercial product offering, Product X. That Contributor is then a Commercial Contributor. If that Commercial Contributor then makes performance claims, or offers warranties related to Product X, those performance claims and warranties are such Commercial Contributor's responsibility alone. Under this section, the Commercial Contributor would have to defend claims against the other Contributors related to those performance claims and warranties, and if a court requires any other Contributor to pay any damages as a result, the Commercial Contributor must pay those damages.</FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2" COLOR="#0000FF"></FONT>
-<P><FONT SIZE="2" COLOR="#0000FF"></FONT><FONT SIZE="2"><B>5. NO WARRANTY</B></FONT>
-<P><FONT SIZE="2">EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is</FONT><FONT SIZE="2"> solely responsible for determining the appropriateness of using and distributing </FONT><FONT SIZE="2">the Program</FONT><FONT SIZE="2"> and assumes all risks associated with its exercise of rights under this Agreement</FONT><FONT SIZE="2">, including but not limited to the risks and costs of program errors, compliance with applicable laws, damage to or loss of data, </FONT><FONT SIZE="2">programs or equipment, and unavailability or interruption of operations</FONT><FONT SIZE="2">. </FONT><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2"><B>6. DISCLAIMER OF LIABILITY</B></FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2">EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES </FONT><FONT SIZE="2">(INCLUDING WITHOUT LIMITATION LOST PROFITS),</FONT><FONT SIZE="2"> HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.</FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"><B>7. GENERAL</B></FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2">If any provision of this Agreement is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this Agreement, and without further action by the parties hereto, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable.</FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2">If Recipient institutes patent litigation against a Contributor with respect to a patent applicable to software (including a cross-claim or counterclaim in a lawsuit), then any patent licenses granted by that Contributor to such Recipient under this Agreement shall terminate as of the date such litigation is filed. In addition, if Recipient institutes patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Program itself (excluding combinations of the Program with other software or hardware) infringes such Recipient's patent(s), then such Recipient's rights granted under Section 2(b) shall terminate as of the date such litigation is filed. </FONT><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2">All Recipient's rights under this Agreement shall terminate if it fails to comply with any of the material terms or conditions of this Agreement and does not cure such failure in a reasonable period of time after becoming aware of such noncompliance. If all Recipient's rights under this Agreement terminate, Recipient agrees to cease use and distribution of the Program as soon as reasonably practicable. However, Recipient's obligations under this Agreement and any licenses granted by Recipient relating to the Program shall continue and survive. </FONT><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2">Everyone is permitted to copy and distribute copies of this Agreement, but in order to avoid inconsistency the Agreement is copyrighted and may only be modified in the following manner. The Agreement Steward reserves the right to </FONT><FONT SIZE="2">publish new versions (including revisions) of this Agreement from time to </FONT><FONT SIZE="2">time. No one other than the Agreement Steward has the right to modify this Agreement. IBM is the initial Agreement Steward. IBM may assign the responsibility to serve as the Agreement Steward to a suitable separate entity. </FONT><FONT SIZE="2">Each new version of the Agreement will be given a distinguishing version number. The Program (including Contributions) may always be distributed subject to the version of the Agreement under which it was received. In addition, after a new version of the Agreement is published, Contributor may elect to distribute the Program (including its Contributions) under the new </FONT><FONT SIZE="2">version. </FONT><FONT SIZE="2">Except as expressly stated in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to the intellectual property of any Contributor under this Agreement, whether expressly, </FONT><FONT SIZE="2">by implication, estoppel or otherwise</FONT><FONT SIZE="2">.</FONT><FONT SIZE="2"> All rights in the Program not expressly granted under this Agreement are reserved.</FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2">This Agreement is governed by the laws of the State of New York and the intellectual property laws of the United States of America. No party to this Agreement will bring a legal action under this Agreement more than one year after the cause of action arose. Each party waives its rights to a jury trial in any resulting litigation.</FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"></FONT>
-
-</BODY>
-
-</HTML>
\ No newline at end of file
diff --git a/bundles/org.eclipse.sdk.examples/eclipse32.gif b/bundles/org.eclipse.sdk.examples/eclipse32.gif
deleted file mode 100644
index f71a8f6..0000000
--- a/bundles/org.eclipse.sdk.examples/eclipse32.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.sdk.examples/notice.html b/bundles/org.eclipse.sdk.examples/notice.html
deleted file mode 100644
index e7d8500..0000000
--- a/bundles/org.eclipse.sdk.examples/notice.html
+++ /dev/null
@@ -1,72 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<html>
-<head>
-<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
-<title>Eclipse.org Software User Agreement</title>
-</head>
-
-<body lang="EN-US" link=blue vlink=purple>
-<h2>Eclipse.org Software User Agreement</h2>
-<p>15<sup>th</sup> June, 2004</p>
-
-<h3>Usage Of Content</h3>
-
-<p>ECLIPSE.ORG 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.</p>
-
-<h3>Applicable Licenses</h3>
-
-<p>Unless otherwise indicated, all Content made available by Eclipse.org is provided to you under the terms and conditions of the Common Public License Version 1.0
- ("CPL"). A copy of the CPL is provided with this Content and is also available at <a href="http://www.eclipse.org/legal/cpl-v10.html">http://www.eclipse.org/legal/cpl-v10.html</a>.
- For purposes of the CPL, "Program" will mean the Content.</p>
-
-<p>Content includes, but is not limited to, source code, object code, documentation and other files maintained in the Eclipse.org CVS repository ("Repository") in CVS
- modules ("Modules") and made available as downloadable archives ("Downloads").</p>
-
-<p>Content may be apportioned into plug-ins ("Plug-ins"), plug-in fragments ("Fragments"), and features ("Features"). A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material. Files named "feature.xml" may contain a list of the names and version numbers of the Plug-ins and/or Fragments associated with a Feature. Plug-ins and Fragments are located in directories
- named "plugins" and Features are located in directories named "features".</p>
-
-<p>Features may also include other Features ("Included Features"). Files named "feature.xml" may contain a list of the names and version numbers of Included Features.</p>
-
-<p>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:</p>
-
-<ul>
- <li>The top-level (root) directory</li>
- <li>Plug-in and Fragment directories</li>
- <li>Subdirectories of the directory named "src" of certain Plug-ins</li>
- <li>Feature directories</li>
-</ul>
-
-<p>Note: if a Feature made available by Eclipse.org is installed using the Eclipse Update Manager, 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".
-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.</p>
-
-<p>THE ABOUTS, FEATURE LICENSES AND FEATURE UPDATE LICENSES MAY REFER TO THE CPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS. SOME OF THESE
-OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):</p>
-
-<ul>
- <li>Eclipse Public License Version 1.0 (available at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>)</li>
- <li>Apache Software License 1.1 (available at <a href="http://www.apache.org/licenses/LICENSE">http://www.apache.org/licenses/LICENSE</a>)</li>
- <li>IBM Public License 1.0 (available at <a href="http://oss.software.ibm.com/developerworks/opensource/license10.html">http://oss.software.ibm.com/developerworks/opensource/license10.html</a>)</li>
- <li>Metro Link Public License 1.00 (available at <a href="http://www.opengroup.org/openmotif/supporters/metrolink/license.html">http://www.opengroup.org/openmotif/supporters/metrolink/license.html</a>)</li>
- <li>Mozilla Public License Version 1.1 (available at <a href="http://www.mozilla.org/MPL/MPL-1.1.html">http://www.mozilla.org/MPL/MPL-1.1.html</a>)</li>
-</ul>
-
-<p>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 Eclipse.org to determine what terms and conditions govern that particular Content.</p>
-
-<h3>Cryptography</h3>
-
-<p>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.</p>
-</body>
-</html>
diff --git a/bundles/org.eclipse.sdk.examples/plugin.properties b/bundles/org.eclipse.sdk.examples/plugin.properties
deleted file mode 100644
index e0b80bb..0000000
--- a/bundles/org.eclipse.sdk.examples/plugin.properties
+++ /dev/null
@@ -1,12 +0,0 @@
-###############################################################################
-# Copyright (c) 2000, 2003 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Common Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/cpl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-pluginName=Eclipse SDK Examples
-providerName=Eclipse.org
diff --git a/bundles/org.eclipse.sdk.examples/plugin.xml b/bundles/org.eclipse.sdk.examples/plugin.xml
deleted file mode 100644
index d76fc47..0000000
--- a/bundles/org.eclipse.sdk.examples/plugin.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.0"?>
-<plugin
- id="org.eclipse.sdk.examples"
- name="%pluginName"
- version="3.0.1"
- provider-name="%providerName">
-
- <runtime>
- </runtime>
-
-</plugin>
diff --git a/bundles/org.eclipse.sdk.tests/.project b/bundles/org.eclipse.sdk.tests/.project
deleted file mode 100644
index 72794b1..0000000
--- a/bundles/org.eclipse.sdk.tests/.project
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.sdk.tests</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- </buildSpec>
- <natures>
- </natures>
-</projectDescription>
diff --git a/bundles/org.eclipse.sdk.tests/about.html b/bundles/org.eclipse.sdk.tests/about.html
deleted file mode 100644
index 9db411a..0000000
--- a/bundles/org.eclipse.sdk.tests/about.html
+++ /dev/null
@@ -1,30 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<html>
-<head>
-<title>About</title>
-<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
-</head>
-<body lang="EN-US">
-<h2>About This Content</h2>
-
-<p>20th June, 2002</p>
-<h3>License</h3>
-<p>Eclipse.org makes available all content in this plug-in ("Content"). Unless otherwise indicated below, the Content is provided to you under the terms and conditions of the
-Common Public License Version 1.0 ("CPL"). A copy of the CPL is available at <a href="http://www.eclipse.org/legal/cpl-v10.html">http://www.eclipse.org/legal/cpl-v10.html</a>.
-For purposes of the CPL, "Program" will mean the Content.</p>
-
-<h3>Contributions</h3>
-
-<p>If this Content is licensed to you under the terms and conditions of the CPL, any Contributions, as defined in the CPL, uploaded, submitted, or otherwise
-made available to Eclipse.org, members of Eclipse.org and/or the host of Eclipse.org web site, by you that relate to such
-Content are provided under the terms and conditions of the CPL and can be made available to others under the terms of the CPL.</p>
-
-<p>If this Content is licensed to you under license terms and conditions other than the CPL ("Other License"), any modifications, enhancements and/or
-other code and/or documentation ("Modifications") uploaded, submitted, or otherwise made available to Eclipse.org, members of Eclipse.org and/or the
-host of Eclipse.org, by you that relate to such Content are provided under terms and conditions of the Other License and can be made available
-to others under the terms of the Other License. In addition, with regard to Modifications for which you are the copyright holder, you are also
-providing the Modifications under the terms and conditions of the CPL and such Modifications can be made available to others under the terms of
-the CPL.</p>
-
-</body>
-</html>
\ No newline at end of file
diff --git a/bundles/org.eclipse.sdk.tests/about.ini b/bundles/org.eclipse.sdk.tests/about.ini
deleted file mode 100644
index dbd842f..0000000
--- a/bundles/org.eclipse.sdk.tests/about.ini
+++ /dev/null
@@ -1,27 +0,0 @@
-# about.ini
-# contains information about a feature
-# java.io.Properties file (ISO 8859-1 with "\" escapes)
-# "%key" are externalized strings defined in about.properties
-# This file does not need to be translated.
-
-# Property "aboutText" contains blurb for "About" dialog (translated)
-aboutText=%blurb
-
-# Property "windowImage" contains path to window icon (16x16)
-# needed for primary features only
-
-# Property "featureImage" contains path to feature image (32x32)
-featureImage=eclipse32.gif
-
-# Property "aboutImage" contains path to product image (500x330 or 115x164)
-# needed for primary features only
-
-# Property "appName" contains name of the application (not translated)
-# needed for primary features only
-
-# Property "welcomePage" contains path to welcome page (special XML-based format)
-# optional
-
-# Property "welcomePerspective" contains the id of the perspective in which the
-# welcome page is to be opened.
-# optional
diff --git a/bundles/org.eclipse.sdk.tests/about.mappings b/bundles/org.eclipse.sdk.tests/about.mappings
deleted file mode 100644
index bddaab4..0000000
--- a/bundles/org.eclipse.sdk.tests/about.mappings
+++ /dev/null
@@ -1,6 +0,0 @@
-# about.mappings
-# contains fill-ins for about.properties
-# java.io.Properties file (ISO 8859-1 with "\" escapes)
-# This file does not need to be translated.
-
-0=@build@
\ No newline at end of file
diff --git a/bundles/org.eclipse.sdk.tests/about.properties b/bundles/org.eclipse.sdk.tests/about.properties
deleted file mode 100644
index 91bd6ea..0000000
--- a/bundles/org.eclipse.sdk.tests/about.properties
+++ /dev/null
@@ -1,26 +0,0 @@
-###############################################################################
-# Copyright (c) 2000, 2004 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Common Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/cpl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-# about.properties
-# contains externalized strings for about.ini
-# java.io.Properties file (ISO 8859-1 with "\" escapes)
-# fill-ins are supplied by about.mappings
-# This file should be translated.
-#
-# Do not translate any values surrounded by {}
-
-blurb=Eclipse SDK Tests\n\
-\n\
-Version: {featureVersion}\n\
-Build id: {0}\n\
-\n\
-(c) Copyright Eclipse contributors and others 2000, 2004. All rights reserved.\n\
-Visit http://www.eclipse.org/eclipse
-
diff --git a/bundles/org.eclipse.sdk.tests/build.properties b/bundles/org.eclipse.sdk.tests/build.properties
deleted file mode 100644
index 827a61e..0000000
--- a/bundles/org.eclipse.sdk.tests/build.properties
+++ /dev/null
@@ -1,25 +0,0 @@
-###############################################################################
-# Copyright (c) 2000, 2004 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Common Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/cpl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-bin.includes=\
-about.html,\
-about.ini,\
-about.mappings,\
-about.properties,\
-eclipse32.gif,\
-plugin.xml,\
-plugin.properties
-
-
-# note: the following files are intentionally not listed in bin.includes
-# cpl-v10.html
-# notice.html
-# these files need to end up as root files in <install>/eclipse/
-
diff --git a/bundles/org.eclipse.sdk.tests/cpl-v10.html b/bundles/org.eclipse.sdk.tests/cpl-v10.html
deleted file mode 100644
index 36aa208..0000000
--- a/bundles/org.eclipse.sdk.tests/cpl-v10.html
+++ /dev/null
@@ -1,125 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<HTML>
-<HEAD>
-<TITLE>Common Public License - v 1.0</TITLE>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-</HEAD>
-
-<BODY BGCOLOR="#FFFFFF" VLINK="#800000">
-
-
-<P ALIGN="CENTER"><B>Common Public License - v 1.0</B>
-<P><B></B><FONT SIZE="3"></FONT>
-<P><FONT SIZE="3"></FONT><FONT SIZE="2">THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.</FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"><B>1. DEFINITIONS</B></FONT>
-<P><FONT SIZE="2">"Contribution" means:</FONT>
-
-<UL><FONT SIZE="2">a) in the case of the initial Contributor, the initial code and documentation distributed under this Agreement, and<BR CLEAR="LEFT">
-b) in the case of each subsequent Contributor:</FONT></UL>
-
-
-<UL><FONT SIZE="2">i) changes to the Program, and</FONT></UL>
-
-
-<UL><FONT SIZE="2">ii) additions to the Program;</FONT></UL>
-
-
-<UL><FONT SIZE="2">where such changes and/or additions to the Program originate from and are distributed by that particular Contributor. </FONT><FONT SIZE="2">A Contribution 'originates' from a Contributor if it was added to the Program by such Contributor itself or anyone acting on such Contributor's behalf. </FONT><FONT SIZE="2">Contributions do not include additions to the Program which: (i) are separate modules of software distributed in conjunction with the Program under their own license agreement, and (ii) are not derivative works of the Program. </FONT></UL>
-
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2">"Contributor" means any person or entity that distributes the Program.</FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2">"Licensed Patents " mean patent claims licensable by a Contributor which are necessarily infringed by the use or sale of its Contribution alone or when combined with the Program. </FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2">"Program" means the Contributions distributed in accordance with this Agreement.</FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2">"Recipient" means anyone who receives the Program under this Agreement, including all Contributors.</FONT>
-<P><FONT SIZE="2"><B></B></FONT>
-<P><FONT SIZE="2"><B>2. GRANT OF RIGHTS</B></FONT>
-
-<UL><FONT SIZE="2"></FONT><FONT SIZE="2">a) </FONT><FONT SIZE="2">Subject to the terms of this Agreement, each Contributor hereby grants</FONT><FONT SIZE="2"> Recipient a non-exclusive, worldwide, royalty-free copyright license to</FONT><FONT SIZE="2" COLOR="#FF0000"> </FONT><FONT SIZE="2">reproduce, prepare derivative works of, publicly display, publicly perform, distribute and sublicense the Contribution of such Contributor, if any, and such derivative works, in source code and object code form.</FONT></UL>
-
-
-<UL><FONT SIZE="2"></FONT></UL>
-
-
-<UL><FONT SIZE="2"></FONT><FONT SIZE="2">b) Subject to the terms of this Agreement, each Contributor hereby grants </FONT><FONT SIZE="2">Recipient a non-exclusive, worldwide,</FONT><FONT SIZE="2" COLOR="#008000"> </FONT><FONT SIZE="2">royalty-free patent license under Licensed Patents to make, use, sell, offer to sell, import and otherwise transfer the Contribution of such Contributor, if any, in source code and object code form. This patent license shall apply to the combination of the Contribution and the Program if, at the time the Contribution is added by the Contributor, such addition of the Contribution causes such combination to be covered by the Licensed Patents. The patent license shall not apply to any other combinations which include the Contribution. No hardware per se is licensed hereunder. </FONT></UL>
-
-
-<UL><FONT SIZE="2"></FONT></UL>
-
-
-<UL><FONT SIZE="2">c) Recipient understands that although each Contributor grants the licenses to its Contributions set forth herein, no assurances are provided by any Contributor that the Program does not infringe the patent or other intellectual property rights of any other entity. Each Contributor disclaims any liability to Recipient for claims brought by any other entity based on infringement of intellectual property rights or otherwise. As a condition to exercising the rights and licenses granted hereunder, each Recipient hereby assumes sole responsibility to secure any other intellectual property rights needed, if any. For example, if a third party patent license is required to allow Recipient to distribute the Program, it is Recipient's responsibility to acquire that license before distributing the Program.</FONT></UL>
-
-
-<UL><FONT SIZE="2"></FONT></UL>
-
-
-<UL><FONT SIZE="2">d) Each Contributor represents that to its knowledge it has sufficient copyright rights in its Contribution, if any, to grant the copyright license set forth in this Agreement. </FONT></UL>
-
-
-<UL><FONT SIZE="2"></FONT></UL>
-
-<P><FONT SIZE="2"><B>3. REQUIREMENTS</B></FONT>
-<P><FONT SIZE="2"><B></B>A Contributor may choose to distribute the Program in object code form under its own license agreement, provided that:</FONT>
-
-<UL><FONT SIZE="2">a) it complies with the terms and conditions of this Agreement; and</FONT></UL>
-
-
-<UL><FONT SIZE="2">b) its license agreement:</FONT></UL>
-
-
-<UL><FONT SIZE="2">i) effectively disclaims</FONT><FONT SIZE="2"> on behalf of all Contributors all warranties and conditions, express and implied, including warranties or conditions of title and non-infringement, and implied warranties or conditions of merchantability and fitness for a particular purpose; </FONT></UL>
-
-
-<UL><FONT SIZE="2">ii) effectively excludes on behalf of all Contributors all liability for damages, including direct, indirect, special, incidental and consequential damages, such as lost profits; </FONT></UL>
-
-
-<UL><FONT SIZE="2">iii)</FONT><FONT SIZE="2"> states that any provisions which differ from this Agreement are offered by that Contributor alone and not by any other party; and</FONT></UL>
-
-
-<UL><FONT SIZE="2">iv) states that source code for the Program is available from such Contributor, and informs licensees how to obtain it in a reasonable manner on or through a medium customarily used for software exchange.</FONT><FONT SIZE="2" COLOR="#0000FF"> </FONT><FONT SIZE="2" COLOR="#FF0000"></FONT></UL>
-
-
-<UL><FONT SIZE="2" COLOR="#FF0000"></FONT><FONT SIZE="2"></FONT></UL>
-
-<P><FONT SIZE="2">When the Program is made available in source code form:</FONT>
-
-<UL><FONT SIZE="2">a) it must be made available under this Agreement; and </FONT></UL>
-
-
-<UL><FONT SIZE="2">b) a copy of this Agreement must be included with each copy of the Program. </FONT></UL>
-
-<P><FONT SIZE="2"></FONT><FONT SIZE="2" COLOR="#0000FF"><STRIKE></STRIKE></FONT>
-<P><FONT SIZE="2" COLOR="#0000FF"><STRIKE></STRIKE></FONT><FONT SIZE="2">Contributors may not remove or alter any copyright notices contained within the Program. </FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2">Each Contributor must identify itself as the originator of its Contribution, if any, in a manner that reasonably allows subsequent Recipients to identify the originator of the Contribution. </FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"><B>4. COMMERCIAL DISTRIBUTION</B></FONT>
-<P><FONT SIZE="2">Commercial distributors of software may accept certain responsibilities with respect to end users, business partners and the like. While this license is intended to facilitate the commercial use of the Program, the Contributor who includes the Program in a commercial product offering should do so in a manner which does not create potential liability for other Contributors. Therefore, if a Contributor includes the Program in a commercial product offering, such Contributor ("Commercial Contributor") hereby agrees to defend and indemnify every other Contributor ("Indemnified Contributor") against any losses, damages and costs (collectively "Losses") arising from claims, lawsuits and other legal actions brought by a third party against the Indemnified Contributor to the extent caused by the acts or omissions of such Commercial Contributor in connection with its distribution of the Program in a commercial product offering. The obligations in this section do not apply to any claims or Losses relating to any actual or alleged intellectual property infringement. In order to qualify, an Indemnified Contributor must: a) promptly notify the Commercial Contributor in writing of such claim, and b) allow the Commercial Contributor to control, and cooperate with the Commercial Contributor in, the defense and any related settlement negotiations. The Indemnified Contributor may participate in any such claim at its own expense.</FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2">For example, a Contributor might include the Program in a commercial product offering, Product X. That Contributor is then a Commercial Contributor. If that Commercial Contributor then makes performance claims, or offers warranties related to Product X, those performance claims and warranties are such Commercial Contributor's responsibility alone. Under this section, the Commercial Contributor would have to defend claims against the other Contributors related to those performance claims and warranties, and if a court requires any other Contributor to pay any damages as a result, the Commercial Contributor must pay those damages.</FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2" COLOR="#0000FF"></FONT>
-<P><FONT SIZE="2" COLOR="#0000FF"></FONT><FONT SIZE="2"><B>5. NO WARRANTY</B></FONT>
-<P><FONT SIZE="2">EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is</FONT><FONT SIZE="2"> solely responsible for determining the appropriateness of using and distributing </FONT><FONT SIZE="2">the Program</FONT><FONT SIZE="2"> and assumes all risks associated with its exercise of rights under this Agreement</FONT><FONT SIZE="2">, including but not limited to the risks and costs of program errors, compliance with applicable laws, damage to or loss of data, </FONT><FONT SIZE="2">programs or equipment, and unavailability or interruption of operations</FONT><FONT SIZE="2">. </FONT><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2"><B>6. DISCLAIMER OF LIABILITY</B></FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2">EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES </FONT><FONT SIZE="2">(INCLUDING WITHOUT LIMITATION LOST PROFITS),</FONT><FONT SIZE="2"> HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.</FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"><B>7. GENERAL</B></FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2">If any provision of this Agreement is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this Agreement, and without further action by the parties hereto, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable.</FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2">If Recipient institutes patent litigation against a Contributor with respect to a patent applicable to software (including a cross-claim or counterclaim in a lawsuit), then any patent licenses granted by that Contributor to such Recipient under this Agreement shall terminate as of the date such litigation is filed. In addition, if Recipient institutes patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Program itself (excluding combinations of the Program with other software or hardware) infringes such Recipient's patent(s), then such Recipient's rights granted under Section 2(b) shall terminate as of the date such litigation is filed. </FONT><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2">All Recipient's rights under this Agreement shall terminate if it fails to comply with any of the material terms or conditions of this Agreement and does not cure such failure in a reasonable period of time after becoming aware of such noncompliance. If all Recipient's rights under this Agreement terminate, Recipient agrees to cease use and distribution of the Program as soon as reasonably practicable. However, Recipient's obligations under this Agreement and any licenses granted by Recipient relating to the Program shall continue and survive. </FONT><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2">Everyone is permitted to copy and distribute copies of this Agreement, but in order to avoid inconsistency the Agreement is copyrighted and may only be modified in the following manner. The Agreement Steward reserves the right to </FONT><FONT SIZE="2">publish new versions (including revisions) of this Agreement from time to </FONT><FONT SIZE="2">time. No one other than the Agreement Steward has the right to modify this Agreement. IBM is the initial Agreement Steward. IBM may assign the responsibility to serve as the Agreement Steward to a suitable separate entity. </FONT><FONT SIZE="2">Each new version of the Agreement will be given a distinguishing version number. The Program (including Contributions) may always be distributed subject to the version of the Agreement under which it was received. In addition, after a new version of the Agreement is published, Contributor may elect to distribute the Program (including its Contributions) under the new </FONT><FONT SIZE="2">version. </FONT><FONT SIZE="2">Except as expressly stated in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to the intellectual property of any Contributor under this Agreement, whether expressly, </FONT><FONT SIZE="2">by implication, estoppel or otherwise</FONT><FONT SIZE="2">.</FONT><FONT SIZE="2"> All rights in the Program not expressly granted under this Agreement are reserved.</FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2">This Agreement is governed by the laws of the State of New York and the intellectual property laws of the United States of America. No party to this Agreement will bring a legal action under this Agreement more than one year after the cause of action arose. Each party waives its rights to a jury trial in any resulting litigation.</FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"></FONT>
-
-</BODY>
-
-</HTML>
\ No newline at end of file
diff --git a/bundles/org.eclipse.sdk.tests/eclipse32.gif b/bundles/org.eclipse.sdk.tests/eclipse32.gif
deleted file mode 100644
index f71a8f6..0000000
--- a/bundles/org.eclipse.sdk.tests/eclipse32.gif
+++ /dev/null
Binary files differ
diff --git a/bundles/org.eclipse.sdk.tests/notice.html b/bundles/org.eclipse.sdk.tests/notice.html
deleted file mode 100644
index e7d8500..0000000
--- a/bundles/org.eclipse.sdk.tests/notice.html
+++ /dev/null
@@ -1,72 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<html>
-<head>
-<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
-<title>Eclipse.org Software User Agreement</title>
-</head>
-
-<body lang="EN-US" link=blue vlink=purple>
-<h2>Eclipse.org Software User Agreement</h2>
-<p>15<sup>th</sup> June, 2004</p>
-
-<h3>Usage Of Content</h3>
-
-<p>ECLIPSE.ORG 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.</p>
-
-<h3>Applicable Licenses</h3>
-
-<p>Unless otherwise indicated, all Content made available by Eclipse.org is provided to you under the terms and conditions of the Common Public License Version 1.0
- ("CPL"). A copy of the CPL is provided with this Content and is also available at <a href="http://www.eclipse.org/legal/cpl-v10.html">http://www.eclipse.org/legal/cpl-v10.html</a>.
- For purposes of the CPL, "Program" will mean the Content.</p>
-
-<p>Content includes, but is not limited to, source code, object code, documentation and other files maintained in the Eclipse.org CVS repository ("Repository") in CVS
- modules ("Modules") and made available as downloadable archives ("Downloads").</p>
-
-<p>Content may be apportioned into plug-ins ("Plug-ins"), plug-in fragments ("Fragments"), and features ("Features"). A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material. Files named "feature.xml" may contain a list of the names and version numbers of the Plug-ins and/or Fragments associated with a Feature. Plug-ins and Fragments are located in directories
- named "plugins" and Features are located in directories named "features".</p>
-
-<p>Features may also include other Features ("Included Features"). Files named "feature.xml" may contain a list of the names and version numbers of Included Features.</p>
-
-<p>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:</p>
-
-<ul>
- <li>The top-level (root) directory</li>
- <li>Plug-in and Fragment directories</li>
- <li>Subdirectories of the directory named "src" of certain Plug-ins</li>
- <li>Feature directories</li>
-</ul>
-
-<p>Note: if a Feature made available by Eclipse.org is installed using the Eclipse Update Manager, 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".
-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.</p>
-
-<p>THE ABOUTS, FEATURE LICENSES AND FEATURE UPDATE LICENSES MAY REFER TO THE CPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS. SOME OF THESE
-OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):</p>
-
-<ul>
- <li>Eclipse Public License Version 1.0 (available at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>)</li>
- <li>Apache Software License 1.1 (available at <a href="http://www.apache.org/licenses/LICENSE">http://www.apache.org/licenses/LICENSE</a>)</li>
- <li>IBM Public License 1.0 (available at <a href="http://oss.software.ibm.com/developerworks/opensource/license10.html">http://oss.software.ibm.com/developerworks/opensource/license10.html</a>)</li>
- <li>Metro Link Public License 1.00 (available at <a href="http://www.opengroup.org/openmotif/supporters/metrolink/license.html">http://www.opengroup.org/openmotif/supporters/metrolink/license.html</a>)</li>
- <li>Mozilla Public License Version 1.1 (available at <a href="http://www.mozilla.org/MPL/MPL-1.1.html">http://www.mozilla.org/MPL/MPL-1.1.html</a>)</li>
-</ul>
-
-<p>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 Eclipse.org to determine what terms and conditions govern that particular Content.</p>
-
-<h3>Cryptography</h3>
-
-<p>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.</p>
-</body>
-</html>
diff --git a/bundles/org.eclipse.sdk.tests/plugin.properties b/bundles/org.eclipse.sdk.tests/plugin.properties
deleted file mode 100644
index 7d33154..0000000
--- a/bundles/org.eclipse.sdk.tests/plugin.properties
+++ /dev/null
@@ -1,12 +0,0 @@
-###############################################################################
-# Copyright (c) 2000, 2004 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Common Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/cpl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-pluginName=Eclipse SDK Tests
-providerName=Eclipse.org
diff --git a/bundles/org.eclipse.sdk.tests/plugin.xml b/bundles/org.eclipse.sdk.tests/plugin.xml
deleted file mode 100644
index f88e260..0000000
--- a/bundles/org.eclipse.sdk.tests/plugin.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.0"?>
-<plugin
- name="%pluginName"
- id="org.eclipse.sdk.tests"
- version="3.0.1"
- provider-name="%providerName">
-</plugin>
diff --git a/bundles/org.eclipse.test/.classpath b/bundles/org.eclipse.test/.classpath
deleted file mode 100644
index 065ac06..0000000
--- a/bundles/org.eclipse.test/.classpath
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/bundles/org.eclipse.test/.cvsignore b/bundles/org.eclipse.test/.cvsignore
deleted file mode 100644
index ba077a4..0000000
--- a/bundles/org.eclipse.test/.cvsignore
+++ /dev/null
@@ -1 +0,0 @@
-bin
diff --git a/bundles/org.eclipse.test/.project b/bundles/org.eclipse.test/.project
deleted file mode 100644
index 797ea5e..0000000
--- a/bundles/org.eclipse.test/.project
+++ /dev/null
@@ -1,29 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.test</name>
- <comment></comment>
- <projects>
- <project>org.apache.ant</project>
- <project>org.eclipse.ant.core</project>
- <project>org.eclipse.core.boot</project>
- <project>org.eclipse.core.resources</project>
- <project>org.eclipse.core.runtime</project>
- <project>org.eclipse.help</project>
- <project>org.eclipse.jface</project>
- <project>org.eclipse.jface.text</project>
- <project>org.eclipse.swt</project>
- <project>org.eclipse.ui.workbench</project>
- <project>org.eclipse.update.core</project>
- <project>org.junit</project>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
-</projectDescription>
diff --git a/bundles/org.eclipse.test/JUNIT.XSL b/bundles/org.eclipse.test/JUNIT.XSL
deleted file mode 100644
index f632657..0000000
--- a/bundles/org.eclipse.test/JUNIT.XSL
+++ /dev/null
@@ -1,455 +0,0 @@
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
-<xsl:output method="html" indent="yes"/>
-<xsl:decimal-format decimal-separator="." grouping-separator="," />
-
-<xsl:template match="testsuites">
- <HTML>
- <HEAD>
- <style type="text/css">
- body {
- font:normal 68% verdana,arial,helvetica;
- color:#000000;
- }
- table tr td, table tr th {
- font-size: 68%;
- }
- table.details tr th{
- font-weight: bold;
- text-align:left;
- background:#a6caf0;
- }
- table.details tr td{
- background:#eeeee0;
- }
-
- p {
- line-height:1.5em;
- margin-top:0.5em; margin-bottom:1.0em;
- }
- h1 {
- margin: 0px 0px 5px; font: 165% verdana,arial,helvetica
- }
- h2 {
- margin-top: 1em; margin-bottom: 0.5em; font: bold 125% verdana,arial,helvetica
- }
- h3 {
- margin-bottom: 0.5em; font: bold 115% verdana,arial,helvetica
- }
- h4 {
- margin-bottom: 0.5em; font: bold 100% verdana,arial,helvetica
- }
- h5 {
- margin-bottom: 0.5em; font: bold 100% verdana,arial,helvetica
- }
- h6 {
- margin-bottom: 0.5em; font: bold 100% verdana,arial,helvetica
- }
- .Error {
- font-weight:bold; color:red;
- }
- .Failure {
- font-weight:bold; color:purple;
- }
- .Properties {
- text-align:right;
- }
- </style>
- <script language="JavaScript">
- var TestCases = new Array();
- var cur;
- <xsl:for-each select="./testsuite">
- <xsl:apply-templates select="properties"/>
- </xsl:for-each>
-
- </script>
- <script language="JavaScript"><![CDATA[
- function displayProperties (name) {
- var win = window.open('','JUnitSystemProperties','scrollbars=1,resizable=1');
- var doc = win.document.open();
- doc.write("<html><head><title>Properties of " + name + "</title>");
- doc.write("<style>")
- doc.write("body {font:normal 68% verdana,arial,helvetica; color:#000000; }");
- doc.write("table tr td, table tr th { font-size: 68%; }");
- doc.write("table.properties { border-collapse:collapse; border-left:solid 1 #cccccc; border-top:solid 1 #cccccc; padding:5px; }");
- doc.write("table.properties th { text-align:left; border-right:solid 1 #cccccc; border-bottom:solid 1 #cccccc; background-color:#eeeeee; }");
- doc.write("table.properties td { font:normal; text-align:left; border-right:solid 1 #cccccc; border-bottom:solid 1 #cccccc; background-color:#fffffff; }");
- doc.write("h3 { margin-bottom: 0.5em; font: bold 115% verdana,arial,helvetica }");
- doc.write("</style>");
- doc.write("</head><body>");
- doc.write("<h3>Properties of " + name + "</h3>");
- doc.write("<div align=\"right\"><a href=\"javascript:window.close();\">Close</a></div>");
- doc.write("<table class='properties'>");
- doc.write("<tr><th>Name</th><th>Value</th></tr>");
- for (prop in TestCases[name]) {
- doc.write("<tr><th>" + prop + "</th><td>" + TestCases[name][prop] + "</td></tr>");
- }
- doc.write("</table>");
- doc.write("</body></html>");
- doc.close();
- win.focus();
- }
- ]]>
- </script>
- </HEAD>
- <body>
- <a name="top"></a>
- <xsl:call-template name="pageHeader"/>
-
- <!-- Summary part -->
- <xsl:call-template name="summary"/>
- <hr size="1" width="95%" align="left"/>
-
- <!-- Package List part -->
- <xsl:call-template name="packagelist"/>
- <hr size="1" width="95%" align="left"/>
-
- <!-- For each package create its part -->
- <xsl:call-template name="packages"/>
- <hr size="1" width="95%" align="left"/>
-
- <!-- For each class create the part -->
- <xsl:call-template name="classes"/>
-
- </body>
- </HTML>
-</xsl:template>
-
-
-
- <!-- ================================================================== -->
- <!-- Write a list of all packages with an hyperlink to the anchor of -->
- <!-- of the package name. -->
- <!-- ================================================================== -->
- <xsl:template name="packagelist">
- <h2>Packages</h2>
- Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.
- <table class="details" border="0" cellpadding="5" cellspacing="2" width="95%">
- <xsl:call-template name="testsuite.test.header"/>
- <!-- list all packages recursively -->
- <xsl:for-each select="./testsuite[not(./@package = preceding-sibling::testsuite/@package)]">
- <xsl:sort select="@package"/>
- <xsl:variable name="testsuites-in-package" select="/testsuites/testsuite[./@package = current()/@package]"/>
- <xsl:variable name="testCount" select="sum($testsuites-in-package/@tests)"/>
- <xsl:variable name="errorCount" select="sum($testsuites-in-package/@errors)"/>
- <xsl:variable name="failureCount" select="sum($testsuites-in-package/@failures)"/>
- <xsl:variable name="timeCount" select="sum($testsuites-in-package/@time)"/>
-
- <!-- write a summary for the package -->
- <tr valign="top">
- <!-- set a nice color depending if there is an error/failure -->
- <xsl:attribute name="class">
- <xsl:choose>
- <xsl:when test="$failureCount > 0">Failure</xsl:when>
- <xsl:when test="$errorCount > 0">Error</xsl:when>
- </xsl:choose>
- </xsl:attribute>
- <td><a href="#{@package}"><xsl:value-of select="@package"/></a></td>
- <td><xsl:value-of select="$testCount"/></td>
- <td><xsl:value-of select="$errorCount"/></td>
- <td><xsl:value-of select="$failureCount"/></td>
- <td>
- <xsl:call-template name="display-time">
- <xsl:with-param name="value" select="$timeCount"/>
- </xsl:call-template>
- </td>
- </tr>
- </xsl:for-each>
- </table>
- </xsl:template>
-
-
- <!-- ================================================================== -->
- <!-- Write a package level report -->
- <!-- It creates a table with values from the document: -->
- <!-- Name | Tests | Errors | Failures | Time -->
- <!-- ================================================================== -->
- <xsl:template name="packages">
- <!-- create an anchor to this package name -->
- <xsl:for-each select="/testsuites/testsuite[not(./@package = preceding-sibling::testsuite/@package)]">
- <xsl:sort select="@package"/>
- <a name="{@package}"></a>
- <h3>Package <xsl:value-of select="@package"/></h3>
-
- <table class="details" border="0" cellpadding="5" cellspacing="2" width="95%">
- <xsl:call-template name="testsuite.test.header"/>
-
- <!-- match the testsuites of this package -->
- <xsl:apply-templates select="/testsuites/testsuite[./@package = current()/@package]" mode="print.test"/>
- </table>
- <a href="#top">Back to top</a>
- <p/>
- <p/>
- </xsl:for-each>
- </xsl:template>
-
- <xsl:template name="classes">
- <xsl:for-each select="testsuite">
- <xsl:sort select="@name"/>
- <!-- create an anchor to this class name -->
- <a name="{@name}"></a>
- <h3>TestCase <xsl:value-of select="@name"/></h3>
-
- <table class="details" border="0" cellpadding="5" cellspacing="2" width="95%">
- <xsl:call-template name="testcase.test.header"/>
- <!--
- test can even not be started at all (failure to load the class)
- so report the error directly
- -->
- <xsl:if test="./error">
- <tr class="Error">
- <td colspan="4"><xsl:apply-templates select="./error"/></td>
- </tr>
- </xsl:if>
- <xsl:apply-templates select="./testcase" mode="print.test"/>
- </table>
- <div class="Properties">
- <a>
- <xsl:attribute name="href">javascript:displayProperties('<xsl:value-of select="@package"/>.<xsl:value-of select="@name"/>');</xsl:attribute>
- Properties >>
- </a>
- </div>
- <p/>
-
- <a href="#top">Back to top</a>
- </xsl:for-each>
- </xsl:template>
-
- <xsl:template name="summary">
- <h2>Summary</h2>
- <xsl:variable name="testCount" select="sum(testsuite/@tests)"/>
- <xsl:variable name="errorCount" select="sum(testsuite/@errors)"/>
- <xsl:variable name="failureCount" select="sum(testsuite/@failures)"/>
- <xsl:variable name="timeCount" select="sum(testsuite/@time)"/>
- <xsl:variable name="successRate" select="($testCount - $failureCount - $errorCount) div $testCount"/>
- <table class="details" border="0" cellpadding="5" cellspacing="2" width="95%">
- <tr valign="top">
- <th>Tests</th>
- <th>Failures</th>
- <th>Errors</th>
- <th>Success rate</th>
- <th>Time</th>
- </tr>
- <tr valign="top">
- <xsl:attribute name="class">
- <xsl:choose>
- <xsl:when test="$failureCount > 0">Failure</xsl:when>
- <xsl:when test="$errorCount > 0">Error</xsl:when>
- </xsl:choose>
- </xsl:attribute>
- <td><xsl:value-of select="$testCount"/></td>
- <td><xsl:value-of select="$failureCount"/></td>
- <td><xsl:value-of select="$errorCount"/></td>
- <td>
- <xsl:call-template name="display-percent">
- <xsl:with-param name="value" select="$successRate"/>
- </xsl:call-template>
- </td>
- <td>
- <xsl:call-template name="display-time">
- <xsl:with-param name="value" select="$timeCount"/>
- </xsl:call-template>
- </td>
-
- </tr>
- </table>
- <table border="0" width="95%">
- <tr>
- <td style="text-align: justify;">
- Note: <i>failures</i> are anticipated and checked for with assertions while <i>errors</i> are unanticipated.
- </td>
- </tr>
- </table>
- </xsl:template>
-
- <!--
- Write properties into a JavaScript data structure.
- This is based on the original idea by Erik Hatcher (erik@hatcher.net)
- -->
- <xsl:template match="properties">
- cur = TestCases['<xsl:value-of select="../@package"/>.<xsl:value-of select="../@name"/>'] = new Array();
- <xsl:for-each select="property">
- <xsl:sort select="@name"/>
- cur['<xsl:value-of select="@name"/>'] = '<xsl:call-template name="JS-escape"><xsl:with-param name="string" select="@value"/></xsl:call-template>';
- </xsl:for-each>
- </xsl:template>
-
-<!-- Page HEADER -->
-<xsl:template name="pageHeader">
- <h1>Unit Test Results</h1>
- <table width="100%">
- <tr>
- <td align="left"></td>
- <td align="right">Designed for use with <a href='http://www.junit.org'>JUnit</a> and <a href='http://jakarta.apache.org/ant'>Ant</a>.</td>
- </tr>
- </table>
- <hr size="1"/>
-</xsl:template>
-
-<xsl:template match="testsuite" mode="header">
- <tr valign="top">
- <th width="80%">Name</th>
- <th>Tests</th>
- <th>Errors</th>
- <th>Failures</th>
- <th nowrap="nowrap">Time(s)</th>
- </tr>
-</xsl:template>
-
-<!-- class header -->
-<xsl:template name="testsuite.test.header">
- <tr valign="top">
- <th width="80%">Name</th>
- <th>Tests</th>
- <th>Errors</th>
- <th>Failures</th>
- <th nowrap="nowrap">Time(s)</th>
- </tr>
-</xsl:template>
-
-<!-- method header -->
-<xsl:template name="testcase.test.header">
- <tr valign="top">
- <th>Name</th>
- <th>Status</th>
- <th width="80%">Type</th>
- <th nowrap="nowrap">Time(s)</th>
- </tr>
-</xsl:template>
-
-
-<!-- class information -->
-<xsl:template match="testsuite" mode="print.test">
- <tr valign="top">
- <!-- set a nice color depending if there is an error/failure -->
- <xsl:attribute name="class">
- <xsl:choose>
- <xsl:when test="@failures[.> 0]">Failure</xsl:when>
- <xsl:when test="@errors[.> 0]">Error</xsl:when>
- </xsl:choose>
- </xsl:attribute>
-
- <!-- print testsuite information -->
- <td><a href="#{@name}"><xsl:value-of select="@name"/></a></td>
- <td><xsl:value-of select="@tests"/></td>
- <td><xsl:value-of select="@errors"/></td>
- <td><xsl:value-of select="@failures"/></td>
- <td>
- <xsl:call-template name="display-time">
- <xsl:with-param name="value" select="@time"/>
- </xsl:call-template>
- </td>
- </tr>
-</xsl:template>
-
-<xsl:template match="testcase" mode="print.test">
- <tr valign="top">
- <xsl:attribute name="class">
- <xsl:choose>
- <xsl:when test="failure | error">Error</xsl:when>
- </xsl:choose>
- </xsl:attribute>
- <td><xsl:value-of select="@name"/></td>
- <xsl:choose>
- <xsl:when test="failure">
- <td>Failure</td>
- <td><xsl:apply-templates select="failure"/></td>
- </xsl:when>
- <xsl:when test="error">
- <td>Error</td>
- <td><xsl:apply-templates select="error"/></td>
- </xsl:when>
- <xsl:otherwise>
- <td>Success</td>
- <td></td>
- </xsl:otherwise>
- </xsl:choose>
- <td>
- <xsl:call-template name="display-time">
- <xsl:with-param name="value" select="@time"/>
- </xsl:call-template>
- </td>
- </tr>
-</xsl:template>
-
-
-<xsl:template match="failure">
- <xsl:call-template name="display-failures"/>
-</xsl:template>
-
-<xsl:template match="error">
- <xsl:call-template name="display-failures"/>
-</xsl:template>
-
-<!-- Style for the error and failure in the tescase template -->
-<xsl:template name="display-failures">
- <xsl:choose>
- <xsl:when test="not(@message)">N/A</xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="@message"/>
- </xsl:otherwise>
- </xsl:choose>
- <!-- display the stacktrace -->
- <code>
- <p/>
- <xsl:call-template name="br-replace">
- <xsl:with-param name="word" select="."/>
- </xsl:call-template>
- </code>
- <!-- the later is better but might be problematic for non-21" monitors... -->
- <!--pre><xsl:value-of select="."/></pre-->
-</xsl:template>
-
-<xsl:template name="JS-escape">
- <xsl:param name="string"/>
- <xsl:choose><!-- something isn't right here, basically all single quotes need to be replaced with backslash-single-quote
- <xsl:when test="contains($string,''')">
- <xsl:value-of select="substring-before($string,''')"/>
- \'
- <xsl:call-template name="JS-escape">
- <xsl:with-param name="string" select="substring-after($string,''')"/>
- </xsl:call-template>
- </xsl:when> -->
- <xsl:when test="contains($string,'\')">
- <xsl:value-of select="substring-before($string,'\')"/>\\<xsl:call-template name="JS-escape">
- <xsl:with-param name="string" select="substring-after($string,'\')"/>
- </xsl:call-template>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$string"/>
- </xsl:otherwise>
- </xsl:choose>
-</xsl:template>
-
-
-<!--
- template that will convert a carriage return into a br tag
- @param word the text from which to convert CR to BR tag
--->
-<xsl:template name="br-replace">
- <xsl:param name="word"/>
- <xsl:choose>
- <xsl:when test="contains($word,'
')">
- <xsl:value-of select="substring-before($word,'
')"/>
- <br/>
- <xsl:call-template name="br-replace">
- <xsl:with-param name="word" select="substring-after($word,'
')"/>
- </xsl:call-template>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$word"/>
- </xsl:otherwise>
- </xsl:choose>
-</xsl:template>
-
-<xsl:template name="display-time">
- <xsl:param name="value"/>
- <xsl:value-of select="format-number($value,'0.000')"/>
-</xsl:template>
-
-<xsl:template name="display-percent">
- <xsl:param name="value"/>
- <xsl:value-of select="format-number($value,'0.00%')"/>
-</xsl:template>
-
-</xsl:stylesheet>
-
diff --git a/bundles/org.eclipse.test/about.html b/bundles/org.eclipse.test/about.html
deleted file mode 100644
index af95f14..0000000
--- a/bundles/org.eclipse.test/about.html
+++ /dev/null
@@ -1,81 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<html>
-<head>
-<title>About</title>
-<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
-</head>
-<body lang="EN-US">
-<h2>About This Content</h2>
-
-<p>2nd October, 2002</p>
-<h3>License</h3>
-<p>Eclipse.org makes available all content in this plug-in ("Content"). Unless otherwise indicated below, the Content is provided to you under the terms and conditions of the
-Common Public License Version 1.0 ("CPL"). A copy of the CPL is available at <a href="http://www.eclipse.org/legal/cpl-v10.html">http://www.eclipse.org/legal/cpl-v10.html</a>.
-For purposes of the CPL, "Program" will mean the Content.</p>
-
-<h3>Third Party Content</h3>
-
-<p>The Content includes items that have been sourced from third parties as follows:</p>
-
-<b>Xalan 2.1.0</b>
-<p>The plug-in is accompanied by software based on Xalan 2.1.0 developed by The Apache Software Foundation as part of the Apache XML project. Therefore:</p>
-
-<blockquote>
-This product includes software developed by the Apache Software Foundation (<a href="http://www.apache.org/">http://www.apache.org/</a>).
-</blockquote>
-
-<p>The Xalan binary code is located in xalan.jar and is:</p>
-<blockquote>Copyright (c) 1999 The Apache Software Foundation. All rights reserved.</blockquote>
-Your use of Xalan in binary code form accompanying the plug-in is subject to the terms and conditions of the
-Apache Software License 1.1 which is available at <a href="http://xml.apache.org/LICENSE">http://xml.apache.org/LICENSE</a>. More specifically:</p>
-<blockquote>
- 1. Redistributions of source code must retain the above copyright notice, this list of<br />
- conditions and the following disclaimer.<br />
-<br />
- 2. Redistributions in binary form must reproduce the above copyright notice, this list of<br />
- conditions and the following disclaimer in the documentation and/or other materials<br />
- provided with the distribution.<br />
-<br />
- 3. The end-user documentation included with the redistribution, if any, must include the<br />
- following acknowledgment:<br />
- <blockquote>
- "This product includes software developed by the Apache Software Foundation<br />
- (<a href="http://www.apache.org/">http://www.apache.org/</a>)."
- </blockquote>
- Alternately, this acknowledgment may appear in the software itself, if and wherever such<br />
- third-party acknowledgments normally appear.<br />
-<br />
- 4. The names "Xalan" and "Apache Software Foundation" must not be used to endorse or<br />
- promote products derived from this software without prior written permission. For written<br />
- permission, please contact <a href="mailto:apache@apache.org">apache@apache.org</a>.<br />
-<br />
- 5. Products derived from this software may not be called "Apache", nor may "Apache" appear<br />
- in their name, without prior written permission of the Apache Software Foundation.<br />
-<br />
- THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT<br />
- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR<br />
- PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR ITS<br />
- CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR<br />
- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR<br />
- SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON<br />
- ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING<br />
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF<br />
- ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-</blockquote>
-
-<p>Source code for Xalan is available at <a href="http://xml.apache.org/xalan-j/index.html">http://xml.apache.org/xalan-j/index.html</a>.<p>
-
-<h3>Contributions</h3>
-
-<p>If this Content is licensed to you under the terms and conditions of the CPL, any Contributions, as defined in the CPL, uploaded, submitted, or otherwise
-made available to Eclipse.org, members of Eclipse.org and/or the host of Eclipse.org web site, by you that relate to such
-Content are provided under the terms and conditions of the CPL and can be made available to others under the terms of the CPL.</p>
-
-<p>If this Content is licensed to you under license terms and conditions other than the CPL ("Other License"), any modifications, enhancements and/or
-other code and/or documentation ("Modifications") uploaded, submitted, or otherwise made available to Eclipse.org, members of Eclipse.org and/or the
-host of Eclipse.org, by you that relate to such Content are provided under terms and conditions of the Other License and can be made available
-to others under the terms of the Other License. In addition, with regard to Modifications for which you are the copyright holder, you are also
-providing the Modifications under the terms and conditions of the CPL and such Modifications can be made available to others under the terms of
-the CPL.</p>
-</body>
-</html>
\ No newline at end of file
diff --git a/bundles/org.eclipse.test/build.properties b/bundles/org.eclipse.test/build.properties
deleted file mode 100644
index bb76a03..0000000
--- a/bundles/org.eclipse.test/build.properties
+++ /dev/null
@@ -1,12 +0,0 @@
-###############################################################################
-# Copyright (c) 2000, 2004 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Common Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/cpl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-source.automated.jar =src/
-bin.includes=*.jar,*.xsl,library.xml,plugin.xml,doc/,runtests*,test.xml,*.html
diff --git a/bundles/org.eclipse.test/library.xml b/bundles/org.eclipse.test/library.xml
deleted file mode 100644
index e4a4e73..0000000
--- a/bundles/org.eclipse.test/library.xml
+++ /dev/null
@@ -1,168 +0,0 @@
-<?xml version="1.0"?>
-
-<project name="Library" default="init" basedir=".">
-
- <target name="init">
- <tstamp/>
- </target>
-
- <target name="core-test">
- <antcall target="eclipse-test">
- <param name="application" value="org.eclipse.test.coretestapplication"/>
- </antcall>
- </target>
-
- <target name="ui-test">
- <antcall target="eclipse-test">
- <param name="application" value="org.eclipse.test.uitestapplication"/>
- </antcall>
- </target>
-
-
- <target name="eclipse-test">
- <tstamp>
- <format property="TIMENOW" pattern="HHmmssSSSS"/>
- </tstamp>
-
- <property name="vmargs" value=""/>
- <property name="launcher" value="org.eclipse.core.launcher.Main"/>
- <property name="formatter" value="org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter"/>
- <property name="extraVMargs" value=""/>
- <property name="plugin-path" value="" />
- <property name="timeout" value="3600000" />
-
- <!--run one of the following targets depending on the setting of the Ant property, performance-->
- <antcall target="junit" />
- <antcall target="performance" />
- </target>
-
- <target name="junit" unless="performance">
-<!--
-Parameters to this target:
-data-dir - the directory for Eclipse to write its data
-plugin-name - the name of the plugin to test
-classname - the name of the test class
-vmargs - a string containing arguments to pass to the VM - defaults to ""
--->
-
- <echo message="Running ${classname}"/>
-
- <!-- Produces the file '${default-filename}' -->
- <java classname="${launcher}" fork="true" dir="." timeout="${timeout}">
- <classpath>
- <pathelement location="startup.jar"/>
- </classpath>
- <arg line="-application ${application}"/>
- <arg line="-dev bin -data ${data-dir}"/>
- <arg line="formatter=${formatter},${classname}.xml"/>
- <arg line="-testPluginName ${plugin-name}"/>
- <arg line="-className ${classname}"/>
- <arg line="-os ${os}"/>
- <arg line="-ws ${ws}"/>
- <arg line="-arch ${arch}"/>
- <jvmarg line="${vmargs} ${extraVMargs}"/>
- <sysproperty key="PLUGIN_PATH" value="${plugin-path}"/>
- </java>
-
- </target>
-
- <target name="performance" if="performance">
- <!--
- Parameters to this target:
- data-dir - the directory for Eclipse to write its data
- plugin-name - the name of the plugin to test
- classname - the name of the test class
- vmargs - a string containing arguments to pass to the VM - defaults to ""
- -->
- <!--Load value for eclipse.buildId from the config.ini file-->
- <property file="${eclipse-home}/configuration/config.ini" />
- <property name="etools_perf_ctrl" value="testname=${classname};log=${eclipse-home};driver=${eclipse.buildId};driverdate=${timestamp};driverstream=3.0.0;driverlabel=${eclipse.buildId};uploadhost=${perf.host};uploadport=${perf.port};uploaduserid=${perf.id}" />
-
- <echo message="Running ${classname}"/>
-
- <!-- Produces the file '${default-filename}' -->
- <java classname="${launcher}" fork="true" dir="." timeout="${timeout}">
- <classpath>
- <pathelement location="startup.jar"/>
- </classpath>
- <arg line="-application ${application}"/>
- <arg line="-dev bin -data ${data-dir}"/>
- <arg line="formatter=${formatter},${classname}.xml"/>
- <arg line="-testPluginName ${plugin-name}"/>
- <arg line="-className ${classname}"/>
- <arg line="-os ${os}"/>
- <arg line="-ws ${ws}"/>
- <arg line="-arch ${arch}"/>
- <jvmarg line="${vmargs} ${extraVMargs}"/>
- <sysproperty key="PLUGIN_PATH" value="${plugin-path}"/>
- <sysproperty key="etools_perf_ctrl" value="${etools_perf_ctrl}"/>
- </java>
-
- </target>
-
- <target name="collect">
-<!--
-Parameters to this target:
-includes - the names of the files to include
-output-file - the name of the output file to produce
--->
- <junitreport todir="." tofile="${output-file}">
- <fileset dir=".">
- <include name="${includes}"/>
- </fileset>
- </junitreport>
- </target>
-
-<!--
-WARNING: This task will not work correctly until org.eclipse.ant.core
- upgrades to Ant 1.4 or higher. There are problems with absolute
- paths and the style task.
--->
- <target name="test-regressions">
-<!--
-Parameters to this target:
-oldfile - the name of the baseline XML file to test against
-newfile - the name of the XML file containing most recent test results
-outfile - the name of the file produced
--->
-
- <echo message="Running Regression Tests"/>
- <property name="test-plugin-dir" value="${basedir}/fragments/org.eclipse.test"/>
- <property name="rt-stylesheet" value="${test-plugin-dir}/regression-test.xsl"/>
- <property name="rt-classname" value="org.eclipse.test.RegressionTest"/>
-
- <!-- Ensure that the file exists, and give sensible behaviour if not -->
- <style style="${rt-stylesheet}" in="${newfile}" out="${newfile}.tmp"/>
- <style style="${rt-stylesheet}" in="${oldfile}" out="${oldfile}.tmp"/>
- <java classname="${rt-classname}">
- <classpath>
- <pathelement location="${test-plugin-dir}/bin"/>
- </classpath>
- <arg value="${oldfile}.tmp"/>
- <arg value="${newfile}.tmp"/>
- <arg value="${outfile}"/>
- </java>
-
- <delete file="${oldfile}.tmp"/>
- <delete file="${newfile}.tmp"/>
- </target>
-
- <target name="notfiy">
-<!--
-Parameters to this target:
-infile - the name of the file that contains the message body
-address - the e-mail address to notify
--->
-
- <echo message="Sending Notification"/>
- <property name="email-from" value="Eclipse Automated Test@oti.com"/>
- <property name="email-subject" value="Nightly Build Report"/>
- <property name="email-server" value="mail.ott.oti.com"/>
-
- <mail from="${email-from}" tolist="${address}"
- subject="${email-subject}" files="${infile}"
- mailhost="${email-server}"/>
-
- </target>
-
-</project>
diff --git a/bundles/org.eclipse.test/plugin.properties b/bundles/org.eclipse.test/plugin.properties
deleted file mode 100644
index 44ab420..0000000
--- a/bundles/org.eclipse.test/plugin.properties
+++ /dev/null
@@ -1,12 +0,0 @@
-###############################################################################
-# Copyright (c) 2000, 2004 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Common Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/cpl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-pluginName = Eclipse Automated Testing
-providerName = Eclipse.org
diff --git a/bundles/org.eclipse.test/plugin.xml b/bundles/org.eclipse.test/plugin.xml
deleted file mode 100644
index 39fc7f2..0000000
--- a/bundles/org.eclipse.test/plugin.xml
+++ /dev/null
@@ -1,44 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.0"?>
-<plugin
- id="org.eclipse.test"
- name="%pluginName"
- version="2.1.0"
- provider-name="%providerName">
-
- <runtime>
- <library name="automated.jar"/>
- </runtime>
- <requires>
- <import plugin="org.apache.ant"/>
- <import plugin="org.junit"/>
- <import plugin="org.eclipse.ui"/>
- <import plugin="org.eclipse.core.runtime"/>
- <import plugin="org.eclipse.perfmsr.core"/>
- </requires>
-
-
- <extension
- id="coretestapplication"
- point="org.eclipse.core.runtime.applications">
- <application>
- <run
- class="org.eclipse.test.CoreTestApplication">
- </run>
- </application>
- </extension>
- <extension
- id="uitestapplication"
- point="org.eclipse.core.runtime.applications">
- <application>
- <run
- class="org.eclipse.test.UITestApplication">
- <parameter
- name="productInfo"
- value="product.ini">
- </parameter>
- </run>
- </application>
- </extension>
-
-</plugin>
diff --git a/bundles/org.eclipse.test/regression-test.xsl b/bundles/org.eclipse.test/regression-test.xsl
deleted file mode 100644
index 3703211..0000000
--- a/bundles/org.eclipse.test/regression-test.xsl
+++ /dev/null
@@ -1,35 +0,0 @@
-<?xml version="1.0"?>
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
-<xsl:output method="text" indent="no"/>
-
-<!--
-This stylesheet is used to transform the collected list of test results in XML
-into a sorted list of name/status pairs in plaintext. This plaintext list is
-then suitable for easy regression testing.
--->
-
-<xsl:variable name="newline">
-<xsl:text>
-</xsl:text>
-</xsl:variable>
-
-<xsl:template match="/">
-<xsl:for-each select="/testsuites/testsuite/testcase">
- <xsl:sort select="@name"/>
- <xsl:value-of select="@name"/>
- <xsl:text> </xsl:text>
- <xsl:choose>
- <xsl:when test="failure">
- <xsl:text>fail</xsl:text>
- </xsl:when>
- <xsl:when test="error">
- <xsl:text>error</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text>pass</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:value-of select="$newline"/>
-</xsl:for-each>
-</xsl:template>
-</xsl:stylesheet>
diff --git a/bundles/org.eclipse.test/src/org/eclipse/test/CoreTestApplication.java b/bundles/org.eclipse.test/src/org/eclipse/test/CoreTestApplication.java
deleted file mode 100644
index f55ab5d..0000000
--- a/bundles/org.eclipse.test/src/org/eclipse/test/CoreTestApplication.java
+++ /dev/null
@@ -1,86 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.test;
-
-import java.io.IOException;
-import org.eclipse.core.runtime.IPlatformRunnable;
-import org.eclipse.core.runtime.Platform;
-
-/**
- * A an application that launches tests once it is started.
- */
-public class CoreTestApplication implements IPlatformRunnable {
- /** true if workspace tests should log their deltas */
- private static boolean deltas= false;
-
- /**
- * Runs a set of tests as defined by the given command line args.
- * This is the platform application entry point.
- * @see IPlatformRunnable
- */
- public Object run(Object arguments) throws Exception {
- String[] args= Platform.getCommandLineArgs();//getCommand//processCommandLine((String[]) arguments);
- return new Integer(runTests(args));
- }
-
- protected int runTests(String[] args) throws IOException {
- return EclipseTestRunner.run(args);
- }
-
- public static boolean deltasEnabled() {
- return deltas;
- }
-
- protected String[] processCommandLine(String[] args) {
- int[] configArgs = new int[100];
- configArgs[0] = -1; // need to initialize the first element to something that could not be an index.
- int configArgIndex = 0;
- for (int i = 0; i < args.length; i++) {
- boolean found = false;
- // check for args without parameters (i.e., a flag arg)
- // see if we should be logging deltas
- if (args[i].equalsIgnoreCase("-deltas")) {
- found = true;
- deltas = true;
- }
- if (found) {
- configArgs[configArgIndex++] = i;
- continue;
- }
-
- // check for args with parameters
- if (i == args.length - 1 || args[i + 1].startsWith("-")) {
- continue;
- }
- String arg = args[++i];
-
- // done checking for args. Remember where an arg was found
- if (found) {
- configArgs[configArgIndex++] = i - 1;
- configArgs[configArgIndex++] = i;
- }
- }
-
- //remove all the arguments consumed by this argument parsing
- if (configArgIndex == 0)
- return args;
- String[] passThruArgs = new String[args.length - configArgIndex];
- configArgIndex = 0;
- int j = 0;
- for (int i = 0; i < args.length; i++) {
- if (i == configArgs[configArgIndex])
- configArgIndex++;
- else
- passThruArgs[j++] = args[i];
- }
- return passThruArgs;
- }
-}
diff --git a/bundles/org.eclipse.test/src/org/eclipse/test/EclipseTestRunner.java b/bundles/org.eclipse.test/src/org/eclipse/test/EclipseTestRunner.java
deleted file mode 100644
index c33ca9b..0000000
--- a/bundles/org.eclipse.test/src/org/eclipse/test/EclipseTestRunner.java
+++ /dev/null
@@ -1,485 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.test;
-
-import java.io.ByteArrayOutputStream;
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.FileOutputStream;
-import java.io.IOException;
-import java.io.OutputStream;
-import java.io.PrintStream;
-import java.lang.reflect.InvocationTargetException;
-import java.lang.reflect.Method;
-import java.util.Enumeration;
-import java.util.Hashtable;
-import java.util.Properties;
-import java.util.Vector;
-import junit.framework.AssertionFailedError;
-import junit.framework.Test;
-import junit.framework.TestListener;
-import junit.framework.TestResult;
-import junit.framework.TestSuite;
-import org.apache.tools.ant.BuildException;
-import org.apache.tools.ant.Project;
-import org.apache.tools.ant.taskdefs.optional.junit.FormatterElement;
-import org.apache.tools.ant.taskdefs.optional.junit.JUnitResultFormatter;
-import org.apache.tools.ant.taskdefs.optional.junit.JUnitTest;
-import org.eclipse.core.runtime.Platform;
-import org.eclipse.perfmsr.core.IPerformanceMonitor;
-import org.eclipse.perfmsr.core.PerfMsrCorePlugin;
-
-/**
- * A TestRunner for JUnit that supports Ant JUnitResultFormatters
- * and running tests inside Eclipse.
- * Example call: EclipseTestRunner -classname junit.samples.SimpleTest formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter
- */
-public class EclipseTestRunner implements TestListener {
- class TestFailedException extends Exception {
- TestFailedException(String message) {
- super(message);
- }
- }
- /**
- * No problems with this test.
- */
- public static final int SUCCESS= 0;
- /**
- * Some tests failed.
- */
- public static final int FAILURES= 1;
- /**
- * An error occured.
- */
- public static final int ERRORS= 2;
-
- private static final String SUITE_METHODNAME= "suite";
- /**
- * debug mode
- */
- private boolean debug= false;
- /**
- * The current test result
- */
- private TestResult fTestResult;
- /**
- * The name of the plugin containing the test
- */
- private String fTestPluginName;
- /**
- * The corresponding testsuite.
- */
- private Test fSuite;
- /**
- * Formatters from the command line.
- */
- private static Vector fgFromCmdLine= new Vector();
- /**
- * Holds the registered formatters.
- */
- private Vector formatters= new Vector();
- /**
- * Do we stop on errors.
- */
- private boolean fHaltOnError= false;
- /**
- * Do we stop on test failures.
- */
- private boolean fHaltOnFailure= false;
- /**
- * The TestSuite we are currently running.
- */
- private JUnitTest fJunitTest;
- /**
- * output written during the test
- */
- private PrintStream fSystemError;
- /**
- * Error output during the test
- */
- private PrintStream fSystemOut;
- /**
- * Exception caught in constructor.
- */
- private Exception fException;
- /**
- * Returncode
- */
- private int fRetCode= SUCCESS;
-
- /**
- * The main entry point (the parameters are not yet consistent with
- * the Ant JUnitTestRunner, but eventually they should be).
- * Parameters<pre>
- * -className: the name of the testSuite
- * -testPluginName: the name of the containing plugin
- * haltOnError: halt test on errors?
- * haltOnFailure: halt test on failures?
- * -testlistener listenerClass: deprecated
- * print a warning that this option is deprecated
- * formatter: a JUnitResultFormatter given as classname,filename.
- * If filename is ommitted, System.out is assumed.
- * </pre>
- */
- public static void main(String[] args) throws IOException {
- System.exit(run(args));
- }
- public static int run(String[] args) throws IOException {
- String className= null;
- String testPluginName= null;
-
- boolean haltError = false;
- boolean haltFail = false;
-
- Properties props = new Properties();
-
- int startArgs= 0;
- if (args.length > 0) {
- // support the JUnit task commandline syntax where
- // the first argument is the name of the test class
- if (!args[0].startsWith("-")) {
- className= args[0];
- startArgs++;
- }
- }
- for (int i= startArgs; i < args.length; i++) {
- if (args[i].toLowerCase().equals("-classname")) {
- if (i < args.length-1)
- className= args[i+1];
- i++;
- } else if (args[i].toLowerCase().equals("-testpluginname")) {
- if (i < args.length-1)
- testPluginName= args[i+1];
- i++;
- } else if (args[i].startsWith("haltOnError=")) {
- haltError= Project.toBoolean(args[i].substring(12));
- } else if (args[i].startsWith("haltOnFailure=")) {
- haltFail = Project.toBoolean(args[i].substring(14));
- } else if (args[i].startsWith("formatter=")) {
- try {
- createAndStoreFormatter(args[i].substring(10));
- } catch (BuildException be) {
- System.err.println(be.getMessage());
- return ERRORS;
- }
- } else if (args[i].startsWith("propsfile=")) {
- FileInputStream in = new FileInputStream(args[i].substring(10));
- props.load(in);
- in.close();
- } else if (args[i].equals("-testlistener")) {
- System.err.println("The -testlistener option is no longer supported\nuse the formatter= option instead");
- return ERRORS;
- }
- }
-
- if (className == null)
- throw new IllegalArgumentException("Test class name not specified");
-
- JUnitTest t= new JUnitTest(className);
-
- // Add/overlay system properties on the properties from the Ant project
- Hashtable p= System.getProperties();
- for (Enumeration enum = p.keys(); enum.hasMoreElements(); ) {
- Object key = enum.nextElement();
- props.put(key, p.get(key));
- }
- t.setProperties(props);
-
- EclipseTestRunner runner= new EclipseTestRunner(t, testPluginName, haltError, haltFail);
- transferFormatters(runner);
- runner.run();
- return runner.getRetCode();
- }
-
- /**
- *
- */
- public EclipseTestRunner(JUnitTest test, String testPluginName, boolean haltOnError, boolean haltOnFailure) {
- fJunitTest= test;
- fTestPluginName= testPluginName;
- fHaltOnError= haltOnError;
- fHaltOnFailure= haltOnFailure;
-
- try {
- fSuite= getTest(test.getName());
- } catch(Exception e) {
- fRetCode = ERRORS;
- fException = e;
- }
- }
-
- /**
- * Returns the Test corresponding to the given suite.
- */
- protected Test getTest(String suiteClassName) throws TestFailedException {
- if (suiteClassName.length() <= 0) {
- clearStatus();
- return null;
- }
- Class testClass= null;
- try {
- testClass= loadSuiteClass(suiteClassName);
- } catch (ClassNotFoundException e) {
- String clazz= e.getMessage();
- if (clazz == null)
- clazz= suiteClassName;
- runFailed("Class not found \""+clazz+"\"");
- return null;
- } catch(Exception e) {
- runFailed("Error: "+e.toString());
- return null;
- }
- Method suiteMethod= null;
- try {
- suiteMethod= testClass.getMethod(SUITE_METHODNAME, new Class[0]);
- } catch(Exception e) {
- // try to extract a test suite automatically
- clearStatus();
- return new TestSuite(testClass);
- }
- Test test= null;
- try {
- test= (Test)suiteMethod.invoke(null, new Class[0]); // static method
- if (test == null)
- return test;
- }
- catch (InvocationTargetException e) {
- runFailed("Failed to invoke suite():" + e.getTargetException().toString());
- return null;
- }
- catch (IllegalAccessException e) {
- runFailed("Failed to invoke suite():" + e.toString());
- return null;
- }
- clearStatus();
- return test;
- }
-
- protected void runFailed(String message) throws TestFailedException {
- System.err.println(message);
- throw new TestFailedException(message);
- }
-
- protected void clearStatus() {
- }
-
- /**
- * Loads the class either with the system class loader or a
- * plugin clsas loader if a plugin name was specified
- */
- protected Class loadSuiteClass(String suiteClassName) throws ClassNotFoundException {
- if (fTestPluginName == null)
- return Class.forName(suiteClassName);
- ClassLoader loader= getPluginClassLoader(fTestPluginName);
- return loader.loadClass(suiteClassName);
- }
-
- /**
- * Returns the Plugin class loader of the plugin containing the test.
- */
- public ClassLoader getPluginClassLoader(String pluginName) {
- if (Platform.getPluginRegistry().getPluginDescriptor(pluginName) != null)
- return Platform.getPluginRegistry().getPluginDescriptor(pluginName).getPluginClassLoader();
- else
- throw new IllegalArgumentException("No ClassLoader found for testplugin: " + pluginName);
- }
-
- public void run() {
- IPerformanceMonitor pm = PerfMsrCorePlugin.getPerformanceMonitor(true);
-
- fTestResult= new TestResult();
- fTestResult.addListener(this);
- for (int i= 0; i < formatters.size(); i++) {
- fTestResult.addListener((TestListener)formatters.elementAt(i));
- }
-
- long start= System.currentTimeMillis();
- fireStartTestSuite();
-
- if (fException != null) { // had an exception in the constructor
- for (int i= 0; i < formatters.size(); i++) {
- ((TestListener)formatters.elementAt(i)).addError(null, fException);
- }
- fJunitTest.setCounts(1, 0, 1);
- fJunitTest.setRunTime(0);
- } else {
- ByteArrayOutputStream errStrm = new ByteArrayOutputStream();
- fSystemError= new PrintStream(errStrm);
-
- ByteArrayOutputStream outStrm = new ByteArrayOutputStream();
- fSystemOut= new PrintStream(outStrm);
-
- try {
- pm.snapshot(1); // before
- fSuite.run(fTestResult);
- } finally {
- pm.snapshot(2); // after
- fSystemError.close();
- fSystemError= null;
- fSystemOut.close();
- fSystemOut= null;
- sendOutAndErr(new String(outStrm.toByteArray()), new String(errStrm.toByteArray()));
- fJunitTest.setCounts(fTestResult.runCount(), fTestResult.failureCount(), fTestResult.errorCount());
- fJunitTest.setRunTime(System.currentTimeMillis() - start);
- }
- }
- fireEndTestSuite();
-
- if (fRetCode != SUCCESS || fTestResult.errorCount() != 0) {
- fRetCode = ERRORS;
- } else if (fTestResult.failureCount() != 0) {
- fRetCode = FAILURES;
- }
-
- pm.upload(getClass().getName());
- }
-
- /**
- * Returns what System.exit() would return in the standalone version.
- *
- * @return 2 if errors occurred, 1 if tests failed else 0.
- */
- public int getRetCode() {
- return fRetCode;
- }
-
- /*
- * @see TestListener.addFailure
- */
- public void startTest(Test t) {}
-
- /*
- * @see TestListener.addFailure
- */
- public void endTest(Test test) {}
-
- /*
- * @see TestListener.addFailure
- */
- public void addFailure(Test test, AssertionFailedError t) {
- if (fHaltOnFailure) {
- fTestResult.stop();
- }
- }
-
- /*
- * @see TestListener.addError
- */
- public void addError(Test test, Throwable t) {
- if (fHaltOnError) {
- fTestResult.stop();
- }
- }
-
- private void fireStartTestSuite() {
- for (int i= 0; i < formatters.size(); i++) {
- ((JUnitResultFormatter)formatters.elementAt(i)).startTestSuite(fJunitTest);
- }
- }
-
- private void fireEndTestSuite() {
- for (int i= 0; i < formatters.size(); i++) {
- ((JUnitResultFormatter)formatters.elementAt(i)).endTestSuite(fJunitTest);
- }
- }
-
- public void addFormatter(JUnitResultFormatter f) {
- formatters.addElement(f);
- }
-
- /**
- * Line format is: formatter=<classname>(,<pathname>)?
- */
- private static void createAndStoreFormatter(String line) throws BuildException {
- FormatterElement fe = new FormatterElement();
- String formatterClassName= null;
- File formatterFile= null;
-
- int pos = line.indexOf(',');
- if (pos == -1) {
- formatterClassName= line;
- } else {
- formatterClassName= line.substring(0, pos);
- formatterFile= new File(line.substring(pos + 1)); // the method is package visible
- }
- fgFromCmdLine.addElement(createFormatter(formatterClassName, formatterFile));
- }
-
- private static void transferFormatters(EclipseTestRunner runner) {
- for (int i= 0; i < fgFromCmdLine.size(); i++) {
- runner.addFormatter((JUnitResultFormatter)fgFromCmdLine.elementAt(i));
- }
- }
-
- /*
- * DUPLICATED from FormatterElement, since it is package visible only
- */
- private static JUnitResultFormatter createFormatter(String classname, File outfile) throws BuildException {
- OutputStream out= System.out;
-
- if (classname == null) {
- throw new BuildException("you must specify type or classname");
- }
- Class f = null;
- try {
- f= EclipseTestRunner.class.getClassLoader().loadClass(classname);
- } catch (ClassNotFoundException e) {
- throw new BuildException(e);
- }
-
- Object o = null;
- try {
- o = f.newInstance();
- } catch (InstantiationException e) {
- throw new BuildException(e);
- } catch (IllegalAccessException e) {
- throw new BuildException(e);
- }
-
- if (!(o instanceof JUnitResultFormatter)) {
- throw new BuildException(classname+" is not a JUnitResultFormatter");
- }
-
- JUnitResultFormatter r = (JUnitResultFormatter) o;
-
- if (outfile != null) {
- try {
- out = new FileOutputStream(outfile);
- } catch (java.io.IOException e) {
- throw new BuildException(e);
- }
- }
- r.setOutput(out);
- return r;
- }
-
- private void sendOutAndErr(String out, String err) {
- for (int i=0; i<formatters.size(); i++) {
- JUnitResultFormatter formatter =
- ((JUnitResultFormatter)formatters.elementAt(i));
-
- formatter.setSystemOutput(out);
- formatter.setSystemError(err);
- }
- }
-
- protected void handleOutput(String line) {
- if (fSystemOut != null) {
- fSystemOut.println(line);
- }
- }
-
- protected void handleErrorOutput(String line) {
- if (fSystemError != null) {
- fSystemError.println(line);
- }
- }
-}
diff --git a/bundles/org.eclipse.test/src/org/eclipse/test/RegressionTest.java b/bundles/org.eclipse.test/src/org/eclipse/test/RegressionTest.java
deleted file mode 100644
index 523ee45..0000000
--- a/bundles/org.eclipse.test/src/org/eclipse/test/RegressionTest.java
+++ /dev/null
@@ -1,187 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.test;
-
-import java.io.BufferedOutputStream;
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.FileOutputStream;
-import java.io.IOException;
-import java.io.PrintStream;
-import java.util.StringTokenizer;
-import java.io.ByteArrayOutputStream;
-
-/**
- * Check the output of several tests for regressions.
- */
-public class RegressionTest {
-
- PrintStream output;
- String oldFilename, newFilename, outFilename;
- public static final String NOTHING_CHANGED_MSG
- = "All tests unchanged.";
- /**
- * Constructor for RegressionTest
- */
- public RegressionTest( String oldFilename,
- String newFilename,
- String outFilename) {
- this.oldFilename = oldFilename;
- this.newFilename = newFilename;
- this.outFilename = outFilename;
- }
-
- public static void main(String[] argv) {
- if (argv.length < 3) {
- System.err.println("Error: too few arguments");
- System.err.println("Usage: (progname) oldfile newfile outfile");
- } else {
- // ASSERT: The program has at least the correct number of arguments
- RegressionTest rt = new RegressionTest(argv[0], argv[1], argv[2]);
- rt.testRegressions();
- }
- }
-
- /**
- * Test for regressions in the test suite.
- */
- public void testRegressions() {
- // Read the old and new files
- String oldPass = "";
- String newPass = "";
- try {
- oldPass = readFile(oldFilename);
- newPass = readFile(newFilename);
- } catch (Exception e) {
- System.err.println("Error opening input file");
- System.err.println(e.getMessage());
- System.exit(-1);
- }
-
- try {
- output = new PrintStream(
- new BufferedOutputStream(
- new FileOutputStream(
- new File(outFilename))));
- } catch (Exception e) {
- System.err.println("Error opening output file");
- System.err.println(e.getMessage());
- System.exit(-1);
- }
- // Establish their relationship
- StringTokenizer oldst = new StringTokenizer(oldPass);
- StringTokenizer newst = new StringTokenizer(newPass);
-
- String[] oldTest = nextTest(oldst);
- String[] newTest = nextTest(newst);
-
- boolean nothingChanged = true;
- while (oldTest != null && newTest != null) {
-
- // Compare the two test names
- int compareName = oldTest[0].compareTo(newTest[0]);
- if (compareName == 0) {
- int compareStatus = oldTest[1].compareTo(newTest[1]);
- if (compareStatus != 0) {
- nothingChanged = false;
- output.println(testChanged(newTest));
- }
- oldTest = nextTest(oldst);
- newTest = nextTest(newst);
- } else if (compareName < 0) {
- // oldTestName comes first
- output.println(testNotRun(oldTest));
- oldTest = nextTest(oldst);
- nothingChanged = false;
- } else {
- // newTestName comes first
- output.println(testAdded(newTest));
- newTest = nextTest(newst);
- nothingChanged = false;
- }
- }
- // Make sure all tests are parsed
- while (oldTest != null) {
- // oldTestName comes first
- output.println(testNotRun(oldTest));
- oldTest = nextTest(oldst);
- nothingChanged = false;
- }
- while (newTest != null) {
- // newTestName comes first
- output.println(testAdded(newTest));
- newTest = nextTest(newst);
- nothingChanged = false;
- }
- // Make sure that there is always some output.
- if (nothingChanged) {
- output.println(NOTHING_CHANGED_MSG);
- }
- output.close();
- }
-
- /**
- * Get the message for when a test is not run.
- */
- static String testNotRun(String[] test) {
- return "Not run: " + test[0];
- }
-
- /**
- * Get the message for when a test's status changes.
- */
- static String testChanged(String[] test) {
- return "Changed: " + test[0] + ", " + test[1];
- }
-
- /**
- * Get the message for when a test is added.
- */
- static String testAdded(String[] test) {
- return "New test: " + test[0] + ", Status: " + test[1];
- }
-
- /**
- * Read the file given by s, and return its contents.
- */
- static String readFile(String s) throws IOException {
- byte[] buf = new byte[8192];
- FileInputStream r = new FileInputStream(s);
- ByteArrayOutputStream aStream = new ByteArrayOutputStream();
- int n;
- while ((n = r.read(buf)) != -1) {
- aStream.write(buf, 0, n);
- }
- r.close();
- return aStream.toString();
- }
-
-
- /**
- * Returns the next 2 tokens in st, if they exist.
- * Returns null if they do not.
- */
- static String[] nextTest(StringTokenizer st) {
- String[] test = new String[2];
- if (st.hasMoreTokens()) {
- test[0] = st.nextToken();
- } else {
- return null;
- }
- if (st.hasMoreTokens()) {
- test[1] = st.nextToken();
- } else {
- return null;
- }
- return test;
- }
-}
-
diff --git a/bundles/org.eclipse.test/src/org/eclipse/test/UITestApplication.java b/bundles/org.eclipse.test/src/org/eclipse/test/UITestApplication.java
deleted file mode 100644
index d17c531..0000000
--- a/bundles/org.eclipse.test/src/org/eclipse/test/UITestApplication.java
+++ /dev/null
@@ -1,190 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.test;
-
-import java.io.IOException;
-
-import junit.framework.Assert;
-
-import org.eclipse.core.runtime.IPlatformRunnable;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IConfigurationElement;
-import org.eclipse.core.runtime.IExtension;
-import org.eclipse.core.runtime.Platform;
-
-import org.eclipse.ui.IWindowListener;
-import org.eclipse.ui.IWorkbench;
-import org.eclipse.ui.IWorkbenchWindow;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.ui.testing.ITestHarness;
-import org.eclipse.ui.testing.TestableObject;
-
-/**
- * A Workbench that runs a test suite specified in the
- * command line arguments.
- */
-public class UITestApplication implements IPlatformRunnable, ITestHarness {
-
- private static final String DEFAULT_APP_3_0 = "org.eclipse.ui.ide.workbench"; //$NON-NLS-1$
- private static final String DEFAULT_APP_PRE_3_0 = "org.eclipse.ui.workbench"; //$NON-NLS-1$
-
- private boolean fInDeprecatedMode = false;
- private TestableObject fTestableObject;
-
-
- /* (non-Javadoc)
- * @see org.eclipse.core.boot.IPlatformRunnable
- */
- public Object run(final Object args) throws Exception {
- // Get the application to test
- IPlatformRunnable application = getApplication((String[])args);
-
- Assert.assertNotNull(application);
-
- if (fInDeprecatedMode)
- return runDeprecatedApplication(application, args);
-
- return runApplication(application, args);
- }
-
-
- /*
- * return the application to run, or null if not even the default application
- * is found.
- */
- private IPlatformRunnable getApplication(String[] args) throws CoreException {
- // Assume we are in 3.0 mode.
- // Find the name of the application as specified by the PDE JUnit launcher.
- // If no application is specified, the 3.0 default workbench application
- // is returned.
- IExtension extension =
- Platform.getPluginRegistry().getExtension(
- Platform.PI_RUNTIME,
- Platform.PT_APPLICATIONS,
- getApplicationToRun(args));
-
- // If no 3.0 extension can be found, search the registry
- // for the pre-3.0 default workbench application, i.e. org.eclipse ui.workbench
- // Set the deprecated flag to true
- if (extension == null) {
- extension = Platform.getPluginRegistry().getExtension(
- Platform.PI_RUNTIME,
- Platform.PT_APPLICATIONS,
- DEFAULT_APP_PRE_3_0);
- fInDeprecatedMode = true;
- }
-
- Assert.assertNotNull(extension);
-
- // If the extension does not have the correct grammar, return null.
- // Otherwise, return the application object.
- IConfigurationElement[] elements = extension.getConfigurationElements();
- if (elements.length > 0) {
- IConfigurationElement[] runs = elements[0].getChildren("run"); //$NON-NLS-1$
- if (runs.length > 0) {
- Object runnable = runs[0].createExecutableExtension("class"); //$NON-NLS-1$
- if (runnable instanceof IPlatformRunnable)
- return (IPlatformRunnable) runnable;
- }
- }
- return null;
- }
-
- /**
- * The -testApplication argument specifies the application to be run.
- * If the PDE JUnit launcher did not set this argument, then return
- * the name of the default application.
- * In 3.0, the default is the "org.eclipse.ui.ide.worbench" application.
- *
- */
- private String getApplicationToRun(String[] args) {
- for (int i = 0; i < args.length; i++) {
- if (args[i].equals("-testApplication") && i < args.length -1) //$NON-NLS-1$
- return args[i+1];
- }
- return DEFAULT_APP_3_0;
- }
-
- /**
- * In 3.0 mode
- *
- */
- private Object runApplication(IPlatformRunnable application, Object args) throws Exception {
- fTestableObject = PlatformUI.getTestableObject();
- fTestableObject.setTestHarness(this);
- return application.run(args);
-
- }
-
- /*
- * If we are in pre-3.0 mode, then the application to run is
- * "org.eclipse.ui.workbench" Therefore, we safely cast the runnable object
- * to IWorkbenchWindow. We add a listener to it, so that we know when the
- * window opens so that we can start running the tests. When the tests are
- * done, we explicitly call close() on the workbench.
- */
- private Object runDeprecatedApplication(
- IPlatformRunnable object,
- final Object args)
- throws Exception {
-
- Assert.assertTrue(object instanceof IWorkbench);
-
- final IWorkbench workbench = (IWorkbench) object;
- // the 'started' flag is used so that we only run tests when the window
- // is opened
- // for the first time only.
- final boolean[] started = { false };
- workbench.addWindowListener(new IWindowListener() {
- public void windowOpened(IWorkbenchWindow w) {
- if (started[0])
- return;
- w.getShell().getDisplay().asyncExec(new Runnable() {
- public void run() {
- started[0] = true;
- try {
- EclipseTestRunner.main((String[]) args);
- } catch (IOException e) {
- e.printStackTrace();
- }
- workbench.close();
- }
- });
- }
- public void windowActivated(IWorkbenchWindow window) {
- }
- public void windowDeactivated(IWorkbenchWindow window) {
- }
- public void windowClosed(IWorkbenchWindow window) {
- }
- });
- return ((IPlatformRunnable) workbench).run(args);
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.ui.testing.ITestHarness#runTests()
- */
- public void runTests() {
- fTestableObject.testingStarting();
- fTestableObject.runTest(new Runnable() {
- public void run() {
- try {
- EclipseTestRunner.main(Platform.getCommandLineArgs());
- } catch (IOException e) {
- e.printStackTrace();
- }
- }
- });
- fTestableObject.testingFinished();
- }
-
-}
-
diff --git a/bundles/org.eclipse.test/testframework.html b/bundles/org.eclipse.test/testframework.html
deleted file mode 100644
index 9727bee..0000000
--- a/bundles/org.eclipse.test/testframework.html
+++ /dev/null
@@ -1,438 +0,0 @@
-<html>
-<head>
-<title>Eclipse Testing Instructions</title>
-</head>
-
-<body>
-<h1>The Eclipse Test Framework</h1>
-<p>Last Modified: Feb. 26, 2003</p>
-<p><font size="+1"><br>
- Introduction</font></p>
-<p>The testing framework is comprised of the org.eclipse.test plugin and the org.eclipse.ant.optional.junit
- fragment. </p>
-<p>These two projects are available from the dev.eclipse.org repository and are
- included in the eclipse-Automated-Tests.<buildid>.zip from the eclipse.org
- downloads page.</p>
-<p><font size="+1">Building and Installation</font></p>
-<p>Since the org.eclipse.test plugin is stored in the repository in source-code
- form, it needs to be compiled before it can be used. The org.eclipse.ant.optional.junit
- fragment does not contain any source and can be used as is from the repository.</p>
-<ol>
- <li>Turn of automatic builds. Window->Preferences->Workbench and uncheck "Perform
- build automatically on resource modification"</li>
- <li>Load org.eclipse.test into your workspace.</li>
- <li>Right-click on the org.eclipse.test project in either the Navigator or Packages
- view. Select 'Rebuild Project' from the context menu. This will compile the
- entire org.eclipse.test plugin.</li>
- <li>Finally, copy the org.eclipse.test plugin into your target Eclipse.</li>
- <li>The org.eclipse.ant.optional.junit fragment only needs to be present in
- the environment of the Eclipse that is overseeing the test process. If you
- are running the test script from within the Workbench, this means that the
- fragments need to be present withinn your development Eclipse. If you are
- running the tests from the command line, then the fragments will need to be
- present in your target Eclipse.</li>
-</ol>
-<p><font size="+1">Setup</font></p>
-<p>Follow the steps given above to build and install all of the neccessary plugins
- and fragments. Please note that the current version of the test framework is
- not compatible with the PDE notion of self-hosting. If you want to run the tests,
- you will need to setup a full target Eclipse so that the testing framework can
- detect everything that is needed.</p>
-
-<p>If you are writing tests for one or more Eclipse plugins, then you should
-create a separate plugin for tests. The test plugin will contain all of the
-tests that will be run on your development plugins, as well as defining how
-those tests get run.</p>
-
-<p>If you are not writing tests for an Eclipse plugin, then you should look into
- using JUnit on its own to test your work. JUnit is designed for testing Java
- code, and by default has no knowledge of Eclipse. There are separate mechanisms
- for using JUnit on Java code in Eclipse. See the documentation provided here:</p>
-<p> <a href="http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/jdt-ui-home/plugins/org.eclipse.jdt.junit/index.html">JUnit
- Support in Eclipse</a><br>
- <a href="http://dev.eclipse.org:8080/help/content/help:/org.eclipse.jdt.doc.user/tasks/tasks-207.htm?resultof=%6a%75%6e%69%74%20&toc=%2Forg.eclipse.jdt.doc.user%2Ftoc.xml">Using
- JUnit</a></p>
-
-<p>Once a test plugin has been created, you must then create an Ant script that
- will run all of the tests. Create a file called 'test.xml', which is a sibling
- of 'plugin.xml'. This file defines how each test is going to be run. The 'test.xml'
- file is like a DOS batch file that scripts the entire testing process. Typically,
- the 'test.xml' file will contain targets for setting up the test run, executing
- the tests, cleaning up afterwards, and running the entire process.</p>
-<p> </p>
-<p><font size="+1">Converting existing Test Suites</font></p>
-
-<p>If you are converting an existing set of tests to use the new framework, the
-actual tests that have been written should not need much change.</p>
-
-<p>If you have tests in multiple plugins, it is helpful to designate one plugin
-as the main plugin for your component. This can be one of your existing
-plugins, or it can be a new plugin, created specifically for this purpose. Your
-main plugin is the only plugin that needs to contain a 'test.xml' script. This
-script can invoke the tests in each of your other plugins, so there is no need
-for multiple scripts. Your main plugin does not need to depend on your other
-plugins at all.</p>
-
-<p>Make sure that the tests are defined in a plugin. This is probably the most
- common cause of confusion in the entire test process. Your tests need to be
- in a plugin so that Eclipse can find them when it tries to load them.</p>
-<p> </p>
-<p><font size="+1">Creating new Test Suites</font></p>
-<p>Creating new JUnit tests for an Eclipse plugin should be no more difficult
- than writing standard JUnit tests. Since the framework allows tests to be run
- inside of a working Eclipse, any tests that you write have available to them
- any of the methods supplied by the Eclipse platform, provided that you add the
- appropriate dependencies to your tests' 'plugin.xml'.</p>
-<p> </p>
-<p><font size="+1">Performance Issues</font></p>
-<p>You should keep in mind the number of times that Eclipse needs to be
-started. Launching Eclipse has a substantial cost in terms of runtime. To
-minimize the number of times the platform is started, you should consider
-writing a TestSuite called AllTests for each of your test plugins. AllTests
-should invoke each of the tests that you want to run for a particular plugin.
-The 'test.xml' file can then run the AllTests class, which will run all of your
-tests, but the platform will only ever be started once for each of your test
-plugins.</p>
-
-<p>Note: Sometimes tests involve shutting down, restarting, and testing the state
- of metadata that was written to disk. These session tests will require Eclipse
- to be launched several times in sequence, which will increase the runtime of
- your tests. This cannot be avoided.</p>
-<p> </p>
-<p><font size="+1">Running the Test Suite from the UI</font></p>
-<p>Right click on the test.xml file and select 'Run Ant...' from the pull-down
- menu. The Running Ant dialog box pops up. From the list of targets, select the
- one that runs all of your tests. If you are using the example file provided
- below, this target is called 'Run', and will be selected by default. Hit the
- 'Finish' button to start the test process.</p>
-<p><font size="+1">Running the Test Suite from the command line</font></p>
-<p>When the test suites are invoked automatically, they are run from command
-line. From the ${eclipse-home} directory, the command to use is:</p>
-
-<code>java -cp
-startup.jar org.eclipse.core.launcher.UIMain -application
-org.eclipse.ant.core.antRunner -buildfile ${test-plugin-path}\test.xml
--Declipse-home=${eclipse-home}</code>
-
-<p>Individual tests can also be invoked directly. From the ${eclipse-home}
-directory, use the command:</p>
-
-<code>java -cp startup.jar org.eclipse.core.launcher.UIMain -application ${launcher}
--dev bin -testlistener org.eclipse.test.XMLTestListener -testpluginname ${plugin-name}
--classname ${test-classname}</code>
-<p>where ${launcher} is one of: <i>org.eclipse.test.uitestapplication</i> or <i>org.eclipse.test.coretestapplication</i>
- depending on whether or not you want to run your tests within an active Workbench.</p>
-<p><font size="+1">Output</font></p>
-
-<p>By default, output from each test run is logged as XML. For each test that
- is run, the output is logged into the file called ${classname}.xml. The individual
- XML files are located in the ${eclipse-home} directory. When the test run is
- finished, you can call the <b>"collect"</b> target in the library
- file, which will collect the XML into a single file. See below for an example
- of how to use this target correctly.</p>
-
-<p>The JUnit integration in Eclipse supports various advanced features, such as
-<b>Regression Testing</b>, <b>Email Notification</b>, and <b>HTML Output</b>.
-These features are currently under development, and do not yet have a
-standardized way to add them to a test run.</p>
-
-<h3>Other issues</h3>
-
-<h4>Headless Testing vs. UI testing</h4>
-
-<p>Many plugin tests will not need the Workbench active in order to run. Indeed,
- only the minimum number of plugins needed to run the plugin being tested need
- to be present when testing in a target Eclipse. There are two different Ant
- targets provided for running Eclipse plugin tests. One target starts the entire
- Workbench. The other starts Eclipse with the minimum number of plugins needed.
- It is up to you to decide which target is most appropriate. For examples, look
- at the <b>"ui-test"</b> and <b>"core-test"</b> targets below.</p>
-
-<h4>Disposing the Display</h4>
-
-<p>Some low-level tests for the Eclipse platform take actions that are not
-normally possible inside of Eclipse. An example of this behaviour would be
-disposing the display. While this action can be performed while running the UI,
-it will also kill the UI for the copy of Eclipse that is running, and cause
-errors when the Workbench tries to shutdown. If you need to test disposing the
-display, or other similar actions, your tests should be running without a UI. </p>
-
-<h4>Tests that are not plugins</h4>
-
-<p>It is very easy to forget to define your tests inside of a plugin. If your
- tests will not load properly, make sure that a 'plugin.xml' file exists in your
- test project, and also that the plugin is being loaded by the platform. Make
- sure that all of the dependencies are satisfied for your test plugin.</p>
-<p><font size="+1">Interface</font></p>
-
-<p>The org.eclipse.test plugin defines many useful Ant tasks/targets to aid developers
- in writing their test.xml scripts. Currently, there is only Ant targets defined,
- which can be called using Ant's built-in <ant> task. To use these targets,
- add the following line to the top of your script, and reference the ${library-file}
- property when calling <ant>:</p>
-
-<code><property name="library-file"
-value="${eclipse-home}/fragments/org.eclipse.test/library.xml"/> </code>
-
-<p>The targets that are defined are: </p>
-
-<ul>
- <li><b>ui-test</b> - This target runs a JUnit test suite inside of an Eclipse
- Workbench. This target is mainly for testing plugins that use the Eclipse
- UI and JFace. The output of the test pass is automatically logged in an XML
- file called ${classname}.xml. It takes four arguments: </li>
- <ul>
- <li><i>data-dir</i> - The
- data directory of the Eclipse that gets run</li>
- <li><i>plugin-name</i> -
- The name of the plugin that the test suite is defined in</li>
- <li><i>classname</i> -
- The name of the class that the test suite is defined in</li>
- <li><i>vmargs</i> - An
- optional argument string to pass to the VM running the tests</li>
- </ul>
-
-<p>For example, the following code will run the test
-org.eclipse.foo.bar.MyTest in the plugin org.eclipse.foo in a new Eclipse
-workbench. It passes the string "-Dbaz=true" to the VM. The Eclipse
-stores its metadata in the directory "data-folder".
-
-<code><pre>
-<ant target="ui-test" antfile="${library-file}" dir="${eclipse-home}">
- <property name="data-dir" value="data-folder"/>
- <property name="plugin-name" value="org.eclipse.foo"/>
- <property name="classname" value="org.eclipse.foo.bar.MyTest"/>
- <property name="vmargs" value="-Dbaz=true"/>
-</ant>
-</pre></code>
-
- <li><b>core-test</b> - This target runs a JUnit test suite inside of an IPlatformRunnable.
- This target is for testing plugins that use the Eclipse platform, but do not
- require a UI to be running. The output of the test pass is automatically logged
- in an XML file called ${classname}.xml. It takes four arguments: </li>
- <ul>
- <li><i>data-dir</i> - The
- data directory of the Eclipse that gets run</li>
- <li><i>plugin-name</i> -
- The name of the plugin that the test suite is defined in</li>
- <li><i>classname</i> -
- The name of the class that the test suite is defined in</li>
- <li><i>vmargs</i> - An
- optional argument string to pass to the VM running the tests</li>
- </ul>
-
-<p>For example, the following code will run the test
-org.eclipse.foo.bar.MyTest in the plugin org.eclipse.foo in a headless Eclipse.
-It passes the string "-Dbaz=true" to the VM. The Eclipse stores its
-metadata in the directory "data-folder".
-
-<code><pre>
-<ant target="core-test" antfile="${library-file}" dir="${eclipse-home}">
- <property name="data-dir" value="data-folder"/>
- <property name="plugin-name" value="org.eclipse.foo"/>
- <property name="classname" value="org.eclipse.foo.bar.MyTest"/>
- <property name="vmargs" value="-Dbaz=true"/>
-</ant>
-</pre></code>
-
- <li><b>collect</b> - This
- target collects the XML files that are produced over the course of the
- test script. It takes two arguments: </li>
- <ul>
- <li><i>includes</i> - A
- pattern matching all XML files to be included in the test report. This
- argument is typically "org*.xml"</li>
- <li><i>output-file</i> -
- The filename where the output of the test gets stored. For the automated
- build process, this file should be ${pluginname}.xml, and be located in
- the ECLIPSE_HOME directory.</li>
- </ul>
-
-<p>For example, the following code collects all of the files
-matching the pattern "org*.xml" in the directory ${eclipse-home},
-into the file named "logfile.xml".
-
-<code><pre>
-<ant target="collect" antfile="${library-file}" dir="${eclipse-home}">
- <property name="includes" value="org*.xml"/>
- <property name="output-file" value="logfile.xml"/>
-</ant>
-</pre></code>
-
- <li><b>test-regressions</b> - This target takes two compound XML files (after
- a collect - even if collect is only given 1 file), and produces a text file
- that contains a list of all test status changes that occur between the two
- files. It will report new tests added, old tests that weren't run, and tests
- whose status changed (pass to fail, or fail to pass). This target takes three
- arguments: </li>
- <ul>
- <li><i>oldfile</i> - the
- baseline file to compare against</li>
- <li><i>newfile</i> - the
- file containing the results of the most recent test run</li>
- <li><i>outfile</i> - the
- file in which to place the results of the regression test</li>
- </ul>
-
-<p>For example, the following code compares the test runs that
-were logged into the files "old.xml" and "new.xml", and
-creates a file called "output.txt" that holds the differences between
-the two runs.
-
-<code><pre>
-<ant target="test-regressions" antfile="${library-file}" dir="${eclipse-home}">
- <property name="oldfile" value="old.xml"/>
- <property name="newfile" value="new.xml"/>
- <property name="outfile" value="output.txt"/>
-</ant>
-</pre></code>
-
- <li><b>notify</b> - This target
- sends email notification of the status of the latest test run. Typically,
- this sends the results of the latest regression test to a developer so
- that new test failures can be detected quickly. This target takes two
- parameters: </li>
- <ul>
- <li><i>infile</i> - the
- name of the file containing the message to send</li>
- <li><i>address</i> - the
- email address to send the file to</li>
- </ul>
-
-<p>For example, the following code will mail the contents of
-the file "output.txt" to the address "foo@bar.com".
-
-<code><pre>
-<ant target="notify" antfile="${library-file}" dir="${eclipse-home}">
- <property name="infile" value="output.txt"/>
- <property name="address" value="foo@bar.com"/>
-</ant>
-</pre></code>
-</ul>
-
-<h2>Examples:</h2>
-
-<p>Included is the 'test.xml' file from the org.eclipse.ui.tests plugin. This
-file controls all of the automated testing that is done for the org.eclipse.ui
-plugin. It can be run from inside of Eclipse or from the command line. It is
-intended to serve as a template file for testing any other plugin.</p>
-
-<p>Notice that the structure of the file roughly mirrors that of a JUnit test.
-Targets are defined for setting up the tests, defining what needs to be done,
-cleaning up after the tests, and running everything in the right order.</p>
-
-<font color="red">This example is out of date.
-<code><pre>
-<?xml version="1.0"?>
-
-<project name="testsuite" default="run" basedir=".">
- <!-- The property ${eclipse-home} should be passed into this script -->
- <!-- Set a meaningful default value for when it is not. -->
- <property name="eclipse-home" value="${basedir}/../.."/>
-
- <!-- sets the properties eclipse-home, and library-file -->
- <property name="plugin-name" value="org.eclipse.ui.tests"/>
- <property name="library-file"
- value="${eclipse-home}/fragments/org.eclipse.test/library.xml"/>
-
- <!-- This target holds all initialization code that needs to be done for -->
- <!-- all tests that are to be run. Initialization for individual tests -->
- <!-- should be done within the body of the suite target. -->
- <target name="init">
- <tstamp/>
- <delete>
- <fileset dir="${eclipse-home}" includes="org*.xml"/>
- </delete>
- </target>
-
- <!-- This target defines the tests that need to be run. -->
- <target name="suite">
- <property name="session-folder"
- value="${eclipse-home}/ui_session_sniff_folder"/>
- <delete dir="${session-folder}" quiet="true"/>
- <ant target="ui-test" antfile="${library-file}" dir="${eclipse-home}">
- <property name="data-dir" value="${session-folder}"/>
- <property name="plugin-name" value="${plugin-name}"/>
- <property name="classname"
- value="org.eclipse.ui.tests.api.SessionCreateTest"/>
- </ant>
- <ant target="ui-test" antfile="${library-file}" dir="${eclipse-home}">
- <property name="data-dir" value="${session-folder}"/>
- <property name="plugin-name" value="${plugin-name}"/>
- <property name="classname"
- value="org.eclipse.ui.tests.api.SessionRestoreTest"/>
- </ant>
-
- <property name="sniff-folder"
- value="${eclipse-home}/ui_sniff_folder"/>
- <delete dir="${sniff-folder}" quiet="true"/>
- <ant target="ui-test" antfile="${library-file}" dir="${eclipse-home}">
- <property name="data-dir" value="${sniff-folder}"/>
- <property name="plugin-name" value="${plugin-name}"/>
- <property name="classname"
- value="org.eclipse.ui.tests.UiTestSuite"/>
- </ant>
- </target>
-
- <!-- This target holds code to cleanup the testing environment after -->
- <!-- after all of the tests have been run. You can use this target to -->
- <!-- delete temporary files that have been created. -->
- <target name="cleanup">
- </target>
-
- <!-- This target runs the test suite. Any actions that need to happen -->
- <!-- after all the tests have been run should go here. -->
- <target name="run" depends="init,suite,cleanup">
- <ant target="collect" antfile="${library-file}" dir="${eclipse-home}">
- <property name="includes" value="org*.xml"/>
- <property name="output-file" value="${plugin-name}.xml"/>
- </ant>
- </target>
-
-</project>
-</pre></code>
-</font>
-<h2>Known Issues:</h2>
-
-<h4>Problem 1: Issues with Ant 1.3</h4>
-
-<p>Ant 1.3 has some issues when used with the <style> tag and absolute
-paths. Also, any tests that use the <code>System.exit()</code> call will not
-log their output properly when using Ant 1.3.</p>
-
-<h4>Problem 2: ECLIPSE_HOME</h4>
-
-<p>The test suites need to know where the root of the eclipse install is on the
-file system (the ECLIPSE_HOME variable). However, this variable is only defined
-in JDT. The ${eclipse-home} property can be set to a reasonable default inside
-of the test.xml script. Then tests can be run from the standard Ant window,
-without having to specify -Declipse-home=%ECLIPSE_HOME%. If a value for
-${eclipse-home} does get passed in, the default (specified in test.xml) gets
-overridden. The parameter is passed in by the build mechanism. For most cases,
-the value "${basedir}/../.." is a reasonable default.</p>
-
-<h4>Problem 3: Ugly reference to library.xml</h4>
-
-<p>org.eclipse.test should provide Ant tasks, not template scripts.</p>
-
-<h4>Problem 4: No console output</h4>
-
-<p>When you run a TestSuite using the standard JUnit, it normally outputs a
-series of dots to the console so that you can track the TestSuite's progress.
-It is not possible to add this feature to the automated testing process at this
-point in time.</p>
-
-<h4>Problem 5: Ant java task on Linux</h4>
-
-<p>Ant expects there to be a java executable on the system path. Furthermore, the executable
-must be a real file, not a symbolic link. If the test framework is throwing an exception
-<code>java.io.IOException: java: not found</code>, ensure that the java executable is on
-your system path.</p>
-
-<h4>Problem 6: PDE</h4>
-<p>The testing framework currently has no knowledge of PDE. In order to run the automated
-you must be running a self hosting environment with a full development and target Eclipse.</p>
-
-</body>
-
-</html>
diff --git a/features/org.eclipse.rcp/.project b/features/org.eclipse.rcp/.project
deleted file mode 100644
index e890e62..0000000
--- a/features/org.eclipse.rcp/.project
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.rcp</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- </buildSpec>
- <natures>
- </natures>
-</projectDescription>
diff --git a/features/org.eclipse.rcp/build.properties b/features/org.eclipse.rcp/build.properties
deleted file mode 100644
index 053e093..0000000
--- a/features/org.eclipse.rcp/build.properties
+++ /dev/null
@@ -1,24 +0,0 @@
-root=../org.eclipse.platform/rootfiles,file:../../plugins/org.eclipse.platform/startup.jar,rootfiles
-root.permissions.755=eclipse
-
-root.win32.win32.x86=../../plugins/platform-launcher/bin/win32
-
-root.aix.motif.ppc=../../plugins/platform-launcher/bin/aix
-
-root.hpux.motif.PA_RISC=../../plugins/platform-launcher/bin/hpux/PA_RISC
-
-root.solaris.motif.sparc=../../plugins/platform-launcher/bin/solaris
-
-root.linux.gtk.x86=../../plugins/platform-launcher/bin/linux/gtk
-root.linux.gtk.amd64=../../plugins/platform-launcher/bin/linux/gtk64
-# Need to be fixed to reflect eventual change into feature.xml
-root.qnx.photon.x86=../../plugins/platform-launcher/bin/photon
-
-root.linux.motif.x86=../../plugins/platform-launcher/bin/linux/motif,../org.eclipse.platform/linux.motif
-root.linux.motif.x86.link=libXm.so.2.1,libXm.so.2,libXm.so.2.1,libXm.so
-root.linux.motif.x86.permissions.755=*.so*
-
-root.macosx.carbon.ppc=../org.eclipse.platform/macosx.carbon,../../plugins/platform-launcher/bin/macosx
-root.macosx.carbon.ppc.link=Eclipse.app/Contents/MacOS/eclipse,eclipse
-root.macosx.carbon.ppc.permissions.755=Eclipse.app/Contents/MacOS/eclipse,Eclipse.app/Contents/MacOS/java_swt
-
diff --git a/features/org.eclipse.rcp/feature.xml b/features/org.eclipse.rcp/feature.xml
deleted file mode 100644
index 7ddb6ad..0000000
--- a/features/org.eclipse.rcp/feature.xml
+++ /dev/null
@@ -1,103 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<feature
- id="org.eclipse.rcp"
- label="%featureName"
- version="3.0.1"
- image="eclipse_update_120.jpg"
- provider-name="%providerName">
-
- <description>
- %description
- </description>
-
- <license url="%licenseURL">
- %license
- </license>
-
- <url>
- <update label="%updateSiteName" url="http://update.eclipse.org/updates"/>
- </url>
-
- <plugin
- id="org.eclipse.core.expressions"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.eclipse.core.runtime"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.eclipse.osgi"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.eclipse.osgi.services"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.eclipse.help"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.eclipse.swt"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.eclipse.jface"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.eclipse.ui"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.eclipse.ui.workbench"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <!-- Win32 -->
- <plugin id="org.eclipse.swt.win32" download-size="0" install-size="0" version="0.0.0" fragment="true" ws="win32"/>
-
- <!-- LINUX GTK -->
- <plugin id="org.eclipse.swt.gtk" download-size="0" install-size="0" version="0.0.0" fragment="true" os="linux" ws="gtk"/>
-
- <!-- LINUX GTK AMD64-->
- <plugin id="org.eclipse.swt.gtk64" download-size="0" install-size="0" version="0.0.0" fragment="true" os="linux" ws="gtk" arch="amd64" />
-
- <!-- MacOS X Carbon -->
- <plugin id="org.eclipse.swt.carbon" download-size="0" install-size="0" version="0.0.0" fragment="true" os="macosx" ws="carbon"/>
-
- <!-- AIX Motif -->
- <plugin id="org.eclipse.swt.motif" download-size="0" install-size="0" version="0.0.0" fragment="true" os="aix" ws="motif"/>
-
- <!-- HPUX Motif -->
- <plugin id="org.eclipse.swt.motif" download-size="0" install-size="0" version="0.0.0" fragment="true" os="hpux" ws="motif"/>
-
- <!-- LINUX Motif -->
- <plugin id="org.eclipse.swt.motif" download-size="0" install-size="0" version="0.0.0" fragment="true" os="linux" ws="motif"/>
-
- <!-- Solaris Motif -->
- <plugin id="org.eclipse.swt.motif" download-size="0" install-size="0" version="0.0.0" fragment="true" os="solaris" ws="motif"/>
-
- <!-- QNX Photon -->
- <plugin id="org.eclipse.swt.photon" download-size="0" install-size="0" version="0.0.0" fragment="true" os="qnx" ws="photon"/>
-
-</feature>
-
diff --git a/features/org.eclipse.rcp/rootfiles/configuration/config.ini b/features/org.eclipse.rcp/rootfiles/configuration/config.ini
deleted file mode 100644
index a977b2d..0000000
--- a/features/org.eclipse.rcp/rootfiles/configuration/config.ini
+++ /dev/null
@@ -1,58 +0,0 @@
-# Eclipse runtime configuration file
-# This file contains a number of key/value pairs that are merged into the
-# System properties on system startup. The values control the way the
-# runtime is structured and runs.
-
-# Note: Only platform:/base/ and file: URLs are supported. In general the
-# URLs given may include a version number (e.g., .../location_1.2.3).
-# If a version is not specified, the system binds
-# to the location which matches exactly or to the versioned location with the
-# latest version number. If a version number is given then only exact matches
-# are considered.
-
-# The URL for the runtime entry point. The default value is
-# platform:/base/plugins/org.eclipse.osgi
-#osgi.framework=platform:/base/plugins/org.eclipse.osgi
-
-# The classpath for the framework found at the osgi.framework location. This
-# comma-separated list contains either URLs or simple element names. Simple
-# names are assumed to be relative to the framework's install directory.
-# Typically this value need not be set as it is initialized by the framework itself.
-# Version match searching is not done for URLs listed here.
-#osgi.frameworkClassPath =
-
-# The comma-separated list of locations to search for the splash screen file (splash.bmp).
-# For each list element a subdirectory structure based on the pattern nl/<locale> is searched.
-# The system binds to the first matching file. There is no default value.
-#osgi.splashPath=
-
-# The location of the splash screen file. If this value is set at system startup it is used
-# in favour of the osgi.splashPath searching outlined above. If the value is not set
-# the searching is done and this key is bound to the result of the search.
-#osgi.splashLocation =
-
-# The comma-separated list of bundles which are automatically installed and optionally started
-# once the system is up and running. Each entry if of the form
-# <URL | simple bundle location>[@ [<startlevel>] [":start"]]
-# If the startlevel is omitted then the framework will use the default start level for the bundle.
-# If the "start" tag is added then the bundle will be marked as started after being installed.
-# Simple bundle locations are interepreted as relative to the framework's parent directory.
-# The startlevel indicates the OSGi start level at which the bundle should run.
-# If this value is not set, the system computes an appropriate default.
-osgi.bundles=org.eclipse.core.runtime@2:start
-
-# The product to run. A given Eclipse configuration may contain many products.
-# The product identified will supply the branding (window icons, title bar text) etc
-# as well as define the default application to run.
-#eclipse.product=
-
-# The application to run. The value specified here is the id of the application extension
-# the runtime will find, instantiate and execute once the system is up. Note that typically
-# the identified eclipse.product defines the default application to run.
-#eclipse.application=
-
-# The build identifier
-eclipse.buildId=@build@
-
-# End of file marker - must be here
-eof=eof
\ No newline at end of file
diff --git a/features/org.eclipse.sdk.examples-feature/.project b/features/org.eclipse.sdk.examples-feature/.project
deleted file mode 100644
index f716f11..0000000
--- a/features/org.eclipse.sdk.examples-feature/.project
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.sdk.examples-feature</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- </buildSpec>
- <natures>
- </natures>
-</projectDescription>
diff --git a/features/org.eclipse.sdk.examples-feature/build.properties b/features/org.eclipse.sdk.examples-feature/build.properties
deleted file mode 100644
index 06c4d58..0000000
--- a/features/org.eclipse.sdk.examples-feature/build.properties
+++ /dev/null
@@ -1,20 +0,0 @@
-###############################################################################
-# Copyright (c) 2000, 2004 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Common Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/cpl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-bin.includes =\
-cpl-v10.html,\
-eclipse_update_120.jpg,\
-feature.xml,\
-feature.properties,\
-license.html
-
-generate.plugin@org.eclipse.sdk.examples.source=org.eclipse.sdk.examples
-
-root=rootfiles
\ No newline at end of file
diff --git a/features/org.eclipse.sdk.examples-feature/cpl-v10.html b/features/org.eclipse.sdk.examples-feature/cpl-v10.html
deleted file mode 100644
index 36aa208..0000000
--- a/features/org.eclipse.sdk.examples-feature/cpl-v10.html
+++ /dev/null
@@ -1,125 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<HTML>
-<HEAD>
-<TITLE>Common Public License - v 1.0</TITLE>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-</HEAD>
-
-<BODY BGCOLOR="#FFFFFF" VLINK="#800000">
-
-
-<P ALIGN="CENTER"><B>Common Public License - v 1.0</B>
-<P><B></B><FONT SIZE="3"></FONT>
-<P><FONT SIZE="3"></FONT><FONT SIZE="2">THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.</FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"><B>1. DEFINITIONS</B></FONT>
-<P><FONT SIZE="2">"Contribution" means:</FONT>
-
-<UL><FONT SIZE="2">a) in the case of the initial Contributor, the initial code and documentation distributed under this Agreement, and<BR CLEAR="LEFT">
-b) in the case of each subsequent Contributor:</FONT></UL>
-
-
-<UL><FONT SIZE="2">i) changes to the Program, and</FONT></UL>
-
-
-<UL><FONT SIZE="2">ii) additions to the Program;</FONT></UL>
-
-
-<UL><FONT SIZE="2">where such changes and/or additions to the Program originate from and are distributed by that particular Contributor. </FONT><FONT SIZE="2">A Contribution 'originates' from a Contributor if it was added to the Program by such Contributor itself or anyone acting on such Contributor's behalf. </FONT><FONT SIZE="2">Contributions do not include additions to the Program which: (i) are separate modules of software distributed in conjunction with the Program under their own license agreement, and (ii) are not derivative works of the Program. </FONT></UL>
-
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2">"Contributor" means any person or entity that distributes the Program.</FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2">"Licensed Patents " mean patent claims licensable by a Contributor which are necessarily infringed by the use or sale of its Contribution alone or when combined with the Program. </FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2">"Program" means the Contributions distributed in accordance with this Agreement.</FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2">"Recipient" means anyone who receives the Program under this Agreement, including all Contributors.</FONT>
-<P><FONT SIZE="2"><B></B></FONT>
-<P><FONT SIZE="2"><B>2. GRANT OF RIGHTS</B></FONT>
-
-<UL><FONT SIZE="2"></FONT><FONT SIZE="2">a) </FONT><FONT SIZE="2">Subject to the terms of this Agreement, each Contributor hereby grants</FONT><FONT SIZE="2"> Recipient a non-exclusive, worldwide, royalty-free copyright license to</FONT><FONT SIZE="2" COLOR="#FF0000"> </FONT><FONT SIZE="2">reproduce, prepare derivative works of, publicly display, publicly perform, distribute and sublicense the Contribution of such Contributor, if any, and such derivative works, in source code and object code form.</FONT></UL>
-
-
-<UL><FONT SIZE="2"></FONT></UL>
-
-
-<UL><FONT SIZE="2"></FONT><FONT SIZE="2">b) Subject to the terms of this Agreement, each Contributor hereby grants </FONT><FONT SIZE="2">Recipient a non-exclusive, worldwide,</FONT><FONT SIZE="2" COLOR="#008000"> </FONT><FONT SIZE="2">royalty-free patent license under Licensed Patents to make, use, sell, offer to sell, import and otherwise transfer the Contribution of such Contributor, if any, in source code and object code form. This patent license shall apply to the combination of the Contribution and the Program if, at the time the Contribution is added by the Contributor, such addition of the Contribution causes such combination to be covered by the Licensed Patents. The patent license shall not apply to any other combinations which include the Contribution. No hardware per se is licensed hereunder. </FONT></UL>
-
-
-<UL><FONT SIZE="2"></FONT></UL>
-
-
-<UL><FONT SIZE="2">c) Recipient understands that although each Contributor grants the licenses to its Contributions set forth herein, no assurances are provided by any Contributor that the Program does not infringe the patent or other intellectual property rights of any other entity. Each Contributor disclaims any liability to Recipient for claims brought by any other entity based on infringement of intellectual property rights or otherwise. As a condition to exercising the rights and licenses granted hereunder, each Recipient hereby assumes sole responsibility to secure any other intellectual property rights needed, if any. For example, if a third party patent license is required to allow Recipient to distribute the Program, it is Recipient's responsibility to acquire that license before distributing the Program.</FONT></UL>
-
-
-<UL><FONT SIZE="2"></FONT></UL>
-
-
-<UL><FONT SIZE="2">d) Each Contributor represents that to its knowledge it has sufficient copyright rights in its Contribution, if any, to grant the copyright license set forth in this Agreement. </FONT></UL>
-
-
-<UL><FONT SIZE="2"></FONT></UL>
-
-<P><FONT SIZE="2"><B>3. REQUIREMENTS</B></FONT>
-<P><FONT SIZE="2"><B></B>A Contributor may choose to distribute the Program in object code form under its own license agreement, provided that:</FONT>
-
-<UL><FONT SIZE="2">a) it complies with the terms and conditions of this Agreement; and</FONT></UL>
-
-
-<UL><FONT SIZE="2">b) its license agreement:</FONT></UL>
-
-
-<UL><FONT SIZE="2">i) effectively disclaims</FONT><FONT SIZE="2"> on behalf of all Contributors all warranties and conditions, express and implied, including warranties or conditions of title and non-infringement, and implied warranties or conditions of merchantability and fitness for a particular purpose; </FONT></UL>
-
-
-<UL><FONT SIZE="2">ii) effectively excludes on behalf of all Contributors all liability for damages, including direct, indirect, special, incidental and consequential damages, such as lost profits; </FONT></UL>
-
-
-<UL><FONT SIZE="2">iii)</FONT><FONT SIZE="2"> states that any provisions which differ from this Agreement are offered by that Contributor alone and not by any other party; and</FONT></UL>
-
-
-<UL><FONT SIZE="2">iv) states that source code for the Program is available from such Contributor, and informs licensees how to obtain it in a reasonable manner on or through a medium customarily used for software exchange.</FONT><FONT SIZE="2" COLOR="#0000FF"> </FONT><FONT SIZE="2" COLOR="#FF0000"></FONT></UL>
-
-
-<UL><FONT SIZE="2" COLOR="#FF0000"></FONT><FONT SIZE="2"></FONT></UL>
-
-<P><FONT SIZE="2">When the Program is made available in source code form:</FONT>
-
-<UL><FONT SIZE="2">a) it must be made available under this Agreement; and </FONT></UL>
-
-
-<UL><FONT SIZE="2">b) a copy of this Agreement must be included with each copy of the Program. </FONT></UL>
-
-<P><FONT SIZE="2"></FONT><FONT SIZE="2" COLOR="#0000FF"><STRIKE></STRIKE></FONT>
-<P><FONT SIZE="2" COLOR="#0000FF"><STRIKE></STRIKE></FONT><FONT SIZE="2">Contributors may not remove or alter any copyright notices contained within the Program. </FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2">Each Contributor must identify itself as the originator of its Contribution, if any, in a manner that reasonably allows subsequent Recipients to identify the originator of the Contribution. </FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"><B>4. COMMERCIAL DISTRIBUTION</B></FONT>
-<P><FONT SIZE="2">Commercial distributors of software may accept certain responsibilities with respect to end users, business partners and the like. While this license is intended to facilitate the commercial use of the Program, the Contributor who includes the Program in a commercial product offering should do so in a manner which does not create potential liability for other Contributors. Therefore, if a Contributor includes the Program in a commercial product offering, such Contributor ("Commercial Contributor") hereby agrees to defend and indemnify every other Contributor ("Indemnified Contributor") against any losses, damages and costs (collectively "Losses") arising from claims, lawsuits and other legal actions brought by a third party against the Indemnified Contributor to the extent caused by the acts or omissions of such Commercial Contributor in connection with its distribution of the Program in a commercial product offering. The obligations in this section do not apply to any claims or Losses relating to any actual or alleged intellectual property infringement. In order to qualify, an Indemnified Contributor must: a) promptly notify the Commercial Contributor in writing of such claim, and b) allow the Commercial Contributor to control, and cooperate with the Commercial Contributor in, the defense and any related settlement negotiations. The Indemnified Contributor may participate in any such claim at its own expense.</FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2">For example, a Contributor might include the Program in a commercial product offering, Product X. That Contributor is then a Commercial Contributor. If that Commercial Contributor then makes performance claims, or offers warranties related to Product X, those performance claims and warranties are such Commercial Contributor's responsibility alone. Under this section, the Commercial Contributor would have to defend claims against the other Contributors related to those performance claims and warranties, and if a court requires any other Contributor to pay any damages as a result, the Commercial Contributor must pay those damages.</FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2" COLOR="#0000FF"></FONT>
-<P><FONT SIZE="2" COLOR="#0000FF"></FONT><FONT SIZE="2"><B>5. NO WARRANTY</B></FONT>
-<P><FONT SIZE="2">EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is</FONT><FONT SIZE="2"> solely responsible for determining the appropriateness of using and distributing </FONT><FONT SIZE="2">the Program</FONT><FONT SIZE="2"> and assumes all risks associated with its exercise of rights under this Agreement</FONT><FONT SIZE="2">, including but not limited to the risks and costs of program errors, compliance with applicable laws, damage to or loss of data, </FONT><FONT SIZE="2">programs or equipment, and unavailability or interruption of operations</FONT><FONT SIZE="2">. </FONT><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2"><B>6. DISCLAIMER OF LIABILITY</B></FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2">EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES </FONT><FONT SIZE="2">(INCLUDING WITHOUT LIMITATION LOST PROFITS),</FONT><FONT SIZE="2"> HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.</FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"><B>7. GENERAL</B></FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2">If any provision of this Agreement is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this Agreement, and without further action by the parties hereto, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable.</FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2">If Recipient institutes patent litigation against a Contributor with respect to a patent applicable to software (including a cross-claim or counterclaim in a lawsuit), then any patent licenses granted by that Contributor to such Recipient under this Agreement shall terminate as of the date such litigation is filed. In addition, if Recipient institutes patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Program itself (excluding combinations of the Program with other software or hardware) infringes such Recipient's patent(s), then such Recipient's rights granted under Section 2(b) shall terminate as of the date such litigation is filed. </FONT><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2">All Recipient's rights under this Agreement shall terminate if it fails to comply with any of the material terms or conditions of this Agreement and does not cure such failure in a reasonable period of time after becoming aware of such noncompliance. If all Recipient's rights under this Agreement terminate, Recipient agrees to cease use and distribution of the Program as soon as reasonably practicable. However, Recipient's obligations under this Agreement and any licenses granted by Recipient relating to the Program shall continue and survive. </FONT><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2">Everyone is permitted to copy and distribute copies of this Agreement, but in order to avoid inconsistency the Agreement is copyrighted and may only be modified in the following manner. The Agreement Steward reserves the right to </FONT><FONT SIZE="2">publish new versions (including revisions) of this Agreement from time to </FONT><FONT SIZE="2">time. No one other than the Agreement Steward has the right to modify this Agreement. IBM is the initial Agreement Steward. IBM may assign the responsibility to serve as the Agreement Steward to a suitable separate entity. </FONT><FONT SIZE="2">Each new version of the Agreement will be given a distinguishing version number. The Program (including Contributions) may always be distributed subject to the version of the Agreement under which it was received. In addition, after a new version of the Agreement is published, Contributor may elect to distribute the Program (including its Contributions) under the new </FONT><FONT SIZE="2">version. </FONT><FONT SIZE="2">Except as expressly stated in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to the intellectual property of any Contributor under this Agreement, whether expressly, </FONT><FONT SIZE="2">by implication, estoppel or otherwise</FONT><FONT SIZE="2">.</FONT><FONT SIZE="2"> All rights in the Program not expressly granted under this Agreement are reserved.</FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2">This Agreement is governed by the laws of the State of New York and the intellectual property laws of the United States of America. No party to this Agreement will bring a legal action under this Agreement more than one year after the cause of action arose. Each party waives its rights to a jury trial in any resulting litigation.</FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"></FONT>
-
-</BODY>
-
-</HTML>
\ No newline at end of file
diff --git a/features/org.eclipse.sdk.examples-feature/eclipse_update_120.jpg b/features/org.eclipse.sdk.examples-feature/eclipse_update_120.jpg
deleted file mode 100644
index 68e3e02..0000000
--- a/features/org.eclipse.sdk.examples-feature/eclipse_update_120.jpg
+++ /dev/null
Binary files differ
diff --git a/features/org.eclipse.sdk.examples-feature/feature.properties b/features/org.eclipse.sdk.examples-feature/feature.properties
deleted file mode 100644
index 72f0c4b..0000000
--- a/features/org.eclipse.sdk.examples-feature/feature.properties
+++ /dev/null
@@ -1,124 +0,0 @@
-###############################################################################
-# Copyright (c) 2000, 2004 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Common Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/cpl-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 SDK Examples
-
-# "providerName" property - name of the company that provides the feature
-providerName=Eclipse.org
-
-# "updateSiteName" property - label for the update site
-updateSiteName=Eclipse.org update site
-
-# "description" property - description of the feature
-description=Eclipse SDK examples. Used in conjunction with Eclipse Project SDK.
-
-# "licenseURL" property - URL of the "Feature License"
-# do not translate value - just change to point to a locale-specific HTML page
-licenseURL=license.html
-
-# "license" property - text of the "Feature Update License"
-# should be plain text version of license agreement pointed to be "licenseURL"
-license=\
-ECLIPSE.ORG SOFTWARE USER AGREEMENT\n\
-15th June, 2004\n\
-\n\
-Usage Of Content\n\
-\n\
-ECLIPSE.ORG MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR\n\
-OTHER MATERIALS FOR OPEN SOURCE PROJECTS (COLLECTIVELY "CONTENT").\n\
-USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS\n\
-AGREEMENT AND/OR THE TERMS AND CONDITIONS OF LICENSE AGREEMENTS OR\n\
-NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU\n\
-AGREE THAT YOUR USE OF THE CONTENT IS GOVERNED BY THIS AGREEMENT\n\
-AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS\n\
-OR NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE\n\
-TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND CONDITIONS\n\
-OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED\n\
-BELOW, THEN YOU MAY NOT USE THE CONTENT.\n\
-\n\
-Applicable Licenses\n\
-\n\
-Unless otherwise indicated, all Content made available by Eclipse.org\n\
-is provided to you under the terms and conditions of the Common Public\n\
-License Version 1.0 ("CPL"). A copy of the CPL is provided with this\n\
-Content and is also available at http://www.eclipse.org/legal/cpl-v10.html.\n\
-For purposes of the CPL, "Program" will mean the Content.\n\
-\n\
-Content includes, but is not limited to, source code, object code,\n\
-documentation and other files maintained in the Eclipse.org CVS\n\
-repository ("Repository") in CVS modules ("Modules") and made available\n\
-as downloadable archives ("Downloads").\n\
-\n\
-Content may be apportioned into plug-ins ("Plug-ins"), plug-in fragments\n\
-("Fragments"), and features ("Features"). A Feature is a bundle of one or\n\
-more Plug-ins and/or Fragments and associated material. Files named\n\
-"feature.xml" may contain a list of the names and version numbers of the\n\
-Plug-ins and/or Fragments associated with a Feature. Plug-ins and Fragments\n\
-are located in directories named "plugins" and Features are located in\n\
-directories named "features".\n\
-\n\
-Features may also include other Features ("Included Features"). Files named\n\
-"feature.xml" may contain a list of the names and version numbers of\n\
-Included Features.\n\
-\n\
-The terms and conditions governing Plug-ins and Fragments should be\n\
-contained in files named "about.html" ("Abouts"). The terms and\n\
-conditions governing Features and Included Features should be contained\n\
-in files named "license.html" ("Feature Licenses"). Abouts and Feature\n\
-Licenses may be located in any directory of a Download or Module\n\
-including, but not limited to the following locations:\n\
-\n\
- - The top-level (root) directory\n\
- - Plug-in and Fragment directories\n\
- - Subdirectories of the directory named "src" of certain Plug-ins\n\
- - Feature directories\n\
-\n\
-Note: if a Feature made available by Eclipse.org is installed using the\n\
-Eclipse Update Manager, you must agree to a license ("Feature Update\n\
-License") during the installation process. If the Feature contains\n\
-Included Features, the Feature Update License should either provide you\n\
-with the terms and conditions governing the Included Features or inform\n\
-you where you can locate them. Feature Update Licenses may be found in\n\
-the "license" property of files named "feature.properties". Such Abouts,\n\
-Feature Licenses and Feature Update Licenses contain the terms and\n\
-conditions (or references to such terms and conditions) that govern your\n\
-use of the associated Content in that directory.\n\
-\n\
-THE ABOUTS, FEATURE LICENSES AND FEATURE UPDATE LICENSES MAY REFER\n\
-TO THE CPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS.\n\
-SOME OF THESE OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):\n\
-\n\
- - Eclipse Public License Version 1.0 (available at http://www.eclipse.org/legal/epl-v10.html)\n\
- - Apache Software License 1.1 (available at http://www.apache.org/licenses/LICENSE)\n\
- - IBM Public License 1.0 (available at http://oss.software.ibm.com/developerworks/opensource/license10.html)\n\
- - Metro Link Public License 1.00 (available at http://www.opengroup.org/openmotif/supporters/metrolink/license.html)\n\
- - Mozilla Public License Version 1.1 (available at http://www.mozilla.org/MPL/MPL-1.1.html)\n\
-\n\
-IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR\n\
-TO USE OF THE CONTENT. If no About, Feature License or Feature Update License\n\
-is provided, please contact Eclipse.org to determine what terms and conditions\n\
-govern that particular Content.\n\
-\n\
-Cryptography\n\
-\n\
-Content may contain encryption software. The country in which you are\n\
-currently may have restrictions on the import, possession, and use,\n\
-and/or re-export to another country, of encryption software. BEFORE\n\
-using any encryption software, please check the country's laws,\n\
-regulations and policies concerning the import, possession, or use,\n\
-and re-export of encryption software, to see if this is permitted.\n
-########### end of license property ##########################################
\ No newline at end of file
diff --git a/features/org.eclipse.sdk.examples-feature/feature.xml b/features/org.eclipse.sdk.examples-feature/feature.xml
deleted file mode 100644
index 65da5b6..0000000
--- a/features/org.eclipse.sdk.examples-feature/feature.xml
+++ /dev/null
@@ -1,49 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<feature
- id="org.eclipse.sdk.examples"
- label="%featureName"
- version="3.0.1"
- image= "eclipse_update_120.jpg"
- provider-name="%providerName">
-
- <description>
- %description
- </description>
-
- <license url="%licenseURL">
- %license
- </license>
-
- <url>
- <update label="%updateSiteName" url="http://update.eclipse.org/updates/3.0"/>
- <discovery label="%updateSiteName" url="http://update.eclipse.org/updates/3.0"/>
- </url>
-
- <requires>
- <import plugin="org.eclipse.jdt" version="3.0.0" match="compatible"/>
- <import plugin="org.eclipse.platform" version="3.0.0" match="compatible"/>
- </requires>
-
- <plugin id="org.eclipse.sdk.examples" version="0.0.0"/>
- <plugin id="org.eclipse.sdk.examples.source" version="0.0.0"/>
- <plugin fragment="true" id="org.eclipse.sdk.examples.source.win32.win32.x86" os="win32" ws="win32" arch="x86" version="0.0.0"/>
-
- <plugin id="org.eclipse.compare.examples" version="0.0.0"/>
- <plugin id="org.eclipse.compare.examples.xml" version="0.0.0"/>
- <plugin id="org.eclipse.help.examples.ex1" version="0.0.0"/>
- <plugin id="org.eclipse.jdt.ui.examples.projects" version="0.0.0"/>
- <plugin id="org.eclipse.swt.examples" version="0.0.0"/>
- <plugin id="org.eclipse.swt.examples.browser" version="0.0.0"/>
- <plugin id="org.eclipse.swt.examples.controls" version="0.0.0"/>
- <plugin id="org.eclipse.swt.examples.launcher" version="0.0.0"/>
- <plugin id="org.eclipse.swt.examples.layouts" version="0.0.0"/>
- <plugin id="org.eclipse.swt.examples.paint" version="0.0.0"/>
- <plugin id="org.eclipse.ui.examples.javaeditor" version="0.0.0"/>
- <plugin id="org.eclipse.ui.examples.multipageeditor" version="0.0.0"/>
- <plugin id="org.eclipse.ui.examples.propertysheet" version="0.0.0"/>
- <plugin id="org.eclipse.ui.examples.readmetool" version="0.0.0"/>
- <plugin id="org.eclipse.team.examples.filesystem" version="0.0.0"/>
-
- <plugin id="org.eclipse.swt.examples.ole.win32" version="0.0.0" ws="win32"/>
-
-</feature>
diff --git a/features/org.eclipse.sdk.examples-feature/license.html b/features/org.eclipse.sdk.examples-feature/license.html
deleted file mode 100644
index e7d8500..0000000
--- a/features/org.eclipse.sdk.examples-feature/license.html
+++ /dev/null
@@ -1,72 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<html>
-<head>
-<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
-<title>Eclipse.org Software User Agreement</title>
-</head>
-
-<body lang="EN-US" link=blue vlink=purple>
-<h2>Eclipse.org Software User Agreement</h2>
-<p>15<sup>th</sup> June, 2004</p>
-
-<h3>Usage Of Content</h3>
-
-<p>ECLIPSE.ORG 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.</p>
-
-<h3>Applicable Licenses</h3>
-
-<p>Unless otherwise indicated, all Content made available by Eclipse.org is provided to you under the terms and conditions of the Common Public License Version 1.0
- ("CPL"). A copy of the CPL is provided with this Content and is also available at <a href="http://www.eclipse.org/legal/cpl-v10.html">http://www.eclipse.org/legal/cpl-v10.html</a>.
- For purposes of the CPL, "Program" will mean the Content.</p>
-
-<p>Content includes, but is not limited to, source code, object code, documentation and other files maintained in the Eclipse.org CVS repository ("Repository") in CVS
- modules ("Modules") and made available as downloadable archives ("Downloads").</p>
-
-<p>Content may be apportioned into plug-ins ("Plug-ins"), plug-in fragments ("Fragments"), and features ("Features"). A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material. Files named "feature.xml" may contain a list of the names and version numbers of the Plug-ins and/or Fragments associated with a Feature. Plug-ins and Fragments are located in directories
- named "plugins" and Features are located in directories named "features".</p>
-
-<p>Features may also include other Features ("Included Features"). Files named "feature.xml" may contain a list of the names and version numbers of Included Features.</p>
-
-<p>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:</p>
-
-<ul>
- <li>The top-level (root) directory</li>
- <li>Plug-in and Fragment directories</li>
- <li>Subdirectories of the directory named "src" of certain Plug-ins</li>
- <li>Feature directories</li>
-</ul>
-
-<p>Note: if a Feature made available by Eclipse.org is installed using the Eclipse Update Manager, 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".
-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.</p>
-
-<p>THE ABOUTS, FEATURE LICENSES AND FEATURE UPDATE LICENSES MAY REFER TO THE CPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS. SOME OF THESE
-OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):</p>
-
-<ul>
- <li>Eclipse Public License Version 1.0 (available at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>)</li>
- <li>Apache Software License 1.1 (available at <a href="http://www.apache.org/licenses/LICENSE">http://www.apache.org/licenses/LICENSE</a>)</li>
- <li>IBM Public License 1.0 (available at <a href="http://oss.software.ibm.com/developerworks/opensource/license10.html">http://oss.software.ibm.com/developerworks/opensource/license10.html</a>)</li>
- <li>Metro Link Public License 1.00 (available at <a href="http://www.opengroup.org/openmotif/supporters/metrolink/license.html">http://www.opengroup.org/openmotif/supporters/metrolink/license.html</a>)</li>
- <li>Mozilla Public License Version 1.1 (available at <a href="http://www.mozilla.org/MPL/MPL-1.1.html">http://www.mozilla.org/MPL/MPL-1.1.html</a>)</li>
-</ul>
-
-<p>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 Eclipse.org to determine what terms and conditions govern that particular Content.</p>
-
-<h3>Cryptography</h3>
-
-<p>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.</p>
-</body>
-</html>
diff --git a/features/org.eclipse.sdk.examples-feature/rootfiles/cpl-v10.html b/features/org.eclipse.sdk.examples-feature/rootfiles/cpl-v10.html
deleted file mode 100644
index 36aa208..0000000
--- a/features/org.eclipse.sdk.examples-feature/rootfiles/cpl-v10.html
+++ /dev/null
@@ -1,125 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<HTML>
-<HEAD>
-<TITLE>Common Public License - v 1.0</TITLE>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-</HEAD>
-
-<BODY BGCOLOR="#FFFFFF" VLINK="#800000">
-
-
-<P ALIGN="CENTER"><B>Common Public License - v 1.0</B>
-<P><B></B><FONT SIZE="3"></FONT>
-<P><FONT SIZE="3"></FONT><FONT SIZE="2">THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.</FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"><B>1. DEFINITIONS</B></FONT>
-<P><FONT SIZE="2">"Contribution" means:</FONT>
-
-<UL><FONT SIZE="2">a) in the case of the initial Contributor, the initial code and documentation distributed under this Agreement, and<BR CLEAR="LEFT">
-b) in the case of each subsequent Contributor:</FONT></UL>
-
-
-<UL><FONT SIZE="2">i) changes to the Program, and</FONT></UL>
-
-
-<UL><FONT SIZE="2">ii) additions to the Program;</FONT></UL>
-
-
-<UL><FONT SIZE="2">where such changes and/or additions to the Program originate from and are distributed by that particular Contributor. </FONT><FONT SIZE="2">A Contribution 'originates' from a Contributor if it was added to the Program by such Contributor itself or anyone acting on such Contributor's behalf. </FONT><FONT SIZE="2">Contributions do not include additions to the Program which: (i) are separate modules of software distributed in conjunction with the Program under their own license agreement, and (ii) are not derivative works of the Program. </FONT></UL>
-
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2">"Contributor" means any person or entity that distributes the Program.</FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2">"Licensed Patents " mean patent claims licensable by a Contributor which are necessarily infringed by the use or sale of its Contribution alone or when combined with the Program. </FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2">"Program" means the Contributions distributed in accordance with this Agreement.</FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2">"Recipient" means anyone who receives the Program under this Agreement, including all Contributors.</FONT>
-<P><FONT SIZE="2"><B></B></FONT>
-<P><FONT SIZE="2"><B>2. GRANT OF RIGHTS</B></FONT>
-
-<UL><FONT SIZE="2"></FONT><FONT SIZE="2">a) </FONT><FONT SIZE="2">Subject to the terms of this Agreement, each Contributor hereby grants</FONT><FONT SIZE="2"> Recipient a non-exclusive, worldwide, royalty-free copyright license to</FONT><FONT SIZE="2" COLOR="#FF0000"> </FONT><FONT SIZE="2">reproduce, prepare derivative works of, publicly display, publicly perform, distribute and sublicense the Contribution of such Contributor, if any, and such derivative works, in source code and object code form.</FONT></UL>
-
-
-<UL><FONT SIZE="2"></FONT></UL>
-
-
-<UL><FONT SIZE="2"></FONT><FONT SIZE="2">b) Subject to the terms of this Agreement, each Contributor hereby grants </FONT><FONT SIZE="2">Recipient a non-exclusive, worldwide,</FONT><FONT SIZE="2" COLOR="#008000"> </FONT><FONT SIZE="2">royalty-free patent license under Licensed Patents to make, use, sell, offer to sell, import and otherwise transfer the Contribution of such Contributor, if any, in source code and object code form. This patent license shall apply to the combination of the Contribution and the Program if, at the time the Contribution is added by the Contributor, such addition of the Contribution causes such combination to be covered by the Licensed Patents. The patent license shall not apply to any other combinations which include the Contribution. No hardware per se is licensed hereunder. </FONT></UL>
-
-
-<UL><FONT SIZE="2"></FONT></UL>
-
-
-<UL><FONT SIZE="2">c) Recipient understands that although each Contributor grants the licenses to its Contributions set forth herein, no assurances are provided by any Contributor that the Program does not infringe the patent or other intellectual property rights of any other entity. Each Contributor disclaims any liability to Recipient for claims brought by any other entity based on infringement of intellectual property rights or otherwise. As a condition to exercising the rights and licenses granted hereunder, each Recipient hereby assumes sole responsibility to secure any other intellectual property rights needed, if any. For example, if a third party patent license is required to allow Recipient to distribute the Program, it is Recipient's responsibility to acquire that license before distributing the Program.</FONT></UL>
-
-
-<UL><FONT SIZE="2"></FONT></UL>
-
-
-<UL><FONT SIZE="2">d) Each Contributor represents that to its knowledge it has sufficient copyright rights in its Contribution, if any, to grant the copyright license set forth in this Agreement. </FONT></UL>
-
-
-<UL><FONT SIZE="2"></FONT></UL>
-
-<P><FONT SIZE="2"><B>3. REQUIREMENTS</B></FONT>
-<P><FONT SIZE="2"><B></B>A Contributor may choose to distribute the Program in object code form under its own license agreement, provided that:</FONT>
-
-<UL><FONT SIZE="2">a) it complies with the terms and conditions of this Agreement; and</FONT></UL>
-
-
-<UL><FONT SIZE="2">b) its license agreement:</FONT></UL>
-
-
-<UL><FONT SIZE="2">i) effectively disclaims</FONT><FONT SIZE="2"> on behalf of all Contributors all warranties and conditions, express and implied, including warranties or conditions of title and non-infringement, and implied warranties or conditions of merchantability and fitness for a particular purpose; </FONT></UL>
-
-
-<UL><FONT SIZE="2">ii) effectively excludes on behalf of all Contributors all liability for damages, including direct, indirect, special, incidental and consequential damages, such as lost profits; </FONT></UL>
-
-
-<UL><FONT SIZE="2">iii)</FONT><FONT SIZE="2"> states that any provisions which differ from this Agreement are offered by that Contributor alone and not by any other party; and</FONT></UL>
-
-
-<UL><FONT SIZE="2">iv) states that source code for the Program is available from such Contributor, and informs licensees how to obtain it in a reasonable manner on or through a medium customarily used for software exchange.</FONT><FONT SIZE="2" COLOR="#0000FF"> </FONT><FONT SIZE="2" COLOR="#FF0000"></FONT></UL>
-
-
-<UL><FONT SIZE="2" COLOR="#FF0000"></FONT><FONT SIZE="2"></FONT></UL>
-
-<P><FONT SIZE="2">When the Program is made available in source code form:</FONT>
-
-<UL><FONT SIZE="2">a) it must be made available under this Agreement; and </FONT></UL>
-
-
-<UL><FONT SIZE="2">b) a copy of this Agreement must be included with each copy of the Program. </FONT></UL>
-
-<P><FONT SIZE="2"></FONT><FONT SIZE="2" COLOR="#0000FF"><STRIKE></STRIKE></FONT>
-<P><FONT SIZE="2" COLOR="#0000FF"><STRIKE></STRIKE></FONT><FONT SIZE="2">Contributors may not remove or alter any copyright notices contained within the Program. </FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2">Each Contributor must identify itself as the originator of its Contribution, if any, in a manner that reasonably allows subsequent Recipients to identify the originator of the Contribution. </FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"><B>4. COMMERCIAL DISTRIBUTION</B></FONT>
-<P><FONT SIZE="2">Commercial distributors of software may accept certain responsibilities with respect to end users, business partners and the like. While this license is intended to facilitate the commercial use of the Program, the Contributor who includes the Program in a commercial product offering should do so in a manner which does not create potential liability for other Contributors. Therefore, if a Contributor includes the Program in a commercial product offering, such Contributor ("Commercial Contributor") hereby agrees to defend and indemnify every other Contributor ("Indemnified Contributor") against any losses, damages and costs (collectively "Losses") arising from claims, lawsuits and other legal actions brought by a third party against the Indemnified Contributor to the extent caused by the acts or omissions of such Commercial Contributor in connection with its distribution of the Program in a commercial product offering. The obligations in this section do not apply to any claims or Losses relating to any actual or alleged intellectual property infringement. In order to qualify, an Indemnified Contributor must: a) promptly notify the Commercial Contributor in writing of such claim, and b) allow the Commercial Contributor to control, and cooperate with the Commercial Contributor in, the defense and any related settlement negotiations. The Indemnified Contributor may participate in any such claim at its own expense.</FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2">For example, a Contributor might include the Program in a commercial product offering, Product X. That Contributor is then a Commercial Contributor. If that Commercial Contributor then makes performance claims, or offers warranties related to Product X, those performance claims and warranties are such Commercial Contributor's responsibility alone. Under this section, the Commercial Contributor would have to defend claims against the other Contributors related to those performance claims and warranties, and if a court requires any other Contributor to pay any damages as a result, the Commercial Contributor must pay those damages.</FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2" COLOR="#0000FF"></FONT>
-<P><FONT SIZE="2" COLOR="#0000FF"></FONT><FONT SIZE="2"><B>5. NO WARRANTY</B></FONT>
-<P><FONT SIZE="2">EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is</FONT><FONT SIZE="2"> solely responsible for determining the appropriateness of using and distributing </FONT><FONT SIZE="2">the Program</FONT><FONT SIZE="2"> and assumes all risks associated with its exercise of rights under this Agreement</FONT><FONT SIZE="2">, including but not limited to the risks and costs of program errors, compliance with applicable laws, damage to or loss of data, </FONT><FONT SIZE="2">programs or equipment, and unavailability or interruption of operations</FONT><FONT SIZE="2">. </FONT><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2"><B>6. DISCLAIMER OF LIABILITY</B></FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2">EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES </FONT><FONT SIZE="2">(INCLUDING WITHOUT LIMITATION LOST PROFITS),</FONT><FONT SIZE="2"> HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.</FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"><B>7. GENERAL</B></FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2">If any provision of this Agreement is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this Agreement, and without further action by the parties hereto, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable.</FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2">If Recipient institutes patent litigation against a Contributor with respect to a patent applicable to software (including a cross-claim or counterclaim in a lawsuit), then any patent licenses granted by that Contributor to such Recipient under this Agreement shall terminate as of the date such litigation is filed. In addition, if Recipient institutes patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Program itself (excluding combinations of the Program with other software or hardware) infringes such Recipient's patent(s), then such Recipient's rights granted under Section 2(b) shall terminate as of the date such litigation is filed. </FONT><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2">All Recipient's rights under this Agreement shall terminate if it fails to comply with any of the material terms or conditions of this Agreement and does not cure such failure in a reasonable period of time after becoming aware of such noncompliance. If all Recipient's rights under this Agreement terminate, Recipient agrees to cease use and distribution of the Program as soon as reasonably practicable. However, Recipient's obligations under this Agreement and any licenses granted by Recipient relating to the Program shall continue and survive. </FONT><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2">Everyone is permitted to copy and distribute copies of this Agreement, but in order to avoid inconsistency the Agreement is copyrighted and may only be modified in the following manner. The Agreement Steward reserves the right to </FONT><FONT SIZE="2">publish new versions (including revisions) of this Agreement from time to </FONT><FONT SIZE="2">time. No one other than the Agreement Steward has the right to modify this Agreement. IBM is the initial Agreement Steward. IBM may assign the responsibility to serve as the Agreement Steward to a suitable separate entity. </FONT><FONT SIZE="2">Each new version of the Agreement will be given a distinguishing version number. The Program (including Contributions) may always be distributed subject to the version of the Agreement under which it was received. In addition, after a new version of the Agreement is published, Contributor may elect to distribute the Program (including its Contributions) under the new </FONT><FONT SIZE="2">version. </FONT><FONT SIZE="2">Except as expressly stated in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to the intellectual property of any Contributor under this Agreement, whether expressly, </FONT><FONT SIZE="2">by implication, estoppel or otherwise</FONT><FONT SIZE="2">.</FONT><FONT SIZE="2"> All rights in the Program not expressly granted under this Agreement are reserved.</FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2">This Agreement is governed by the laws of the State of New York and the intellectual property laws of the United States of America. No party to this Agreement will bring a legal action under this Agreement more than one year after the cause of action arose. Each party waives its rights to a jury trial in any resulting litigation.</FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"></FONT>
-
-</BODY>
-
-</HTML>
\ No newline at end of file
diff --git a/features/org.eclipse.sdk.examples-feature/rootfiles/notice.html b/features/org.eclipse.sdk.examples-feature/rootfiles/notice.html
deleted file mode 100644
index e7d8500..0000000
--- a/features/org.eclipse.sdk.examples-feature/rootfiles/notice.html
+++ /dev/null
@@ -1,72 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<html>
-<head>
-<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
-<title>Eclipse.org Software User Agreement</title>
-</head>
-
-<body lang="EN-US" link=blue vlink=purple>
-<h2>Eclipse.org Software User Agreement</h2>
-<p>15<sup>th</sup> June, 2004</p>
-
-<h3>Usage Of Content</h3>
-
-<p>ECLIPSE.ORG 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.</p>
-
-<h3>Applicable Licenses</h3>
-
-<p>Unless otherwise indicated, all Content made available by Eclipse.org is provided to you under the terms and conditions of the Common Public License Version 1.0
- ("CPL"). A copy of the CPL is provided with this Content and is also available at <a href="http://www.eclipse.org/legal/cpl-v10.html">http://www.eclipse.org/legal/cpl-v10.html</a>.
- For purposes of the CPL, "Program" will mean the Content.</p>
-
-<p>Content includes, but is not limited to, source code, object code, documentation and other files maintained in the Eclipse.org CVS repository ("Repository") in CVS
- modules ("Modules") and made available as downloadable archives ("Downloads").</p>
-
-<p>Content may be apportioned into plug-ins ("Plug-ins"), plug-in fragments ("Fragments"), and features ("Features"). A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material. Files named "feature.xml" may contain a list of the names and version numbers of the Plug-ins and/or Fragments associated with a Feature. Plug-ins and Fragments are located in directories
- named "plugins" and Features are located in directories named "features".</p>
-
-<p>Features may also include other Features ("Included Features"). Files named "feature.xml" may contain a list of the names and version numbers of Included Features.</p>
-
-<p>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:</p>
-
-<ul>
- <li>The top-level (root) directory</li>
- <li>Plug-in and Fragment directories</li>
- <li>Subdirectories of the directory named "src" of certain Plug-ins</li>
- <li>Feature directories</li>
-</ul>
-
-<p>Note: if a Feature made available by Eclipse.org is installed using the Eclipse Update Manager, 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".
-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.</p>
-
-<p>THE ABOUTS, FEATURE LICENSES AND FEATURE UPDATE LICENSES MAY REFER TO THE CPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS. SOME OF THESE
-OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):</p>
-
-<ul>
- <li>Eclipse Public License Version 1.0 (available at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>)</li>
- <li>Apache Software License 1.1 (available at <a href="http://www.apache.org/licenses/LICENSE">http://www.apache.org/licenses/LICENSE</a>)</li>
- <li>IBM Public License 1.0 (available at <a href="http://oss.software.ibm.com/developerworks/opensource/license10.html">http://oss.software.ibm.com/developerworks/opensource/license10.html</a>)</li>
- <li>Metro Link Public License 1.00 (available at <a href="http://www.opengroup.org/openmotif/supporters/metrolink/license.html">http://www.opengroup.org/openmotif/supporters/metrolink/license.html</a>)</li>
- <li>Mozilla Public License Version 1.1 (available at <a href="http://www.mozilla.org/MPL/MPL-1.1.html">http://www.mozilla.org/MPL/MPL-1.1.html</a>)</li>
-</ul>
-
-<p>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 Eclipse.org to determine what terms and conditions govern that particular Content.</p>
-
-<h3>Cryptography</h3>
-
-<p>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.</p>
-</body>
-</html>
diff --git a/features/org.eclipse.sdk.examples-feature/sourceTemplateFragment/about.html b/features/org.eclipse.sdk.examples-feature/sourceTemplateFragment/about.html
deleted file mode 100644
index ba54e70..0000000
--- a/features/org.eclipse.sdk.examples-feature/sourceTemplateFragment/about.html
+++ /dev/null
@@ -1,36 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<html>
-<head>
-<title>About</title>
-<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
-</head>
-<body lang="EN-US">
-<h2>About This Content</h2>
-
-<p>20th June, 2002</p>
-<h3>License</h3>
-<p>Eclipse.org makes available all content in this plug-in ("Content"). Unless otherwise indicated below, the Content is provided to you under the terms and conditions of the
-Common Public License Version 1.0 ("CPL"). A copy of the CPL is available at <a href="http://www.eclipse.org/legal/cpl-v10.html">http://www.eclipse.org/legal/cpl-v10.html</a>.
-For purposes of the CPL, "Program" will mean the Content.</p>
-
-
-<h3>Source Code</h3>
-<p>This plug-in contains source code zip files ("Source Zips") that correspond to binary content in other plug-ins. These Source Zips may be distributed under different license
-agreements and/or notices. Details about these license agreements and notices are contained in "about.html" files ("Abouts") located in sub-directories in the
-src/ directory of this plug-in. Such Abouts govern your use of the Source Zips in that directory, not the CPL.</p>
-
-<h3>Contributions</h3>
-
-<p>If this Content is licensed to you under the terms and conditions of the CPL, any Contributions, as defined in the CPL, uploaded, submitted, or otherwise
-made available to Eclipse.org, members of Eclipse.org and/or the host of Eclipse.org web site, by you that relate to such
-Content are provided under the terms and conditions of the CPL and can be made available to others under the terms of the CPL.</p>
-
-<p>If this Content is licensed to you under license terms and conditions other than the CPL ("Other License"), any modifications, enhancements and/or
-other code and/or documentation ("Modifications") uploaded, submitted, or otherwise made available to Eclipse.org, members of Eclipse.org and/or the
-host of Eclipse.org, by you that relate to such Content are provided under terms and conditions of the Other License and can be made available
-to others under the terms of the Other License. In addition, with regard to Modifications for which you are the copyright holder, you are also
-providing the Modifications under the terms and conditions of the CPL and such Modifications can be made available to others under the terms of
-the CPL.</p>
-
-</body>
-</html>
\ No newline at end of file
diff --git a/features/org.eclipse.sdk.examples-feature/sourceTemplateFragment/about.ini b/features/org.eclipse.sdk.examples-feature/sourceTemplateFragment/about.ini
deleted file mode 100644
index e3fe4fa..0000000
--- a/features/org.eclipse.sdk.examples-feature/sourceTemplateFragment/about.ini
+++ /dev/null
@@ -1,29 +0,0 @@
-# about.ini
-# contains information about a feature
-# java.io.Properties file (ISO 8859-1 with "\" escapes)
-# "%key" are externalized strings defined in about.properties
-# This file does not need to be translated.
-
-# Property "aboutText" contains blurb for "About" dialog (translated)
-aboutText=%blurb
-
-# Property "windowImage" contains path to window icon (16x16)
-# needed for primary features only
-
-# Property "featureImage" contains path to feature image (32x32)
-featureImage=eclipse32.gif
-
-# Property "aboutImage" contains path to product image (500x330 or 115x164)
-# needed for primary features only
-
-# Property "appName" contains name of the application (translated)
-# needed for primary features only
-
-# Property "welcomePage" contains path to welcome page (special XML-based format)
-# optional
-
-# Property "welcomePerspective" contains the id of the perspective in which the
-# welcome page is to be opened.
-# optional
-
-
diff --git a/features/org.eclipse.sdk.examples-feature/sourceTemplateFragment/about.mappings b/features/org.eclipse.sdk.examples-feature/sourceTemplateFragment/about.mappings
deleted file mode 100644
index 720ca87..0000000
--- a/features/org.eclipse.sdk.examples-feature/sourceTemplateFragment/about.mappings
+++ /dev/null
@@ -1,6 +0,0 @@
-# about.mappings
-# contains fill-ins for about.properties
-# java.io.Properties file (ISO 8859-1 with "\" escapes)
-# This file does not need to be translated.
-
-0=@build@
\ No newline at end of file
diff --git a/features/org.eclipse.sdk.examples-feature/sourceTemplateFragment/about.properties b/features/org.eclipse.sdk.examples-feature/sourceTemplateFragment/about.properties
deleted file mode 100644
index 89ed625..0000000
--- a/features/org.eclipse.sdk.examples-feature/sourceTemplateFragment/about.properties
+++ /dev/null
@@ -1,24 +0,0 @@
-###############################################################################
-# Copyright (c) 2000, 2004 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Common Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/cpl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-# about.properties
-# contains externalized strings for about.ini
-# java.io.Properties file (ISO 8859-1 with "\" escapes)
-# fill-ins are supplied by about.mappings
-# This file should be translated.
-
-blurb=Eclipse SDK Examples\n\
-\n\
-Version: {featureVersion}\n\
-Build id: {0}\n\
-\n\
-(c) Copyright IBM Corp. and others 2000, 2004. All rights reserved.\n\
-Visit http://www.eclipse.org/eclipse
-
diff --git a/features/org.eclipse.sdk.examples-feature/sourceTemplateFragment/build.properties b/features/org.eclipse.sdk.examples-feature/sourceTemplateFragment/build.properties
deleted file mode 100644
index 04ef72d..0000000
--- a/features/org.eclipse.sdk.examples-feature/sourceTemplateFragment/build.properties
+++ /dev/null
@@ -1,12 +0,0 @@
-###############################################################################
-# Copyright (c) 2000, 2004 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Common Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/cpl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-bin.includes = about.html, about.ini, about.mappings, about.properties, eclipse32.gif, plugin.properties, fragment.xml, src/**
-sourcePlugin = true
diff --git a/features/org.eclipse.sdk.examples-feature/sourceTemplateFragment/eclipse32.gif b/features/org.eclipse.sdk.examples-feature/sourceTemplateFragment/eclipse32.gif
deleted file mode 100644
index f71a8f6..0000000
--- a/features/org.eclipse.sdk.examples-feature/sourceTemplateFragment/eclipse32.gif
+++ /dev/null
Binary files differ
diff --git a/features/org.eclipse.sdk.examples-feature/sourceTemplateFragment/plugin.properties b/features/org.eclipse.sdk.examples-feature/sourceTemplateFragment/plugin.properties
deleted file mode 100644
index 764c1e7..0000000
--- a/features/org.eclipse.sdk.examples-feature/sourceTemplateFragment/plugin.properties
+++ /dev/null
@@ -1,12 +0,0 @@
-###############################################################################
-# Copyright (c) 2000, 2004 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Common Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/cpl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-pluginName=Eclipse Java Development Tools SDK
-providerName=Eclipse.org
\ No newline at end of file
diff --git a/features/org.eclipse.sdk.examples-feature/sourceTemplatePlugin/build.properties b/features/org.eclipse.sdk.examples-feature/sourceTemplatePlugin/build.properties
deleted file mode 100644
index dac462a..0000000
--- a/features/org.eclipse.sdk.examples-feature/sourceTemplatePlugin/build.properties
+++ /dev/null
@@ -1,14 +0,0 @@
-###############################################################################
-# Copyright (c) 2000, 2004 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Common Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/cpl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-bin.includes = eclipse32.gif, plugin.properties, plugin.xml, src/**
-
-sourcePlugin = true
-
diff --git a/features/org.eclipse.sdk.examples-feature/sourceTemplatePlugin/eclipse32.gif b/features/org.eclipse.sdk.examples-feature/sourceTemplatePlugin/eclipse32.gif
deleted file mode 100644
index f71a8f6..0000000
--- a/features/org.eclipse.sdk.examples-feature/sourceTemplatePlugin/eclipse32.gif
+++ /dev/null
Binary files differ
diff --git a/features/org.eclipse.sdk.examples-feature/sourceTemplatePlugin/plugin.properties b/features/org.eclipse.sdk.examples-feature/sourceTemplatePlugin/plugin.properties
deleted file mode 100644
index 527a0a2..0000000
--- a/features/org.eclipse.sdk.examples-feature/sourceTemplatePlugin/plugin.properties
+++ /dev/null
@@ -1,12 +0,0 @@
-###############################################################################
-# Copyright (c) 2000, 2004 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Common Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/cpl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-pluginName=Eclipse Platform Plug-in Developer Resources
-providerName=Eclipse.org
\ No newline at end of file
diff --git a/features/org.eclipse.sdk.tests/.project b/features/org.eclipse.sdk.tests/.project
deleted file mode 100644
index 72794b1..0000000
--- a/features/org.eclipse.sdk.tests/.project
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.sdk.tests</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- </buildSpec>
- <natures>
- </natures>
-</projectDescription>
diff --git a/features/org.eclipse.sdk.tests/build.properties b/features/org.eclipse.sdk.tests/build.properties
deleted file mode 100644
index d0087d6..0000000
--- a/features/org.eclipse.sdk.tests/build.properties
+++ /dev/null
@@ -1,21 +0,0 @@
-###############################################################################
-# Copyright (c) 2000, 2004 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Common Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/cpl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-bin.includes =\
-cpl-v10.html,\
-eclipse_update_120.jpg,\
-feature.xml,\
-feature.properties,\
-license.html
-
-
-generate.plugin@org.eclipse.sdk.tests.source=org.eclipse.sdk.tests
-
-root=rootfiles
\ No newline at end of file
diff --git a/features/org.eclipse.sdk.tests/cpl-v10.html b/features/org.eclipse.sdk.tests/cpl-v10.html
deleted file mode 100644
index 36aa208..0000000
--- a/features/org.eclipse.sdk.tests/cpl-v10.html
+++ /dev/null
@@ -1,125 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<HTML>
-<HEAD>
-<TITLE>Common Public License - v 1.0</TITLE>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-</HEAD>
-
-<BODY BGCOLOR="#FFFFFF" VLINK="#800000">
-
-
-<P ALIGN="CENTER"><B>Common Public License - v 1.0</B>
-<P><B></B><FONT SIZE="3"></FONT>
-<P><FONT SIZE="3"></FONT><FONT SIZE="2">THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.</FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"><B>1. DEFINITIONS</B></FONT>
-<P><FONT SIZE="2">"Contribution" means:</FONT>
-
-<UL><FONT SIZE="2">a) in the case of the initial Contributor, the initial code and documentation distributed under this Agreement, and<BR CLEAR="LEFT">
-b) in the case of each subsequent Contributor:</FONT></UL>
-
-
-<UL><FONT SIZE="2">i) changes to the Program, and</FONT></UL>
-
-
-<UL><FONT SIZE="2">ii) additions to the Program;</FONT></UL>
-
-
-<UL><FONT SIZE="2">where such changes and/or additions to the Program originate from and are distributed by that particular Contributor. </FONT><FONT SIZE="2">A Contribution 'originates' from a Contributor if it was added to the Program by such Contributor itself or anyone acting on such Contributor's behalf. </FONT><FONT SIZE="2">Contributions do not include additions to the Program which: (i) are separate modules of software distributed in conjunction with the Program under their own license agreement, and (ii) are not derivative works of the Program. </FONT></UL>
-
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2">"Contributor" means any person or entity that distributes the Program.</FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2">"Licensed Patents " mean patent claims licensable by a Contributor which are necessarily infringed by the use or sale of its Contribution alone or when combined with the Program. </FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2">"Program" means the Contributions distributed in accordance with this Agreement.</FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2">"Recipient" means anyone who receives the Program under this Agreement, including all Contributors.</FONT>
-<P><FONT SIZE="2"><B></B></FONT>
-<P><FONT SIZE="2"><B>2. GRANT OF RIGHTS</B></FONT>
-
-<UL><FONT SIZE="2"></FONT><FONT SIZE="2">a) </FONT><FONT SIZE="2">Subject to the terms of this Agreement, each Contributor hereby grants</FONT><FONT SIZE="2"> Recipient a non-exclusive, worldwide, royalty-free copyright license to</FONT><FONT SIZE="2" COLOR="#FF0000"> </FONT><FONT SIZE="2">reproduce, prepare derivative works of, publicly display, publicly perform, distribute and sublicense the Contribution of such Contributor, if any, and such derivative works, in source code and object code form.</FONT></UL>
-
-
-<UL><FONT SIZE="2"></FONT></UL>
-
-
-<UL><FONT SIZE="2"></FONT><FONT SIZE="2">b) Subject to the terms of this Agreement, each Contributor hereby grants </FONT><FONT SIZE="2">Recipient a non-exclusive, worldwide,</FONT><FONT SIZE="2" COLOR="#008000"> </FONT><FONT SIZE="2">royalty-free patent license under Licensed Patents to make, use, sell, offer to sell, import and otherwise transfer the Contribution of such Contributor, if any, in source code and object code form. This patent license shall apply to the combination of the Contribution and the Program if, at the time the Contribution is added by the Contributor, such addition of the Contribution causes such combination to be covered by the Licensed Patents. The patent license shall not apply to any other combinations which include the Contribution. No hardware per se is licensed hereunder. </FONT></UL>
-
-
-<UL><FONT SIZE="2"></FONT></UL>
-
-
-<UL><FONT SIZE="2">c) Recipient understands that although each Contributor grants the licenses to its Contributions set forth herein, no assurances are provided by any Contributor that the Program does not infringe the patent or other intellectual property rights of any other entity. Each Contributor disclaims any liability to Recipient for claims brought by any other entity based on infringement of intellectual property rights or otherwise. As a condition to exercising the rights and licenses granted hereunder, each Recipient hereby assumes sole responsibility to secure any other intellectual property rights needed, if any. For example, if a third party patent license is required to allow Recipient to distribute the Program, it is Recipient's responsibility to acquire that license before distributing the Program.</FONT></UL>
-
-
-<UL><FONT SIZE="2"></FONT></UL>
-
-
-<UL><FONT SIZE="2">d) Each Contributor represents that to its knowledge it has sufficient copyright rights in its Contribution, if any, to grant the copyright license set forth in this Agreement. </FONT></UL>
-
-
-<UL><FONT SIZE="2"></FONT></UL>
-
-<P><FONT SIZE="2"><B>3. REQUIREMENTS</B></FONT>
-<P><FONT SIZE="2"><B></B>A Contributor may choose to distribute the Program in object code form under its own license agreement, provided that:</FONT>
-
-<UL><FONT SIZE="2">a) it complies with the terms and conditions of this Agreement; and</FONT></UL>
-
-
-<UL><FONT SIZE="2">b) its license agreement:</FONT></UL>
-
-
-<UL><FONT SIZE="2">i) effectively disclaims</FONT><FONT SIZE="2"> on behalf of all Contributors all warranties and conditions, express and implied, including warranties or conditions of title and non-infringement, and implied warranties or conditions of merchantability and fitness for a particular purpose; </FONT></UL>
-
-
-<UL><FONT SIZE="2">ii) effectively excludes on behalf of all Contributors all liability for damages, including direct, indirect, special, incidental and consequential damages, such as lost profits; </FONT></UL>
-
-
-<UL><FONT SIZE="2">iii)</FONT><FONT SIZE="2"> states that any provisions which differ from this Agreement are offered by that Contributor alone and not by any other party; and</FONT></UL>
-
-
-<UL><FONT SIZE="2">iv) states that source code for the Program is available from such Contributor, and informs licensees how to obtain it in a reasonable manner on or through a medium customarily used for software exchange.</FONT><FONT SIZE="2" COLOR="#0000FF"> </FONT><FONT SIZE="2" COLOR="#FF0000"></FONT></UL>
-
-
-<UL><FONT SIZE="2" COLOR="#FF0000"></FONT><FONT SIZE="2"></FONT></UL>
-
-<P><FONT SIZE="2">When the Program is made available in source code form:</FONT>
-
-<UL><FONT SIZE="2">a) it must be made available under this Agreement; and </FONT></UL>
-
-
-<UL><FONT SIZE="2">b) a copy of this Agreement must be included with each copy of the Program. </FONT></UL>
-
-<P><FONT SIZE="2"></FONT><FONT SIZE="2" COLOR="#0000FF"><STRIKE></STRIKE></FONT>
-<P><FONT SIZE="2" COLOR="#0000FF"><STRIKE></STRIKE></FONT><FONT SIZE="2">Contributors may not remove or alter any copyright notices contained within the Program. </FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2">Each Contributor must identify itself as the originator of its Contribution, if any, in a manner that reasonably allows subsequent Recipients to identify the originator of the Contribution. </FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"><B>4. COMMERCIAL DISTRIBUTION</B></FONT>
-<P><FONT SIZE="2">Commercial distributors of software may accept certain responsibilities with respect to end users, business partners and the like. While this license is intended to facilitate the commercial use of the Program, the Contributor who includes the Program in a commercial product offering should do so in a manner which does not create potential liability for other Contributors. Therefore, if a Contributor includes the Program in a commercial product offering, such Contributor ("Commercial Contributor") hereby agrees to defend and indemnify every other Contributor ("Indemnified Contributor") against any losses, damages and costs (collectively "Losses") arising from claims, lawsuits and other legal actions brought by a third party against the Indemnified Contributor to the extent caused by the acts or omissions of such Commercial Contributor in connection with its distribution of the Program in a commercial product offering. The obligations in this section do not apply to any claims or Losses relating to any actual or alleged intellectual property infringement. In order to qualify, an Indemnified Contributor must: a) promptly notify the Commercial Contributor in writing of such claim, and b) allow the Commercial Contributor to control, and cooperate with the Commercial Contributor in, the defense and any related settlement negotiations. The Indemnified Contributor may participate in any such claim at its own expense.</FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2">For example, a Contributor might include the Program in a commercial product offering, Product X. That Contributor is then a Commercial Contributor. If that Commercial Contributor then makes performance claims, or offers warranties related to Product X, those performance claims and warranties are such Commercial Contributor's responsibility alone. Under this section, the Commercial Contributor would have to defend claims against the other Contributors related to those performance claims and warranties, and if a court requires any other Contributor to pay any damages as a result, the Commercial Contributor must pay those damages.</FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2" COLOR="#0000FF"></FONT>
-<P><FONT SIZE="2" COLOR="#0000FF"></FONT><FONT SIZE="2"><B>5. NO WARRANTY</B></FONT>
-<P><FONT SIZE="2">EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is</FONT><FONT SIZE="2"> solely responsible for determining the appropriateness of using and distributing </FONT><FONT SIZE="2">the Program</FONT><FONT SIZE="2"> and assumes all risks associated with its exercise of rights under this Agreement</FONT><FONT SIZE="2">, including but not limited to the risks and costs of program errors, compliance with applicable laws, damage to or loss of data, </FONT><FONT SIZE="2">programs or equipment, and unavailability or interruption of operations</FONT><FONT SIZE="2">. </FONT><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2"><B>6. DISCLAIMER OF LIABILITY</B></FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2">EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES </FONT><FONT SIZE="2">(INCLUDING WITHOUT LIMITATION LOST PROFITS),</FONT><FONT SIZE="2"> HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.</FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"><B>7. GENERAL</B></FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2">If any provision of this Agreement is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this Agreement, and without further action by the parties hereto, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable.</FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2">If Recipient institutes patent litigation against a Contributor with respect to a patent applicable to software (including a cross-claim or counterclaim in a lawsuit), then any patent licenses granted by that Contributor to such Recipient under this Agreement shall terminate as of the date such litigation is filed. In addition, if Recipient institutes patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Program itself (excluding combinations of the Program with other software or hardware) infringes such Recipient's patent(s), then such Recipient's rights granted under Section 2(b) shall terminate as of the date such litigation is filed. </FONT><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2">All Recipient's rights under this Agreement shall terminate if it fails to comply with any of the material terms or conditions of this Agreement and does not cure such failure in a reasonable period of time after becoming aware of such noncompliance. If all Recipient's rights under this Agreement terminate, Recipient agrees to cease use and distribution of the Program as soon as reasonably practicable. However, Recipient's obligations under this Agreement and any licenses granted by Recipient relating to the Program shall continue and survive. </FONT><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2">Everyone is permitted to copy and distribute copies of this Agreement, but in order to avoid inconsistency the Agreement is copyrighted and may only be modified in the following manner. The Agreement Steward reserves the right to </FONT><FONT SIZE="2">publish new versions (including revisions) of this Agreement from time to </FONT><FONT SIZE="2">time. No one other than the Agreement Steward has the right to modify this Agreement. IBM is the initial Agreement Steward. IBM may assign the responsibility to serve as the Agreement Steward to a suitable separate entity. </FONT><FONT SIZE="2">Each new version of the Agreement will be given a distinguishing version number. The Program (including Contributions) may always be distributed subject to the version of the Agreement under which it was received. In addition, after a new version of the Agreement is published, Contributor may elect to distribute the Program (including its Contributions) under the new </FONT><FONT SIZE="2">version. </FONT><FONT SIZE="2">Except as expressly stated in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to the intellectual property of any Contributor under this Agreement, whether expressly, </FONT><FONT SIZE="2">by implication, estoppel or otherwise</FONT><FONT SIZE="2">.</FONT><FONT SIZE="2"> All rights in the Program not expressly granted under this Agreement are reserved.</FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2">This Agreement is governed by the laws of the State of New York and the intellectual property laws of the United States of America. No party to this Agreement will bring a legal action under this Agreement more than one year after the cause of action arose. Each party waives its rights to a jury trial in any resulting litigation.</FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"></FONT>
-
-</BODY>
-
-</HTML>
\ No newline at end of file
diff --git a/features/org.eclipse.sdk.tests/eclipse_update_120.jpg b/features/org.eclipse.sdk.tests/eclipse_update_120.jpg
deleted file mode 100644
index 68e3e02..0000000
--- a/features/org.eclipse.sdk.tests/eclipse_update_120.jpg
+++ /dev/null
Binary files differ
diff --git a/features/org.eclipse.sdk.tests/feature.properties b/features/org.eclipse.sdk.tests/feature.properties
deleted file mode 100644
index d3f8d6d..0000000
--- a/features/org.eclipse.sdk.tests/feature.properties
+++ /dev/null
@@ -1,124 +0,0 @@
-###############################################################################
-# Copyright (c) 2000, 2004 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Common Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/cpl-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 SDK Tests
-
-# "providerName" property - name of the company that provides the feature
-providerName=Eclipse.org
-
-# "updateSiteName" property - label for the update site
-updateSiteName=Eclipse.org update site
-
-# "description" property - description of the feature
-description=Eclipse SDK examples. Used in conjunction with Eclipse Project SDK.
-
-# "licenseURL" property - URL of the "Feature License"
-# do not translate value - just change to point to a locale-specific HTML page
-licenseURL=license.html
-
-# "license" property - text of the "Feature Update License"
-# should be plain text version of license agreement pointed to be "licenseURL"
-license=\
-ECLIPSE.ORG SOFTWARE USER AGREEMENT\n\
-15th June, 2004\n\
-\n\
-Usage Of Content\n\
-\n\
-ECLIPSE.ORG MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR\n\
-OTHER MATERIALS FOR OPEN SOURCE PROJECTS (COLLECTIVELY "CONTENT").\n\
-USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS\n\
-AGREEMENT AND/OR THE TERMS AND CONDITIONS OF LICENSE AGREEMENTS OR\n\
-NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU\n\
-AGREE THAT YOUR USE OF THE CONTENT IS GOVERNED BY THIS AGREEMENT\n\
-AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS\n\
-OR NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE\n\
-TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND CONDITIONS\n\
-OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED\n\
-BELOW, THEN YOU MAY NOT USE THE CONTENT.\n\
-\n\
-Applicable Licenses\n\
-\n\
-Unless otherwise indicated, all Content made available by Eclipse.org\n\
-is provided to you under the terms and conditions of the Common Public\n\
-License Version 1.0 ("CPL"). A copy of the CPL is provided with this\n\
-Content and is also available at http://www.eclipse.org/legal/cpl-v10.html.\n\
-For purposes of the CPL, "Program" will mean the Content.\n\
-\n\
-Content includes, but is not limited to, source code, object code,\n\
-documentation and other files maintained in the Eclipse.org CVS\n\
-repository ("Repository") in CVS modules ("Modules") and made available\n\
-as downloadable archives ("Downloads").\n\
-\n\
-Content may be apportioned into plug-ins ("Plug-ins"), plug-in fragments\n\
-("Fragments"), and features ("Features"). A Feature is a bundle of one or\n\
-more Plug-ins and/or Fragments and associated material. Files named\n\
-"feature.xml" may contain a list of the names and version numbers of the\n\
-Plug-ins and/or Fragments associated with a Feature. Plug-ins and Fragments\n\
-are located in directories named "plugins" and Features are located in\n\
-directories named "features".\n\
-\n\
-Features may also include other Features ("Included Features"). Files named\n\
-"feature.xml" may contain a list of the names and version numbers of\n\
-Included Features.\n\
-\n\
-The terms and conditions governing Plug-ins and Fragments should be\n\
-contained in files named "about.html" ("Abouts"). The terms and\n\
-conditions governing Features and Included Features should be contained\n\
-in files named "license.html" ("Feature Licenses"). Abouts and Feature\n\
-Licenses may be located in any directory of a Download or Module\n\
-including, but not limited to the following locations:\n\
-\n\
- - The top-level (root) directory\n\
- - Plug-in and Fragment directories\n\
- - Subdirectories of the directory named "src" of certain Plug-ins\n\
- - Feature directories\n\
-\n\
-Note: if a Feature made available by Eclipse.org is installed using the\n\
-Eclipse Update Manager, you must agree to a license ("Feature Update\n\
-License") during the installation process. If the Feature contains\n\
-Included Features, the Feature Update License should either provide you\n\
-with the terms and conditions governing the Included Features or inform\n\
-you where you can locate them. Feature Update Licenses may be found in\n\
-the "license" property of files named "feature.properties". Such Abouts,\n\
-Feature Licenses and Feature Update Licenses contain the terms and\n\
-conditions (or references to such terms and conditions) that govern your\n\
-use of the associated Content in that directory.\n\
-\n\
-THE ABOUTS, FEATURE LICENSES AND FEATURE UPDATE LICENSES MAY REFER\n\
-TO THE CPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS.\n\
-SOME OF THESE OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):\n\
-\n\
- - Eclipse Public License Version 1.0 (available at http://www.eclipse.org/legal/epl-v10.html)\n\
- - Apache Software License 1.1 (available at http://www.apache.org/licenses/LICENSE)\n\
- - IBM Public License 1.0 (available at http://oss.software.ibm.com/developerworks/opensource/license10.html)\n\
- - Metro Link Public License 1.00 (available at http://www.opengroup.org/openmotif/supporters/metrolink/license.html)\n\
- - Mozilla Public License Version 1.1 (available at http://www.mozilla.org/MPL/MPL-1.1.html)\n\
-\n\
-IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR\n\
-TO USE OF THE CONTENT. If no About, Feature License or Feature Update License\n\
-is provided, please contact Eclipse.org to determine what terms and conditions\n\
-govern that particular Content.\n\
-\n\
-Cryptography\n\
-\n\
-Content may contain encryption software. The country in which you are\n\
-currently may have restrictions on the import, possession, and use,\n\
-and/or re-export to another country, of encryption software. BEFORE\n\
-using any encryption software, please check the country's laws,\n\
-regulations and policies concerning the import, possession, or use,\n\
-and re-export of encryption software, to see if this is permitted.\n
-########### end of license property ##########################################
\ No newline at end of file
diff --git a/features/org.eclipse.sdk.tests/feature.xml b/features/org.eclipse.sdk.tests/feature.xml
deleted file mode 100644
index 49ea269..0000000
--- a/features/org.eclipse.sdk.tests/feature.xml
+++ /dev/null
@@ -1,108 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<feature
- id="org.eclipse.sdk.tests"
- label="%featureName"
- version="3.0.1"
- image= "eclipse_update_120.jpg"
- provider-name="%providerName">
-
- <description>
- %description
- </description>
-
- <license url="%licenseURL">
- %license
- </license>
-
- <url>
- <update
- url="http://update.eclipse.org/updates"
- label="%updateSiteName">
- </update>
- </url>
-
- <plugin id="org.eclipse.sdk.tests" version="0.0.0"/>
-
- <!-- Ant test plugins -->
-
- <plugin id="org.eclipse.ant.tests.core" version="0.0.0" />
- <plugin id="org.eclipse.ant.tests.ui" version="0.0.0" />
-
- <!-- Core test plugins -->
-
- <plugin id="org.eclipse.core.tests.harness" version="0.0.0" />
- <plugin id="org.eclipse.osgi.tests" version="0.0.0" />
- <plugin id="org.eclipse.core.tests.runtime" version="0.0.0" />
- <plugin id="org.eclipse.core.tests.resources" version="0.0.0" />
-
- <!-- JDT Core test plugins -->
-
- <plugin id="org.eclipse.jdt.core.tests.builder" version="0.0.0" />
- <plugin id="org.eclipse.jdt.core.tests.compiler" version="0.0.0" />
- <plugin id="org.eclipse.jdt.core.tests.model" version="0.0.0" />
-
- <!-- JDT Debug test plugins -->
-
- <plugin id="org.eclipse.jdt.debug.tests" version="0.0.0" />
-
-
- <!-- Help test plugin -->
-
- <plugin id="org.eclipse.help.tests" version="0.0.0" />
-
-
- <!-- JDT UI test plugins -->
-
- <plugin id="org.eclipse.jdt.ui.tests" version="0.0.0" />
- <plugin id="org.eclipse.jdt.ui.tests.refactoring" version="0.0.0" />
- <plugin id="org.eclipse.core.expressions.tests" version="0.0.0" />
- <plugin id="org.eclipse.ltk.core.refactoring.tests" version="0.0.0" />
- <plugin id="org.eclipse.ltk.ui.refactoring.tests" version="0.0.0" />
-
-
- <!-- Text test plugins -->
-
- <plugin id="org.eclipse.text.tests" version="0.0.0" />
- <plugin id="org.eclipse.jface.text.tests" version="0.0.0" />
- <plugin id="org.eclipse.core.filebuffers.tests" version="0.0.0" />
- <plugin id="org.eclipse.jdt.text.tests" version="0.0.0" />
-
-
- <!-- SWT test plugin -->
-
- <plugin id="org.eclipse.swt.tests" version="0.0.0" />
-
-
- <!-- UI test plugin -->
-
- <plugin id="org.eclipse.ui.tests" version="0.0.0" />
-
-
- <!-- Update test plugin -->
-
- <plugin id="org.eclipse.update.tests.core" version="0.0.0" />
-
- <!-- Releng test plugin -->
-
- <plugin id="org.eclipse.releng.tests" version="0.0.0" />
-
- <!-- Team test plugins -->
-
- <plugin id="org.eclipse.team.tests.cvs.core" version="0.0.0" />
- <plugin id="org.eclipse.team.tests.core" version="0.0.0" />
-
- <!-- Performance framework plugins -->
- <plugin id="org.eclipse.perfmsr.core" version="0.0.0" />
- <plugin id="org.eclipse.perfmsr.core.win32" version="0.0.0" />
- <plugin id="org.eclipse.perfmsr.ui" version="0.0.0" />
- <plugin id="org.eclipse.perfmsr.ui.client" version="0.0.0" />
-
-
- <!-- Test framework plugins -->
-
- <plugin id="org.eclipse.test" version="0.0.0" />
- <plugin id="org.eclipse.ant.optional.junit" version="0.0.0" fragment="true"/>
-
- <plugin id="org.eclipse.sdk.tests.source" version="0.0.0"/>
-
-</feature>
diff --git a/features/org.eclipse.sdk.tests/license.html b/features/org.eclipse.sdk.tests/license.html
deleted file mode 100644
index e7d8500..0000000
--- a/features/org.eclipse.sdk.tests/license.html
+++ /dev/null
@@ -1,72 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<html>
-<head>
-<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
-<title>Eclipse.org Software User Agreement</title>
-</head>
-
-<body lang="EN-US" link=blue vlink=purple>
-<h2>Eclipse.org Software User Agreement</h2>
-<p>15<sup>th</sup> June, 2004</p>
-
-<h3>Usage Of Content</h3>
-
-<p>ECLIPSE.ORG 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.</p>
-
-<h3>Applicable Licenses</h3>
-
-<p>Unless otherwise indicated, all Content made available by Eclipse.org is provided to you under the terms and conditions of the Common Public License Version 1.0
- ("CPL"). A copy of the CPL is provided with this Content and is also available at <a href="http://www.eclipse.org/legal/cpl-v10.html">http://www.eclipse.org/legal/cpl-v10.html</a>.
- For purposes of the CPL, "Program" will mean the Content.</p>
-
-<p>Content includes, but is not limited to, source code, object code, documentation and other files maintained in the Eclipse.org CVS repository ("Repository") in CVS
- modules ("Modules") and made available as downloadable archives ("Downloads").</p>
-
-<p>Content may be apportioned into plug-ins ("Plug-ins"), plug-in fragments ("Fragments"), and features ("Features"). A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material. Files named "feature.xml" may contain a list of the names and version numbers of the Plug-ins and/or Fragments associated with a Feature. Plug-ins and Fragments are located in directories
- named "plugins" and Features are located in directories named "features".</p>
-
-<p>Features may also include other Features ("Included Features"). Files named "feature.xml" may contain a list of the names and version numbers of Included Features.</p>
-
-<p>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:</p>
-
-<ul>
- <li>The top-level (root) directory</li>
- <li>Plug-in and Fragment directories</li>
- <li>Subdirectories of the directory named "src" of certain Plug-ins</li>
- <li>Feature directories</li>
-</ul>
-
-<p>Note: if a Feature made available by Eclipse.org is installed using the Eclipse Update Manager, 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".
-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.</p>
-
-<p>THE ABOUTS, FEATURE LICENSES AND FEATURE UPDATE LICENSES MAY REFER TO THE CPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS. SOME OF THESE
-OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):</p>
-
-<ul>
- <li>Eclipse Public License Version 1.0 (available at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>)</li>
- <li>Apache Software License 1.1 (available at <a href="http://www.apache.org/licenses/LICENSE">http://www.apache.org/licenses/LICENSE</a>)</li>
- <li>IBM Public License 1.0 (available at <a href="http://oss.software.ibm.com/developerworks/opensource/license10.html">http://oss.software.ibm.com/developerworks/opensource/license10.html</a>)</li>
- <li>Metro Link Public License 1.00 (available at <a href="http://www.opengroup.org/openmotif/supporters/metrolink/license.html">http://www.opengroup.org/openmotif/supporters/metrolink/license.html</a>)</li>
- <li>Mozilla Public License Version 1.1 (available at <a href="http://www.mozilla.org/MPL/MPL-1.1.html">http://www.mozilla.org/MPL/MPL-1.1.html</a>)</li>
-</ul>
-
-<p>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 Eclipse.org to determine what terms and conditions govern that particular Content.</p>
-
-<h3>Cryptography</h3>
-
-<p>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.</p>
-</body>
-</html>
diff --git a/features/org.eclipse.sdk.tests/rootfiles/cpl-v10.html b/features/org.eclipse.sdk.tests/rootfiles/cpl-v10.html
deleted file mode 100644
index 36aa208..0000000
--- a/features/org.eclipse.sdk.tests/rootfiles/cpl-v10.html
+++ /dev/null
@@ -1,125 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<HTML>
-<HEAD>
-<TITLE>Common Public License - v 1.0</TITLE>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-</HEAD>
-
-<BODY BGCOLOR="#FFFFFF" VLINK="#800000">
-
-
-<P ALIGN="CENTER"><B>Common Public License - v 1.0</B>
-<P><B></B><FONT SIZE="3"></FONT>
-<P><FONT SIZE="3"></FONT><FONT SIZE="2">THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.</FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"><B>1. DEFINITIONS</B></FONT>
-<P><FONT SIZE="2">"Contribution" means:</FONT>
-
-<UL><FONT SIZE="2">a) in the case of the initial Contributor, the initial code and documentation distributed under this Agreement, and<BR CLEAR="LEFT">
-b) in the case of each subsequent Contributor:</FONT></UL>
-
-
-<UL><FONT SIZE="2">i) changes to the Program, and</FONT></UL>
-
-
-<UL><FONT SIZE="2">ii) additions to the Program;</FONT></UL>
-
-
-<UL><FONT SIZE="2">where such changes and/or additions to the Program originate from and are distributed by that particular Contributor. </FONT><FONT SIZE="2">A Contribution 'originates' from a Contributor if it was added to the Program by such Contributor itself or anyone acting on such Contributor's behalf. </FONT><FONT SIZE="2">Contributions do not include additions to the Program which: (i) are separate modules of software distributed in conjunction with the Program under their own license agreement, and (ii) are not derivative works of the Program. </FONT></UL>
-
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2">"Contributor" means any person or entity that distributes the Program.</FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2">"Licensed Patents " mean patent claims licensable by a Contributor which are necessarily infringed by the use or sale of its Contribution alone or when combined with the Program. </FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2">"Program" means the Contributions distributed in accordance with this Agreement.</FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2">"Recipient" means anyone who receives the Program under this Agreement, including all Contributors.</FONT>
-<P><FONT SIZE="2"><B></B></FONT>
-<P><FONT SIZE="2"><B>2. GRANT OF RIGHTS</B></FONT>
-
-<UL><FONT SIZE="2"></FONT><FONT SIZE="2">a) </FONT><FONT SIZE="2">Subject to the terms of this Agreement, each Contributor hereby grants</FONT><FONT SIZE="2"> Recipient a non-exclusive, worldwide, royalty-free copyright license to</FONT><FONT SIZE="2" COLOR="#FF0000"> </FONT><FONT SIZE="2">reproduce, prepare derivative works of, publicly display, publicly perform, distribute and sublicense the Contribution of such Contributor, if any, and such derivative works, in source code and object code form.</FONT></UL>
-
-
-<UL><FONT SIZE="2"></FONT></UL>
-
-
-<UL><FONT SIZE="2"></FONT><FONT SIZE="2">b) Subject to the terms of this Agreement, each Contributor hereby grants </FONT><FONT SIZE="2">Recipient a non-exclusive, worldwide,</FONT><FONT SIZE="2" COLOR="#008000"> </FONT><FONT SIZE="2">royalty-free patent license under Licensed Patents to make, use, sell, offer to sell, import and otherwise transfer the Contribution of such Contributor, if any, in source code and object code form. This patent license shall apply to the combination of the Contribution and the Program if, at the time the Contribution is added by the Contributor, such addition of the Contribution causes such combination to be covered by the Licensed Patents. The patent license shall not apply to any other combinations which include the Contribution. No hardware per se is licensed hereunder. </FONT></UL>
-
-
-<UL><FONT SIZE="2"></FONT></UL>
-
-
-<UL><FONT SIZE="2">c) Recipient understands that although each Contributor grants the licenses to its Contributions set forth herein, no assurances are provided by any Contributor that the Program does not infringe the patent or other intellectual property rights of any other entity. Each Contributor disclaims any liability to Recipient for claims brought by any other entity based on infringement of intellectual property rights or otherwise. As a condition to exercising the rights and licenses granted hereunder, each Recipient hereby assumes sole responsibility to secure any other intellectual property rights needed, if any. For example, if a third party patent license is required to allow Recipient to distribute the Program, it is Recipient's responsibility to acquire that license before distributing the Program.</FONT></UL>
-
-
-<UL><FONT SIZE="2"></FONT></UL>
-
-
-<UL><FONT SIZE="2">d) Each Contributor represents that to its knowledge it has sufficient copyright rights in its Contribution, if any, to grant the copyright license set forth in this Agreement. </FONT></UL>
-
-
-<UL><FONT SIZE="2"></FONT></UL>
-
-<P><FONT SIZE="2"><B>3. REQUIREMENTS</B></FONT>
-<P><FONT SIZE="2"><B></B>A Contributor may choose to distribute the Program in object code form under its own license agreement, provided that:</FONT>
-
-<UL><FONT SIZE="2">a) it complies with the terms and conditions of this Agreement; and</FONT></UL>
-
-
-<UL><FONT SIZE="2">b) its license agreement:</FONT></UL>
-
-
-<UL><FONT SIZE="2">i) effectively disclaims</FONT><FONT SIZE="2"> on behalf of all Contributors all warranties and conditions, express and implied, including warranties or conditions of title and non-infringement, and implied warranties or conditions of merchantability and fitness for a particular purpose; </FONT></UL>
-
-
-<UL><FONT SIZE="2">ii) effectively excludes on behalf of all Contributors all liability for damages, including direct, indirect, special, incidental and consequential damages, such as lost profits; </FONT></UL>
-
-
-<UL><FONT SIZE="2">iii)</FONT><FONT SIZE="2"> states that any provisions which differ from this Agreement are offered by that Contributor alone and not by any other party; and</FONT></UL>
-
-
-<UL><FONT SIZE="2">iv) states that source code for the Program is available from such Contributor, and informs licensees how to obtain it in a reasonable manner on or through a medium customarily used for software exchange.</FONT><FONT SIZE="2" COLOR="#0000FF"> </FONT><FONT SIZE="2" COLOR="#FF0000"></FONT></UL>
-
-
-<UL><FONT SIZE="2" COLOR="#FF0000"></FONT><FONT SIZE="2"></FONT></UL>
-
-<P><FONT SIZE="2">When the Program is made available in source code form:</FONT>
-
-<UL><FONT SIZE="2">a) it must be made available under this Agreement; and </FONT></UL>
-
-
-<UL><FONT SIZE="2">b) a copy of this Agreement must be included with each copy of the Program. </FONT></UL>
-
-<P><FONT SIZE="2"></FONT><FONT SIZE="2" COLOR="#0000FF"><STRIKE></STRIKE></FONT>
-<P><FONT SIZE="2" COLOR="#0000FF"><STRIKE></STRIKE></FONT><FONT SIZE="2">Contributors may not remove or alter any copyright notices contained within the Program. </FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2">Each Contributor must identify itself as the originator of its Contribution, if any, in a manner that reasonably allows subsequent Recipients to identify the originator of the Contribution. </FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"><B>4. COMMERCIAL DISTRIBUTION</B></FONT>
-<P><FONT SIZE="2">Commercial distributors of software may accept certain responsibilities with respect to end users, business partners and the like. While this license is intended to facilitate the commercial use of the Program, the Contributor who includes the Program in a commercial product offering should do so in a manner which does not create potential liability for other Contributors. Therefore, if a Contributor includes the Program in a commercial product offering, such Contributor ("Commercial Contributor") hereby agrees to defend and indemnify every other Contributor ("Indemnified Contributor") against any losses, damages and costs (collectively "Losses") arising from claims, lawsuits and other legal actions brought by a third party against the Indemnified Contributor to the extent caused by the acts or omissions of such Commercial Contributor in connection with its distribution of the Program in a commercial product offering. The obligations in this section do not apply to any claims or Losses relating to any actual or alleged intellectual property infringement. In order to qualify, an Indemnified Contributor must: a) promptly notify the Commercial Contributor in writing of such claim, and b) allow the Commercial Contributor to control, and cooperate with the Commercial Contributor in, the defense and any related settlement negotiations. The Indemnified Contributor may participate in any such claim at its own expense.</FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2">For example, a Contributor might include the Program in a commercial product offering, Product X. That Contributor is then a Commercial Contributor. If that Commercial Contributor then makes performance claims, or offers warranties related to Product X, those performance claims and warranties are such Commercial Contributor's responsibility alone. Under this section, the Commercial Contributor would have to defend claims against the other Contributors related to those performance claims and warranties, and if a court requires any other Contributor to pay any damages as a result, the Commercial Contributor must pay those damages.</FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2" COLOR="#0000FF"></FONT>
-<P><FONT SIZE="2" COLOR="#0000FF"></FONT><FONT SIZE="2"><B>5. NO WARRANTY</B></FONT>
-<P><FONT SIZE="2">EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is</FONT><FONT SIZE="2"> solely responsible for determining the appropriateness of using and distributing </FONT><FONT SIZE="2">the Program</FONT><FONT SIZE="2"> and assumes all risks associated with its exercise of rights under this Agreement</FONT><FONT SIZE="2">, including but not limited to the risks and costs of program errors, compliance with applicable laws, damage to or loss of data, </FONT><FONT SIZE="2">programs or equipment, and unavailability or interruption of operations</FONT><FONT SIZE="2">. </FONT><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2"><B>6. DISCLAIMER OF LIABILITY</B></FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2">EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES </FONT><FONT SIZE="2">(INCLUDING WITHOUT LIMITATION LOST PROFITS),</FONT><FONT SIZE="2"> HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.</FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"><B>7. GENERAL</B></FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2">If any provision of this Agreement is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this Agreement, and without further action by the parties hereto, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable.</FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2">If Recipient institutes patent litigation against a Contributor with respect to a patent applicable to software (including a cross-claim or counterclaim in a lawsuit), then any patent licenses granted by that Contributor to such Recipient under this Agreement shall terminate as of the date such litigation is filed. In addition, if Recipient institutes patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Program itself (excluding combinations of the Program with other software or hardware) infringes such Recipient's patent(s), then such Recipient's rights granted under Section 2(b) shall terminate as of the date such litigation is filed. </FONT><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2">All Recipient's rights under this Agreement shall terminate if it fails to comply with any of the material terms or conditions of this Agreement and does not cure such failure in a reasonable period of time after becoming aware of such noncompliance. If all Recipient's rights under this Agreement terminate, Recipient agrees to cease use and distribution of the Program as soon as reasonably practicable. However, Recipient's obligations under this Agreement and any licenses granted by Recipient relating to the Program shall continue and survive. </FONT><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2">Everyone is permitted to copy and distribute copies of this Agreement, but in order to avoid inconsistency the Agreement is copyrighted and may only be modified in the following manner. The Agreement Steward reserves the right to </FONT><FONT SIZE="2">publish new versions (including revisions) of this Agreement from time to </FONT><FONT SIZE="2">time. No one other than the Agreement Steward has the right to modify this Agreement. IBM is the initial Agreement Steward. IBM may assign the responsibility to serve as the Agreement Steward to a suitable separate entity. </FONT><FONT SIZE="2">Each new version of the Agreement will be given a distinguishing version number. The Program (including Contributions) may always be distributed subject to the version of the Agreement under which it was received. In addition, after a new version of the Agreement is published, Contributor may elect to distribute the Program (including its Contributions) under the new </FONT><FONT SIZE="2">version. </FONT><FONT SIZE="2">Except as expressly stated in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to the intellectual property of any Contributor under this Agreement, whether expressly, </FONT><FONT SIZE="2">by implication, estoppel or otherwise</FONT><FONT SIZE="2">.</FONT><FONT SIZE="2"> All rights in the Program not expressly granted under this Agreement are reserved.</FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2">This Agreement is governed by the laws of the State of New York and the intellectual property laws of the United States of America. No party to this Agreement will bring a legal action under this Agreement more than one year after the cause of action arose. Each party waives its rights to a jury trial in any resulting litigation.</FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"></FONT>
-
-</BODY>
-
-</HTML>
\ No newline at end of file
diff --git a/features/org.eclipse.sdk.tests/rootfiles/notice.html b/features/org.eclipse.sdk.tests/rootfiles/notice.html
deleted file mode 100644
index e7d8500..0000000
--- a/features/org.eclipse.sdk.tests/rootfiles/notice.html
+++ /dev/null
@@ -1,72 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<html>
-<head>
-<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
-<title>Eclipse.org Software User Agreement</title>
-</head>
-
-<body lang="EN-US" link=blue vlink=purple>
-<h2>Eclipse.org Software User Agreement</h2>
-<p>15<sup>th</sup> June, 2004</p>
-
-<h3>Usage Of Content</h3>
-
-<p>ECLIPSE.ORG 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.</p>
-
-<h3>Applicable Licenses</h3>
-
-<p>Unless otherwise indicated, all Content made available by Eclipse.org is provided to you under the terms and conditions of the Common Public License Version 1.0
- ("CPL"). A copy of the CPL is provided with this Content and is also available at <a href="http://www.eclipse.org/legal/cpl-v10.html">http://www.eclipse.org/legal/cpl-v10.html</a>.
- For purposes of the CPL, "Program" will mean the Content.</p>
-
-<p>Content includes, but is not limited to, source code, object code, documentation and other files maintained in the Eclipse.org CVS repository ("Repository") in CVS
- modules ("Modules") and made available as downloadable archives ("Downloads").</p>
-
-<p>Content may be apportioned into plug-ins ("Plug-ins"), plug-in fragments ("Fragments"), and features ("Features"). A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material. Files named "feature.xml" may contain a list of the names and version numbers of the Plug-ins and/or Fragments associated with a Feature. Plug-ins and Fragments are located in directories
- named "plugins" and Features are located in directories named "features".</p>
-
-<p>Features may also include other Features ("Included Features"). Files named "feature.xml" may contain a list of the names and version numbers of Included Features.</p>
-
-<p>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:</p>
-
-<ul>
- <li>The top-level (root) directory</li>
- <li>Plug-in and Fragment directories</li>
- <li>Subdirectories of the directory named "src" of certain Plug-ins</li>
- <li>Feature directories</li>
-</ul>
-
-<p>Note: if a Feature made available by Eclipse.org is installed using the Eclipse Update Manager, 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".
-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.</p>
-
-<p>THE ABOUTS, FEATURE LICENSES AND FEATURE UPDATE LICENSES MAY REFER TO THE CPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS. SOME OF THESE
-OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):</p>
-
-<ul>
- <li>Eclipse Public License Version 1.0 (available at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>)</li>
- <li>Apache Software License 1.1 (available at <a href="http://www.apache.org/licenses/LICENSE">http://www.apache.org/licenses/LICENSE</a>)</li>
- <li>IBM Public License 1.0 (available at <a href="http://oss.software.ibm.com/developerworks/opensource/license10.html">http://oss.software.ibm.com/developerworks/opensource/license10.html</a>)</li>
- <li>Metro Link Public License 1.00 (available at <a href="http://www.opengroup.org/openmotif/supporters/metrolink/license.html">http://www.opengroup.org/openmotif/supporters/metrolink/license.html</a>)</li>
- <li>Mozilla Public License Version 1.1 (available at <a href="http://www.mozilla.org/MPL/MPL-1.1.html">http://www.mozilla.org/MPL/MPL-1.1.html</a>)</li>
-</ul>
-
-<p>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 Eclipse.org to determine what terms and conditions govern that particular Content.</p>
-
-<h3>Cryptography</h3>
-
-<p>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.</p>
-</body>
-</html>
diff --git a/features/org.eclipse.sdk/.project b/features/org.eclipse.sdk/.project
deleted file mode 100644
index 2e498c2..0000000
--- a/features/org.eclipse.sdk/.project
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.sdk</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- </buildSpec>
- <natures>
- </natures>
-</projectDescription>
diff --git a/features/org.eclipse.sdk/build.properties b/features/org.eclipse.sdk/build.properties
deleted file mode 100644
index 3b80fb6..0000000
--- a/features/org.eclipse.sdk/build.properties
+++ /dev/null
@@ -1,17 +0,0 @@
-###############################################################################
-# Copyright (c) 2000, 2004 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Common Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/cpl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-bin.includes=cpl-v10.html,eclipse_update_120.jpg,feature.xml,feature.properties,license.html
-
-generate.feature@org.eclipse.platform.source=org.eclipse.platform, plugin@org.eclipse.platform.doc.isv
-generate.feature@org.eclipse.jdt.source=org.eclipse.jdt, plugin@org.eclipse.jdt.doc.isv
-generate.feature@org.eclipse.pde.source=org.eclipse.pde
-
-root=../org.eclipse.platform/rootfiles,../org.eclipse.platform/configuration.files
\ No newline at end of file
diff --git a/features/org.eclipse.sdk/cpl-v10.html b/features/org.eclipse.sdk/cpl-v10.html
deleted file mode 100644
index 36aa208..0000000
--- a/features/org.eclipse.sdk/cpl-v10.html
+++ /dev/null
@@ -1,125 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<HTML>
-<HEAD>
-<TITLE>Common Public License - v 1.0</TITLE>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-</HEAD>
-
-<BODY BGCOLOR="#FFFFFF" VLINK="#800000">
-
-
-<P ALIGN="CENTER"><B>Common Public License - v 1.0</B>
-<P><B></B><FONT SIZE="3"></FONT>
-<P><FONT SIZE="3"></FONT><FONT SIZE="2">THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.</FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"><B>1. DEFINITIONS</B></FONT>
-<P><FONT SIZE="2">"Contribution" means:</FONT>
-
-<UL><FONT SIZE="2">a) in the case of the initial Contributor, the initial code and documentation distributed under this Agreement, and<BR CLEAR="LEFT">
-b) in the case of each subsequent Contributor:</FONT></UL>
-
-
-<UL><FONT SIZE="2">i) changes to the Program, and</FONT></UL>
-
-
-<UL><FONT SIZE="2">ii) additions to the Program;</FONT></UL>
-
-
-<UL><FONT SIZE="2">where such changes and/or additions to the Program originate from and are distributed by that particular Contributor. </FONT><FONT SIZE="2">A Contribution 'originates' from a Contributor if it was added to the Program by such Contributor itself or anyone acting on such Contributor's behalf. </FONT><FONT SIZE="2">Contributions do not include additions to the Program which: (i) are separate modules of software distributed in conjunction with the Program under their own license agreement, and (ii) are not derivative works of the Program. </FONT></UL>
-
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2">"Contributor" means any person or entity that distributes the Program.</FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2">"Licensed Patents " mean patent claims licensable by a Contributor which are necessarily infringed by the use or sale of its Contribution alone or when combined with the Program. </FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2">"Program" means the Contributions distributed in accordance with this Agreement.</FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2">"Recipient" means anyone who receives the Program under this Agreement, including all Contributors.</FONT>
-<P><FONT SIZE="2"><B></B></FONT>
-<P><FONT SIZE="2"><B>2. GRANT OF RIGHTS</B></FONT>
-
-<UL><FONT SIZE="2"></FONT><FONT SIZE="2">a) </FONT><FONT SIZE="2">Subject to the terms of this Agreement, each Contributor hereby grants</FONT><FONT SIZE="2"> Recipient a non-exclusive, worldwide, royalty-free copyright license to</FONT><FONT SIZE="2" COLOR="#FF0000"> </FONT><FONT SIZE="2">reproduce, prepare derivative works of, publicly display, publicly perform, distribute and sublicense the Contribution of such Contributor, if any, and such derivative works, in source code and object code form.</FONT></UL>
-
-
-<UL><FONT SIZE="2"></FONT></UL>
-
-
-<UL><FONT SIZE="2"></FONT><FONT SIZE="2">b) Subject to the terms of this Agreement, each Contributor hereby grants </FONT><FONT SIZE="2">Recipient a non-exclusive, worldwide,</FONT><FONT SIZE="2" COLOR="#008000"> </FONT><FONT SIZE="2">royalty-free patent license under Licensed Patents to make, use, sell, offer to sell, import and otherwise transfer the Contribution of such Contributor, if any, in source code and object code form. This patent license shall apply to the combination of the Contribution and the Program if, at the time the Contribution is added by the Contributor, such addition of the Contribution causes such combination to be covered by the Licensed Patents. The patent license shall not apply to any other combinations which include the Contribution. No hardware per se is licensed hereunder. </FONT></UL>
-
-
-<UL><FONT SIZE="2"></FONT></UL>
-
-
-<UL><FONT SIZE="2">c) Recipient understands that although each Contributor grants the licenses to its Contributions set forth herein, no assurances are provided by any Contributor that the Program does not infringe the patent or other intellectual property rights of any other entity. Each Contributor disclaims any liability to Recipient for claims brought by any other entity based on infringement of intellectual property rights or otherwise. As a condition to exercising the rights and licenses granted hereunder, each Recipient hereby assumes sole responsibility to secure any other intellectual property rights needed, if any. For example, if a third party patent license is required to allow Recipient to distribute the Program, it is Recipient's responsibility to acquire that license before distributing the Program.</FONT></UL>
-
-
-<UL><FONT SIZE="2"></FONT></UL>
-
-
-<UL><FONT SIZE="2">d) Each Contributor represents that to its knowledge it has sufficient copyright rights in its Contribution, if any, to grant the copyright license set forth in this Agreement. </FONT></UL>
-
-
-<UL><FONT SIZE="2"></FONT></UL>
-
-<P><FONT SIZE="2"><B>3. REQUIREMENTS</B></FONT>
-<P><FONT SIZE="2"><B></B>A Contributor may choose to distribute the Program in object code form under its own license agreement, provided that:</FONT>
-
-<UL><FONT SIZE="2">a) it complies with the terms and conditions of this Agreement; and</FONT></UL>
-
-
-<UL><FONT SIZE="2">b) its license agreement:</FONT></UL>
-
-
-<UL><FONT SIZE="2">i) effectively disclaims</FONT><FONT SIZE="2"> on behalf of all Contributors all warranties and conditions, express and implied, including warranties or conditions of title and non-infringement, and implied warranties or conditions of merchantability and fitness for a particular purpose; </FONT></UL>
-
-
-<UL><FONT SIZE="2">ii) effectively excludes on behalf of all Contributors all liability for damages, including direct, indirect, special, incidental and consequential damages, such as lost profits; </FONT></UL>
-
-
-<UL><FONT SIZE="2">iii)</FONT><FONT SIZE="2"> states that any provisions which differ from this Agreement are offered by that Contributor alone and not by any other party; and</FONT></UL>
-
-
-<UL><FONT SIZE="2">iv) states that source code for the Program is available from such Contributor, and informs licensees how to obtain it in a reasonable manner on or through a medium customarily used for software exchange.</FONT><FONT SIZE="2" COLOR="#0000FF"> </FONT><FONT SIZE="2" COLOR="#FF0000"></FONT></UL>
-
-
-<UL><FONT SIZE="2" COLOR="#FF0000"></FONT><FONT SIZE="2"></FONT></UL>
-
-<P><FONT SIZE="2">When the Program is made available in source code form:</FONT>
-
-<UL><FONT SIZE="2">a) it must be made available under this Agreement; and </FONT></UL>
-
-
-<UL><FONT SIZE="2">b) a copy of this Agreement must be included with each copy of the Program. </FONT></UL>
-
-<P><FONT SIZE="2"></FONT><FONT SIZE="2" COLOR="#0000FF"><STRIKE></STRIKE></FONT>
-<P><FONT SIZE="2" COLOR="#0000FF"><STRIKE></STRIKE></FONT><FONT SIZE="2">Contributors may not remove or alter any copyright notices contained within the Program. </FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2">Each Contributor must identify itself as the originator of its Contribution, if any, in a manner that reasonably allows subsequent Recipients to identify the originator of the Contribution. </FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"><B>4. COMMERCIAL DISTRIBUTION</B></FONT>
-<P><FONT SIZE="2">Commercial distributors of software may accept certain responsibilities with respect to end users, business partners and the like. While this license is intended to facilitate the commercial use of the Program, the Contributor who includes the Program in a commercial product offering should do so in a manner which does not create potential liability for other Contributors. Therefore, if a Contributor includes the Program in a commercial product offering, such Contributor ("Commercial Contributor") hereby agrees to defend and indemnify every other Contributor ("Indemnified Contributor") against any losses, damages and costs (collectively "Losses") arising from claims, lawsuits and other legal actions brought by a third party against the Indemnified Contributor to the extent caused by the acts or omissions of such Commercial Contributor in connection with its distribution of the Program in a commercial product offering. The obligations in this section do not apply to any claims or Losses relating to any actual or alleged intellectual property infringement. In order to qualify, an Indemnified Contributor must: a) promptly notify the Commercial Contributor in writing of such claim, and b) allow the Commercial Contributor to control, and cooperate with the Commercial Contributor in, the defense and any related settlement negotiations. The Indemnified Contributor may participate in any such claim at its own expense.</FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2">For example, a Contributor might include the Program in a commercial product offering, Product X. That Contributor is then a Commercial Contributor. If that Commercial Contributor then makes performance claims, or offers warranties related to Product X, those performance claims and warranties are such Commercial Contributor's responsibility alone. Under this section, the Commercial Contributor would have to defend claims against the other Contributors related to those performance claims and warranties, and if a court requires any other Contributor to pay any damages as a result, the Commercial Contributor must pay those damages.</FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2" COLOR="#0000FF"></FONT>
-<P><FONT SIZE="2" COLOR="#0000FF"></FONT><FONT SIZE="2"><B>5. NO WARRANTY</B></FONT>
-<P><FONT SIZE="2">EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is</FONT><FONT SIZE="2"> solely responsible for determining the appropriateness of using and distributing </FONT><FONT SIZE="2">the Program</FONT><FONT SIZE="2"> and assumes all risks associated with its exercise of rights under this Agreement</FONT><FONT SIZE="2">, including but not limited to the risks and costs of program errors, compliance with applicable laws, damage to or loss of data, </FONT><FONT SIZE="2">programs or equipment, and unavailability or interruption of operations</FONT><FONT SIZE="2">. </FONT><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2"><B>6. DISCLAIMER OF LIABILITY</B></FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2">EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES </FONT><FONT SIZE="2">(INCLUDING WITHOUT LIMITATION LOST PROFITS),</FONT><FONT SIZE="2"> HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.</FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"><B>7. GENERAL</B></FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2">If any provision of this Agreement is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this Agreement, and without further action by the parties hereto, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable.</FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2">If Recipient institutes patent litigation against a Contributor with respect to a patent applicable to software (including a cross-claim or counterclaim in a lawsuit), then any patent licenses granted by that Contributor to such Recipient under this Agreement shall terminate as of the date such litigation is filed. In addition, if Recipient institutes patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Program itself (excluding combinations of the Program with other software or hardware) infringes such Recipient's patent(s), then such Recipient's rights granted under Section 2(b) shall terminate as of the date such litigation is filed. </FONT><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2">All Recipient's rights under this Agreement shall terminate if it fails to comply with any of the material terms or conditions of this Agreement and does not cure such failure in a reasonable period of time after becoming aware of such noncompliance. If all Recipient's rights under this Agreement terminate, Recipient agrees to cease use and distribution of the Program as soon as reasonably practicable. However, Recipient's obligations under this Agreement and any licenses granted by Recipient relating to the Program shall continue and survive. </FONT><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2">Everyone is permitted to copy and distribute copies of this Agreement, but in order to avoid inconsistency the Agreement is copyrighted and may only be modified in the following manner. The Agreement Steward reserves the right to </FONT><FONT SIZE="2">publish new versions (including revisions) of this Agreement from time to </FONT><FONT SIZE="2">time. No one other than the Agreement Steward has the right to modify this Agreement. IBM is the initial Agreement Steward. IBM may assign the responsibility to serve as the Agreement Steward to a suitable separate entity. </FONT><FONT SIZE="2">Each new version of the Agreement will be given a distinguishing version number. The Program (including Contributions) may always be distributed subject to the version of the Agreement under which it was received. In addition, after a new version of the Agreement is published, Contributor may elect to distribute the Program (including its Contributions) under the new </FONT><FONT SIZE="2">version. </FONT><FONT SIZE="2">Except as expressly stated in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to the intellectual property of any Contributor under this Agreement, whether expressly, </FONT><FONT SIZE="2">by implication, estoppel or otherwise</FONT><FONT SIZE="2">.</FONT><FONT SIZE="2"> All rights in the Program not expressly granted under this Agreement are reserved.</FONT>
-<P><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2">This Agreement is governed by the laws of the State of New York and the intellectual property laws of the United States of America. No party to this Agreement will bring a legal action under this Agreement more than one year after the cause of action arose. Each party waives its rights to a jury trial in any resulting litigation.</FONT>
-<P><FONT SIZE="2"></FONT><FONT SIZE="2"></FONT>
-<P><FONT SIZE="2"></FONT>
-
-</BODY>
-
-</HTML>
\ No newline at end of file
diff --git a/features/org.eclipse.sdk/eclipse_update_120.jpg b/features/org.eclipse.sdk/eclipse_update_120.jpg
deleted file mode 100644
index 68e3e02..0000000
--- a/features/org.eclipse.sdk/eclipse_update_120.jpg
+++ /dev/null
Binary files differ
diff --git a/features/org.eclipse.sdk/feature.properties b/features/org.eclipse.sdk/feature.properties
deleted file mode 100644
index b46d29a..0000000
--- a/features/org.eclipse.sdk/feature.properties
+++ /dev/null
@@ -1,124 +0,0 @@
-###############################################################################
-# Copyright (c) 2000, 2004 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Common Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/cpl-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 Project SDK
-
-# "providerName" property - name of the company that provides the feature
-providerName=Eclipse.org
-
-# "updateSiteName" property - label for the update site
-updateSiteName=Eclipse.org update site
-
-# "description" property - description of the feature
-description=SDK for Eclipse.
-
-# "licenseURL" property - URL of the "Feature License"
-# do not translate value - just change to point to a locale-specific HTML page
-licenseURL=license.html
-
-# "license" property - text of the "Feature Update License"
-# should be plain text version of license agreement pointed to be "licenseURL"
-license=\
-ECLIPSE.ORG SOFTWARE USER AGREEMENT\n\
-15th June, 2004\n\
-\n\
-Usage Of Content\n\
-\n\
-ECLIPSE.ORG MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR\n\
-OTHER MATERIALS FOR OPEN SOURCE PROJECTS (COLLECTIVELY "CONTENT").\n\
-USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS\n\
-AGREEMENT AND/OR THE TERMS AND CONDITIONS OF LICENSE AGREEMENTS OR\n\
-NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU\n\
-AGREE THAT YOUR USE OF THE CONTENT IS GOVERNED BY THIS AGREEMENT\n\
-AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS\n\
-OR NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE\n\
-TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND CONDITIONS\n\
-OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED\n\
-BELOW, THEN YOU MAY NOT USE THE CONTENT.\n\
-\n\
-Applicable Licenses\n\
-\n\
-Unless otherwise indicated, all Content made available by Eclipse.org\n\
-is provided to you under the terms and conditions of the Common Public\n\
-License Version 1.0 ("CPL"). A copy of the CPL is provided with this\n\
-Content and is also available at http://www.eclipse.org/legal/cpl-v10.html.\n\
-For purposes of the CPL, "Program" will mean the Content.\n\
-\n\
-Content includes, but is not limited to, source code, object code,\n\
-documentation and other files maintained in the Eclipse.org CVS\n\
-repository ("Repository") in CVS modules ("Modules") and made available\n\
-as downloadable archives ("Downloads").\n\
-\n\
-Content may be apportioned into plug-ins ("Plug-ins"), plug-in fragments\n\
-("Fragments"), and features ("Features"). A Feature is a bundle of one or\n\
-more Plug-ins and/or Fragments and associated material. Files named\n\
-"feature.xml" may contain a list of the names and version numbers of the\n\
-Plug-ins and/or Fragments associated with a Feature. Plug-ins and Fragments\n\
-are located in directories named "plugins" and Features are located in\n\
-directories named "features".\n\
-\n\
-Features may also include other Features ("Included Features"). Files named\n\
-"feature.xml" may contain a list of the names and version numbers of\n\
-Included Features.\n\
-\n\
-The terms and conditions governing Plug-ins and Fragments should be\n\
-contained in files named "about.html" ("Abouts"). The terms and\n\
-conditions governing Features and Included Features should be contained\n\
-in files named "license.html" ("Feature Licenses"). Abouts and Feature\n\
-Licenses may be located in any directory of a Download or Module\n\
-including, but not limited to the following locations:\n\
-\n\
- - The top-level (root) directory\n\
- - Plug-in and Fragment directories\n\
- - Subdirectories of the directory named "src" of certain Plug-ins\n\
- - Feature directories\n\
-\n\
-Note: if a Feature made available by Eclipse.org is installed using the\n\
-Eclipse Update Manager, you must agree to a license ("Feature Update\n\
-License") during the installation process. If the Feature contains\n\
-Included Features, the Feature Update License should either provide you\n\
-with the terms and conditions governing the Included Features or inform\n\
-you where you can locate them. Feature Update Licenses may be found in\n\
-the "license" property of files named "feature.properties". Such Abouts,\n\
-Feature Licenses and Feature Update Licenses contain the terms and\n\
-conditions (or references to such terms and conditions) that govern your\n\
-use of the associated Content in that directory.\n\
-\n\
-THE ABOUTS, FEATURE LICENSES AND FEATURE UPDATE LICENSES MAY REFER\n\
-TO THE CPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS.\n\
-SOME OF THESE OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):\n\
-\n\
- - Eclipse Public License Version 1.0 (available at http://www.eclipse.org/legal/epl-v10.html)\n\
- - Apache Software License 1.1 (available at http://www.apache.org/licenses/LICENSE)\n\
- - IBM Public License 1.0 (available at http://oss.software.ibm.com/developerworks/opensource/license10.html)\n\
- - Metro Link Public License 1.00 (available at http://www.opengroup.org/openmotif/supporters/metrolink/license.html)\n\
- - Mozilla Public License Version 1.1 (available at http://www.mozilla.org/MPL/MPL-1.1.html)\n\
-\n\
-IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR\n\
-TO USE OF THE CONTENT. If no About, Feature License or Feature Update License\n\
-is provided, please contact Eclipse.org to determine what terms and conditions\n\
-govern that particular Content.\n\
-\n\
-Cryptography\n\
-\n\
-Content may contain encryption software. The country in which you are\n\
-currently may have restrictions on the import, possession, and use,\n\
-and/or re-export to another country, of encryption software. BEFORE\n\
-using any encryption software, please check the country's laws,\n\
-regulations and policies concerning the import, possession, or use,\n\
-and re-export of encryption software, to see if this is permitted.\n
-########### end of license property ##########################################
\ No newline at end of file
diff --git a/features/org.eclipse.sdk/feature.xml b/features/org.eclipse.sdk/feature.xml
deleted file mode 100644
index dd12df5..0000000
--- a/features/org.eclipse.sdk/feature.xml
+++ /dev/null
@@ -1,30 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<feature
- id="org.eclipse.sdk"
- label="%featureName"
- version="3.0.1"
- image= "eclipse_update_120.jpg"
- provider-name="%providerName">
-
- <description>
- %description
- </description>
-
- <license url="%licenseURL">
- %license
- </license>
-
- <url>
- <update label="%updateSiteName" url="http://update.eclipse.org/updates/3.0"/>
- <discovery label="%updateSiteName" url="http://update.eclipse.org/updates/3.0"/>
- </url>
-
- <includes id="org.eclipse.platform" version="0.0.0" />
- <includes id="org.eclipse.platform.source" version="0.0.0" />
- <includes id="org.eclipse.jdt" version="0.0.0" />
- <includes id="org.eclipse.jdt.source" version="0.0.0" />
- <includes id="org.eclipse.pde" version="0.0.0" />
- <includes id="org.eclipse.pde.source" version="0.0.0" />
- <plugin id="org.eclipse.sdk" version="0.0.0"/>
-
-</feature>
\ No newline at end of file
diff --git a/features/org.eclipse.sdk/license.html b/features/org.eclipse.sdk/license.html
deleted file mode 100644
index e7d8500..0000000
--- a/features/org.eclipse.sdk/license.html
+++ /dev/null
@@ -1,72 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<html>
-<head>
-<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
-<title>Eclipse.org Software User Agreement</title>
-</head>
-
-<body lang="EN-US" link=blue vlink=purple>
-<h2>Eclipse.org Software User Agreement</h2>
-<p>15<sup>th</sup> June, 2004</p>
-
-<h3>Usage Of Content</h3>
-
-<p>ECLIPSE.ORG 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.</p>
-
-<h3>Applicable Licenses</h3>
-
-<p>Unless otherwise indicated, all Content made available by Eclipse.org is provided to you under the terms and conditions of the Common Public License Version 1.0
- ("CPL"). A copy of the CPL is provided with this Content and is also available at <a href="http://www.eclipse.org/legal/cpl-v10.html">http://www.eclipse.org/legal/cpl-v10.html</a>.
- For purposes of the CPL, "Program" will mean the Content.</p>
-
-<p>Content includes, but is not limited to, source code, object code, documentation and other files maintained in the Eclipse.org CVS repository ("Repository") in CVS
- modules ("Modules") and made available as downloadable archives ("Downloads").</p>
-
-<p>Content may be apportioned into plug-ins ("Plug-ins"), plug-in fragments ("Fragments"), and features ("Features"). A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material. Files named "feature.xml" may contain a list of the names and version numbers of the Plug-ins and/or Fragments associated with a Feature. Plug-ins and Fragments are located in directories
- named "plugins" and Features are located in directories named "features".</p>
-
-<p>Features may also include other Features ("Included Features"). Files named "feature.xml" may contain a list of the names and version numbers of Included Features.</p>
-
-<p>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:</p>
-
-<ul>
- <li>The top-level (root) directory</li>
- <li>Plug-in and Fragment directories</li>
- <li>Subdirectories of the directory named "src" of certain Plug-ins</li>
- <li>Feature directories</li>
-</ul>
-
-<p>Note: if a Feature made available by Eclipse.org is installed using the Eclipse Update Manager, 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".
-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.</p>
-
-<p>THE ABOUTS, FEATURE LICENSES AND FEATURE UPDATE LICENSES MAY REFER TO THE CPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS. SOME OF THESE
-OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):</p>
-
-<ul>
- <li>Eclipse Public License Version 1.0 (available at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>)</li>
- <li>Apache Software License 1.1 (available at <a href="http://www.apache.org/licenses/LICENSE">http://www.apache.org/licenses/LICENSE</a>)</li>
- <li>IBM Public License 1.0 (available at <a href="http://oss.software.ibm.com/developerworks/opensource/license10.html">http://oss.software.ibm.com/developerworks/opensource/license10.html</a>)</li>
- <li>Metro Link Public License 1.00 (available at <a href="http://www.opengroup.org/openmotif/supporters/metrolink/license.html">http://www.opengroup.org/openmotif/supporters/metrolink/license.html</a>)</li>
- <li>Mozilla Public License Version 1.1 (available at <a href="http://www.mozilla.org/MPL/MPL-1.1.html">http://www.mozilla.org/MPL/MPL-1.1.html</a>)</li>
-</ul>
-
-<p>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 Eclipse.org to determine what terms and conditions govern that particular Content.</p>
-
-<h3>Cryptography</h3>
-
-<p>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.</p>
-</body>
-</html>