summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2006-08-22 11:33:11 (EDT)
committerEike Stepper2006-08-22 11:33:11 (EDT)
commitf05f9f9246042743709897e326525bce1029d2b3 (patch)
tree911d0dd6118a238591eef6dbb5aacb2bd0cb30fb
parent77a5b25e0d96d3ba47bd7c2ecddf7e288a7bf7d8 (diff)
downloadcdo-f05f9f9246042743709897e326525bce1029d2b3.zip
cdo-f05f9f9246042743709897e326525bce1029d2b3.tar.gz
cdo-f05f9f9246042743709897e326525bce1029d2b3.tar.bz2
This commit was manufactured by cvs2svn to create branch
'lazy_contents'.
-rw-r--r--plugins/.cvsignore1
-rw-r--r--plugins/org.eclipse.emf.cdo.doc/.classpath7
-rw-r--r--plugins/org.eclipse.emf.cdo.doc/.cvsignore2
-rw-r--r--plugins/org.eclipse.emf.cdo.doc/.project23
-rw-r--r--plugins/org.eclipse.emf.cdo.doc/META-INF/MANIFEST.MF9
-rw-r--r--plugins/org.eclipse.emf.cdo.doc/about.html42
-rw-r--r--plugins/org.eclipse.emf.cdo.doc/about.ini15
-rw-r--r--plugins/org.eclipse.emf.cdo.doc/about.mappings5
-rw-r--r--plugins/org.eclipse.emf.cdo.doc/about.properties46
-rw-r--r--plugins/org.eclipse.emf.cdo.doc/build.properties2
-rw-r--r--plugins/org.eclipse.emf.cdo.doc/build.xml137
-rw-r--r--plugins/org.eclipse.emf.cdo.doc/build/antJavadoc.sh132
-rw-r--r--plugins/org.eclipse.emf.cdo.doc/build/javadoc.xml.template96
-rw-r--r--plugins/org.eclipse.emf.cdo.doc/build/overview.html43
-rw-r--r--plugins/org.eclipse.emf.cdo.doc/copyright.txt8
-rw-r--r--plugins/org.eclipse.emf.cdo.doc/eclipse.gifbin1058 -> 0 bytes
-rw-r--r--plugins/org.eclipse.emf.cdo.doc/eclipse.pngbin3353 -> 0 bytes
-rw-r--r--plugins/org.eclipse.emf.cdo.doc/eclipse24.gifbin1328 -> 0 bytes
-rw-r--r--plugins/org.eclipse.emf.cdo.doc/eclipse32.gifbin1706 -> 0 bytes
-rw-r--r--plugins/org.eclipse.emf.cdo.doc/eclipse32.pngbin4594 -> 0 bytes
-rw-r--r--plugins/org.eclipse.emf.cdo.doc/eclipse48.gifbin2458 -> 0 bytes
-rw-r--r--plugins/org.eclipse.emf.cdo.doc/eclipse48.pngbin5529 -> 0 bytes
-rw-r--r--plugins/org.eclipse.emf.cdo.doc/eclipse_lg.gifbin12710 -> 0 bytes
-rw-r--r--plugins/org.eclipse.emf.cdo.doc/epl-v10.html319
-rw-r--r--plugins/org.eclipse.emf.cdo.doc/images/.cvsignore0
-rw-r--r--plugins/org.eclipse.emf.cdo.doc/license.html319
-rw-r--r--plugins/org.eclipse.emf.cdo.doc/plugin.properties33
-rw-r--r--plugins/org.eclipse.emf.cdo.doc/plugin.xml28
-rw-r--r--plugins/org.eclipse.emf.cdo.doc/references/.cvsignore0
-rw-r--r--plugins/org.eclipse.emf.cdo.doc/toc.xml6
-rw-r--r--plugins/org.eclipse.emf.cdo.doc/tutorials/.cvsignore0
-rw-r--r--plugins/org.eclipse.emf.cdo.examples.server/.classpath7
-rw-r--r--plugins/org.eclipse.emf.cdo.examples.server/.cvsignore5
-rw-r--r--plugins/org.eclipse.emf.cdo.examples.server/.project28
-rw-r--r--plugins/org.eclipse.emf.cdo.examples.server/.settings/org.eclipse.jdt.core.prefs256
-rw-r--r--plugins/org.eclipse.emf.cdo.examples.server/.settings/org.eclipse.jdt.ui.prefs19
-rw-r--r--plugins/org.eclipse.emf.cdo.examples.server/.settings/org.eclipse.pde.prefs12
-rw-r--r--plugins/org.eclipse.emf.cdo.examples.server/META-INF/MANIFEST.MF13
-rw-r--r--plugins/org.eclipse.emf.cdo.examples.server/META-INF/server.properties55
-rw-r--r--plugins/org.eclipse.emf.cdo.examples.server/META-INF/server.xml130
-rw-r--r--plugins/org.eclipse.emf.cdo.examples.server/about.html42
-rw-r--r--plugins/org.eclipse.emf.cdo.examples.server/build.properties13
-rw-r--r--plugins/org.eclipse.emf.cdo.examples.server/copyright.txt8
-rw-r--r--plugins/org.eclipse.emf.cdo.examples.server/epl-v10.html319
-rw-r--r--plugins/org.eclipse.emf.cdo.examples.server/initMysql.bat13
-rw-r--r--plugins/org.eclipse.emf.cdo.examples.server/launches/CDO Server.launch341
-rw-r--r--plugins/org.eclipse.emf.cdo.examples.server/license.html319
-rw-r--r--plugins/org.eclipse.emf.cdo.examples.server/plugin.properties2
-rw-r--r--plugins/org.eclipse.emf.cdo.examples.server/plugin.xml13
-rw-r--r--plugins/org.eclipse.emf.cdo.examples.server/src/org/eclipse/emf/cdo/examples/server/internal/CDOServerBackendInitializer.java29
-rw-r--r--plugins/org.eclipse.emf.cdo.examples.server/src/org/eclipse/emf/cdo/examples/server/internal/CDOServerPlugin.java100
-rw-r--r--plugins/org.eclipse.emf.cdo/.project22
-rw-r--r--plugins/org.eclipse.emf.cdo/META-INF/MANIFEST.MF8
-rw-r--r--plugins/org.eclipse.emf.cdo/about.html29
-rw-r--r--plugins/org.eclipse.emf.cdo/about.ini17
-rw-r--r--plugins/org.eclipse.emf.cdo/about.mappings6
-rw-r--r--plugins/org.eclipse.emf.cdo/about.properties12
-rw-r--r--plugins/org.eclipse.emf.cdo/build.properties11
-rw-r--r--plugins/org.eclipse.emf.cdo/eclipse32.gifbin1669 -> 0 bytes
-rw-r--r--plugins/org.eclipse.emf.cdo/eclipse32.pngbin4594 -> 0 bytes
-rw-r--r--plugins/org.eclipse.emf.cdo/license.html319
-rw-r--r--plugins/org.eclipse.emf.cdo/plugin.properties33
-rw-r--r--plugins/org.eclipse.emf.cdo/plugin.xml3
-rw-r--r--plugins/org.eclipse.net4j.tests/.classpath9
-rw-r--r--plugins/org.eclipse.net4j.tests/.cvsignore6
-rw-r--r--plugins/org.eclipse.net4j.tests/.project28
-rw-r--r--plugins/org.eclipse.net4j.tests/.settings/org.eclipse.jdt.core.prefs261
-rw-r--r--plugins/org.eclipse.net4j.tests/.settings/org.eclipse.jdt.ui.prefs19
-rw-r--r--plugins/org.eclipse.net4j.tests/META-INF/MANIFEST.MF23
-rw-r--r--plugins/org.eclipse.net4j.tests/META-INF/common.properties8
-rw-r--r--plugins/org.eclipse.net4j.tests/META-INF/embedded.xml91
-rw-r--r--plugins/org.eclipse.net4j.tests/META-INF/socketClient.xml85
-rw-r--r--plugins/org.eclipse.net4j.tests/META-INF/socketServer.xml90
-rw-r--r--plugins/org.eclipse.net4j.tests/about.html42
-rw-r--r--plugins/org.eclipse.net4j.tests/build.properties14
-rw-r--r--plugins/org.eclipse.net4j.tests/copyright.txt8
-rw-r--r--plugins/org.eclipse.net4j.tests/epl-v10.html319
-rw-r--r--plugins/org.eclipse.net4j.tests/license.html319
-rw-r--r--plugins/org.eclipse.net4j.tests/plugin.properties2
-rw-r--r--plugins/org.eclipse.net4j.tests/plugin.xml5
-rw-r--r--plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/AllSuites.java62
-rw-r--r--plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/AllTests.java16
-rw-r--r--plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/Net4jTestPlugin.java36
-rw-r--r--plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/SampleTest.java10
-rw-r--r--plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/SocketTest.java286
-rw-r--r--plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/TestContainer.java83
-rw-r--r--plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/old/ChannelImplTest.java763
-rw-r--r--plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/old/PoolTest.java724
-rw-r--r--plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/old/SelectorTest.java64
-rw-r--r--plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/old/SocketConnectorTest.java678
-rw-r--r--plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/protocol/Net4jTestProtocol.java47
-rw-r--r--plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/protocol/TestIndication.java39
-rw-r--r--plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/protocol/TestRequest.java40
-rw-r--r--plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/protocol/ValueHelper.java207
-rw-r--r--plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/util/BlockingDetector.java100
-rw-r--r--plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/util/ServiceInvoker.java61
-rw-r--r--plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/util/TestUtils.java46
-rw-r--r--plugins/org.eclipse.net4j.tests/test.xml94
-rw-r--r--plugins/org.eclipse.net4j.util/.classpath10
-rw-r--r--plugins/org.eclipse.net4j.util/.cvsignore5
-rw-r--r--plugins/org.eclipse.net4j.util/.project28
-rw-r--r--plugins/org.eclipse.net4j.util/.settings/org.eclipse.jdt.core.prefs256
-rw-r--r--plugins/org.eclipse.net4j.util/.settings/org.eclipse.jdt.ui.prefs19
-rw-r--r--plugins/org.eclipse.net4j.util/META-INF/MANIFEST.MF23
-rw-r--r--plugins/org.eclipse.net4j.util/about.html42
-rw-r--r--plugins/org.eclipse.net4j.util/build.properties17
-rw-r--r--plugins/org.eclipse.net4j.util/config/log4j.dtd166
-rw-r--r--plugins/org.eclipse.net4j.util/config/log4j.xml62
-rw-r--r--plugins/org.eclipse.net4j.util/copyright.txt8
-rw-r--r--plugins/org.eclipse.net4j.util/epl-v10.html319
-rw-r--r--plugins/org.eclipse.net4j.util/license.html319
-rw-r--r--plugins/org.eclipse.net4j.util/plugin.properties2
-rw-r--r--plugins/org.eclipse.net4j.util/plugin.xml7
-rw-r--r--plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/Argument.java85
-rw-r--r--plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/Assert.java63
-rw-r--r--plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/AssertionFailedError.java33
-rw-r--r--plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/BeanException.java53
-rw-r--r--plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/BeanHelper.java286
-rw-r--r--plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/BitHelper.java36
-rw-r--r--plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/DateHelper.java168
-rw-r--r--plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/DigestHelper.java89
-rw-r--r--plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/IOHelper.java683
-rw-r--r--plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/ImplementationError.java42
-rw-r--r--plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/MathHelper.java48
-rw-r--r--plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/Net4jException.java53
-rw-r--r--plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/Net4jUtilPlugin.java75
-rw-r--r--plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/Pair.java65
-rw-r--r--plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/StringHelper.java578
-rw-r--r--plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/ThreadInterruptedException.java53
-rw-r--r--plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/TimeOutException.java53
-rw-r--r--plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/UnderlyingIOException.java53
-rw-r--r--plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/eclipse/AbstractPlugin.java263
-rw-r--r--plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/eclipse/ClassLoaderFactory.java17
-rw-r--r--plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/eclipse/Element.java72
-rw-r--r--plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/eclipse/ElementRegistry.java56
-rw-r--r--plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/eclipse/ExamplePlugin.java46
-rw-r--r--plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/eclipse/ExecutableElement.java46
-rw-r--r--plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/eclipse/ExtensionConfigException.java53
-rw-r--r--plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/eclipse/ExtensionParser.java181
-rw-r--r--plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/eclipse/ListExtensionParser.java54
-rw-r--r--plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/eclipse/RegistryExtensionParser.java51
-rw-r--r--plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/eclipse/ResourcesHelper.java167
-rw-r--r--plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/fsm/IStateMachine.java41
-rw-r--r--plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/fsm/StateMachine.java159
-rw-r--r--plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/store/ISession.java23
-rw-r--r--plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/store/IStore.java7
-rw-r--r--plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/store/ITransaction.java6
-rw-r--r--plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/store/IUser.java7
-rw-r--r--plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/store/handlers/IQueryContentHandler.java6
-rw-r--r--plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/store/handlers/IQueryMembersHandler.java6
-rw-r--r--plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/thread/DeadlockDetector.java135
-rw-r--r--plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/thread/Worker.java356
-rw-r--r--plugins/org.eclipse.net4j/.project22
-rw-r--r--plugins/org.eclipse.net4j/META-INF/MANIFEST.MF8
-rw-r--r--plugins/org.eclipse.net4j/about.html22
-rw-r--r--plugins/org.eclipse.net4j/about.ini17
-rw-r--r--plugins/org.eclipse.net4j/about.mappings6
-rw-r--r--plugins/org.eclipse.net4j/about.properties11
-rw-r--r--plugins/org.eclipse.net4j/build.properties17
-rw-r--r--plugins/org.eclipse.net4j/eclipse.gifbin1058 -> 0 bytes
-rw-r--r--plugins/org.eclipse.net4j/eclipse.pngbin3353 -> 0 bytes
-rw-r--r--plugins/org.eclipse.net4j/eclipse24.gifbin1328 -> 0 bytes
-rw-r--r--plugins/org.eclipse.net4j/eclipse32.gifbin1706 -> 0 bytes
-rw-r--r--plugins/org.eclipse.net4j/eclipse32.pngbin4594 -> 0 bytes
-rw-r--r--plugins/org.eclipse.net4j/eclipse48.gifbin2458 -> 0 bytes
-rw-r--r--plugins/org.eclipse.net4j/eclipse48.pngbin5529 -> 0 bytes
-rw-r--r--plugins/org.eclipse.net4j/eclipse_lg.gifbin12710 -> 0 bytes
-rw-r--r--plugins/org.eclipse.net4j/license.html319
-rw-r--r--plugins/org.eclipse.net4j/plugin.properties33
-rw-r--r--plugins/org.eclipse.net4j/plugin.xml3
170 files changed, 0 insertions, 14151 deletions
diff --git a/plugins/.cvsignore b/plugins/.cvsignore
deleted file mode 100644
index 3a4edf6..0000000
--- a/plugins/.cvsignore
+++ /dev/null
@@ -1 +0,0 @@
-.project
diff --git a/plugins/org.eclipse.emf.cdo.doc/.classpath b/plugins/org.eclipse.emf.cdo.doc/.classpath
deleted file mode 100644
index 138dcf9..0000000
--- a/plugins/org.eclipse.emf.cdo.doc/.classpath
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path=""/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="output" path=""/>
-</classpath>
diff --git a/plugins/org.eclipse.emf.cdo.doc/.cvsignore b/plugins/org.eclipse.emf.cdo.doc/.cvsignore
deleted file mode 100644
index a32fe23..0000000
--- a/plugins/org.eclipse.emf.cdo.doc/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-bin
-*.jar \ No newline at end of file
diff --git a/plugins/org.eclipse.emf.cdo.doc/.project b/plugins/org.eclipse.emf.cdo.doc/.project
deleted file mode 100644
index 9b22cef..0000000
--- a/plugins/org.eclipse.emf.cdo.doc/.project
+++ /dev/null
@@ -1,23 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.emf.cdo.doc</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <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.jdt.core.javanature</nature>
- <nature>org.eclipse.pde.PluginNature</nature>
- </natures>
-</projectDescription>
diff --git a/plugins/org.eclipse.emf.cdo.doc/META-INF/MANIFEST.MF b/plugins/org.eclipse.emf.cdo.doc/META-INF/MANIFEST.MF
deleted file mode 100644
index 2696e5d..0000000
--- a/plugins/org.eclipse.emf.cdo.doc/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,9 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: %Plugin.name
-Bundle-SymbolicName: org.eclipse.emf.cdo.doc; singleton:=true
-Bundle-Version: 1.0.0.qualifier
-Bundle-Vendor: %Provider.name
-Bundle-Localization: plugin
-Require-Bundle: org.eclipse.help
-Eclipse-LazyStart: true
diff --git a/plugins/org.eclipse.emf.cdo.doc/about.html b/plugins/org.eclipse.emf.cdo.doc/about.html
deleted file mode 100644
index 373f387..0000000
--- a/plugins/org.eclipse.emf.cdo.doc/about.html
+++ /dev/null
@@ -1,42 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html>
-
- <head>
-
- <meta content="text/html; charset=ISO-8859-1"
- http-equiv="Content-Type"/>
-
- <title>About</title>
-
- </head>
-
- <body lang="EN-US">
-
- <h2>About This Content</h2>
-
- <p>Januaray 22, 2006</p>
-
- <h3>License</h3>
-
- <p>The Eclipse Foundation makes available all content in this
- plug-in (&quot;Content&quot;). Unless otherwise indicated below,
- the Content is provided to you under the terms and conditions of
- the Eclipse Public License Version 1.0 (&quot;EPL&quot;). A copy of
- the EPL is available at
- <a href="http://www.eclipse.org/legal/epl-v10.html">
- http://www.eclipse.org/legal/epl-v10.html</a>. For purposes of the
- EPL, &quot;Program&quot; will mean the Content.</p>
-
- <p>If you did not receive this Content directly from the Eclipse
- Foundation, the Content is being redistributed by another party
- (&quot;Redistributor&quot;) and different terms and conditions may
- apply to your use of any object code in the Content. Check the
- Redistributor&apos;s license that was provided with the Content. If
- no such license exists, contact the Redistributor. Unless otherwise
- indicated below, the terms and conditions of the EPL still apply to
- any source code in the Content.</p>
-
- </body>
-
-</html>
-
diff --git a/plugins/org.eclipse.emf.cdo.doc/about.ini b/plugins/org.eclipse.emf.cdo.doc/about.ini
deleted file mode 100644
index a9f0f29..0000000
--- a/plugins/org.eclipse.emf.cdo.doc/about.ini
+++ /dev/null
@@ -1,15 +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=%featureText
-
-# Property "featureImage" contains path to feature image (32x32)
-featureImage=eclipse32.gif
-
-# Property "appName" contains name of the application (translated)
-appName=%featureName
-
diff --git a/plugins/org.eclipse.emf.cdo.doc/about.mappings b/plugins/org.eclipse.emf.cdo.doc/about.mappings
deleted file mode 100644
index 7d795dc..0000000
--- a/plugins/org.eclipse.emf.cdo.doc/about.mappings
+++ /dev/null
@@ -1,5 +0,0 @@
-# This file 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@
diff --git a/plugins/org.eclipse.emf.cdo.doc/about.properties b/plugins/org.eclipse.emf.cdo.doc/about.properties
deleted file mode 100644
index a4e90a3..0000000
--- a/plugins/org.eclipse.emf.cdo.doc/about.properties
+++ /dev/null
@@ -1,46 +0,0 @@
-# /**
-# * <copyright>
-# *
-# * Copyright (c) 2002-2005 IBM Corporation and others.
-# * All rights reserved. This program and the accompanying materials
-# * are made available under the terms of the Eclipse Public License v1.0
-# * which accompanies this distribution, and is available at
-# * http://www.eclipse.org/legal/epl-v10.html
-# *
-# * Contributors:
-# * IBM - Initial API and implementation
-# *
-# * </copyright>
-# *
-# * $Id:
-# */
-
-# NLS_MESSAGEFORMAT_VAR
-
-# ==============================================================================
-# Do not change the properties between this line and the last line containing:
-# %%% END OF TRANSLATED PROPERTIES %%%
-# Instead, either redefine an existing property, or create a new property,
-# append it to the end of the file, and change the code to use the new name.
-# ==============================================================================
-
-# 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.
-
-featureName=CDO Documentation
-
-featureText=CDO Documentation\n\
-Version: {featureVersion}\n\
-Build id: {0}\n\
-\n\
-(c) Copyright Eclipse contributors and others. 2005. All rights reserved.\n\
-\n\
-Visit http://www.eclipse.org/emft/projects/cdo
-
-# ==============================================================================
-# %%% END OF TRANSLATED PROPERTIES %%%
-# The above properties have been shipped for translation.
-# ==============================================================================
diff --git a/plugins/org.eclipse.emf.cdo.doc/build.properties b/plugins/org.eclipse.emf.cdo.doc/build.properties
deleted file mode 100644
index cd5731b..0000000
--- a/plugins/org.eclipse.emf.cdo.doc/build.properties
+++ /dev/null
@@ -1,2 +0,0 @@
-# NLS_MESSAGEFORMAT_VAR
-custom = true
diff --git a/plugins/org.eclipse.emf.cdo.doc/build.xml b/plugins/org.eclipse.emf.cdo.doc/build.xml
deleted file mode 100644
index cc1f420..0000000
--- a/plugins/org.eclipse.emf.cdo.doc/build.xml
+++ /dev/null
@@ -1,137 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project name="org.eclipse.emf.cdo.doc" default="build.jars" basedir=".">
-
- <!-- Plug-in version. This is a HACK. Do not forget to update. -->
- <property name="pluginVersion" value="1.0.0"/>
-
- <property name="plugin" value="org.eclipse.emf.cdo"/>
- <property name="docPlugin" value="org.eclipse.emf.cdo.doc"/>
-
- <property name="filesToInclude" value="META-INF/,about.*,eclipse*.gif,eclipse*.png,eclipse_lg.gif,plugin.*,doc.zip,toc.xml,index/**"/>
-
- <!-- Compiler settings. -->
- <property name="javacFailOnError" value="false"/>
- <property name="javacDebugInfo" value="on"/>
- <property name="javacVerbose" value="true"/>
- <property name="compilerArg" value=""/>
-
- <echo message="Set javacSource and javacTarget = 1.5"/>
- <property name="javacSource" value="1.5" />
- <property name="javacTarget" value="1.5" />
-
- <path id="bc">
- <fileset dir="${java.home}/lib">
- <include name="*.jar" />
- </fileset>
- </path>
- <property name="bootclasspath" refid="bc" />
-
- <!-- new 060508 to make build work when using JDK1.5 source/target -->
- <echo message="Set J2SE-1.5 = ${bootclasspath}"/>
- <property name="J2SE-1.5" value="${bootclasspath}"/>
- <condition property="bundleBootClasspath" value="${J2SE-1.5}"><isset property="J2SE-1.5"/></condition>
- <condition property="bundleJavacSource" value="1.5"><isset property="J2SE-1.5"/></condition>
- <condition property="bundleJavacTarget" value="1.5"><isset property="J2SE-1.5"/></condition>
-
- <property name="basews" value="${ws}"/>
- <property name="baseos" value="${os}"/>
- <property name="basearch" value="${arch}"/>
- <property name="basenl" value="${nl}"/>
-
- <target name="init" depends="properties">
- <condition property="pluginTemp" value="${buildTempFolder}/plugins">
- <isset property="buildTempFolder"/>
- </condition>
- <property name="pluginTemp" value="${basedir}"/>
- <condition property="build.result.folder" value="${pluginTemp}/${docPlugin}">
- <isset property="buildTempFolder"/>
- </condition>
- <property name="build.result.folder" value="${basedir}"/>
- <property name="temp.folder" value="${basedir}/temp.folder"/>
- <property name="plugin.destination" value="${basedir}"/>
- </target>
-
- <target name="properties" if="eclipse.running">
- <property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"/>
- </target>
-
- <target name="build.update.jar" depends="init" description="Build the plug-in: ${plugin} for an update site.">
- <delete dir="${temp.folder}"/>
- <mkdir dir="${temp.folder}"/>
- <antcall target="build.jars"/>
- <antcall target="gather.bin.parts">
- <param name="destination.temp.folder" value="${temp.folder}/"/>
- </antcall>
- <zip destfile="${plugin.destination}/${docPlugin}_${pluginVersion}.${forceContextQualifier}.jar" basedir="${temp.folder}/${docPlugin}_${pluginVersion}.${forceContextQualifier}" filesonly="false" whenempty="skip" update="false"/>
- <delete dir="${temp.folder}"/>
- </target>
-
- <target name="build.jars" depends="init" description="Build all the jars for the plug-in: ${docPlugin}.">
- <!-- Execute a shell script that will create an ant javadoc script and then run it for us -->
- <exec executable="sh">
- <arg value="build/antJavadoc.sh"/>
- <arg value="${eclipse.home}/../eclipse"/>
- </exec>
-
- <antcall target="build.index"/>
-
- <!-- Zip up all of the documentation artifacts - references(including javadoc), images, tutorials, etc. -->
- <zip destfile="doc.zip" compress="true">
- <!-- Add new folders for documentation zip here. -->
- <zipfileset dir="references" prefix="references" excludes="**/impl,**/impl/**"/>
- <zipfileset dir="images" prefix="images"/>
- <zipfileset dir="tutorials" prefix="tutorials"/>
- </zip>
- </target>
-
- <target name="build.index" depends="init" description="Builds search index for the plug-in" if="eclipse.running">
- <help.buildHelpIndex manifest="plugin.xml" destination="."/>
- </target>
-
- <target name="build.sources" depends="init">
- </target>
-
- <target name="gather.bin.parts" depends="init" if="destination.temp.folder">
- <mkdir dir="${destination.temp.folder}/${docPlugin}_${pluginVersion}.${forceContextQualifier}"/>
- <copy todir="${destination.temp.folder}/${docPlugin}_${pluginVersion}.${forceContextQualifier}" failonerror="true" overwrite="false">
- <fileset dir="${basedir}" includes="${filesToInclude}"/>
- </copy>
- <eclipse.versionReplacer
- path="${destination.temp.folder}/${docPlugin}_${pluginVersion}.${forceContextQualifier}"
- version="${pluginVersion}.${forceContextQualifier}"/>
- </target>
-
- <target name="build.zips" depends="init">
- </target>
-
- <target name="gather.sources" depends="init" if="destination.temp.folder">
- </target>
-
- <target name="gather.logs" depends="init" if="destination.temp.folder">
- </target>
-
- <target name="clean" depends="init" description="Clean the plug-in: ${docPlugin} of all the zips, jars and logs created.">
- <delete file="${plugin.destination}/${docPlugin}_${pluginVersion}.${forceContextQualifier}.jar"/>
- <delete file="${plugin.destination}/${docPlugin}_${pluginVersion}.${forceContextQualifier}.zip"/>
- <delete dir="${temp.folder}"/>
- </target>
-
- <target name="zip.plugin" depends="init" description="Create a zip containing all the elements for the plug-in: ${docPlugin}.">
- <delete dir="${temp.folder}"/>
- <mkdir dir="${temp.folder}"/>
- <antcall target="build.jars"/>
- <antcall target="build.sources"/>
- <antcall target="gather.bin.parts">
- <param name="destination.temp.folder" value="${temp.folder}/"/>
- </antcall>
- <antcall target="gather.sources">
- <param name="destination.temp.folder" value="${temp.folder}/"/>
- </antcall>
- <delete>
- <fileset dir="${temp.folder}" includes="**/*.bin.log" />
- </delete>
- <zip destfile="${plugin.destination}/${docPlugin}_${pluginVersion}.${forceContextQualifier}.zip" basedir="${temp.folder}" filesonly="true" whenempty="skip" update="false"/>
- <delete dir="${temp.folder}"/>
- </target>
-
-</project>
diff --git a/plugins/org.eclipse.emf.cdo.doc/build/antJavadoc.sh b/plugins/org.eclipse.emf.cdo.doc/build/antJavadoc.sh
deleted file mode 100644
index 951912b..0000000
--- a/plugins/org.eclipse.emf.cdo.doc/build/antJavadoc.sh
+++ /dev/null
@@ -1,132 +0,0 @@
-#!/bin/sh
-
-# BEGIN CUSTOMIZATIONS
-
-# The plugin name
-pluginName="org.eclipse.emf.cdo";
-
-# string labels for javadoc content
-windowTitle="CDO Javadoc";
-groupTitle="CDO";
-
-# files to exclude from javadoc process - use Ant syntax
-javadocExclusions="<exclude name=\"**/internal/**\"/> <exclude name=\"**/examples/**\"/> <exclude name=\"**/tests/**\"/>";
-
-# use 1.5
-export JAVA_HOME=/opt/sun-java2-5.0
-
-# END CUSTOMIZATIONS
-
-##########################################################################
-
-debug=0; if [ $debug -gt 0 ]; then echo "[antJd] debug: "$debug; fi
-
-if [ "x"$ANT_HOME = "x" ]; then export ANT_HOME=/opt/apache-ant-1.6; fi
-if [ "x"$JAVA_HOME = "x" ]; then export JAVA_HOME=/opt/ibm-java2-1.4; fi
-export PATH=${PATH}:${ANT_HOME}/bin
-
-# current directory - all but the name of this script, no trailing slash
-currentPath=$PWD"/"$0; currentPath=${currentPath%/*}; if [ $debug -gt 0 ]; then echo "[antJd] currentPath: "$currentPath; fi
-
-# path to $buildID/eclipse/plugins, no trailing slash
-pluginPath=${currentPath%/$pluginName*}; if [ $debug -gt 0 ]; then echo "[antJd] pluginName: "$pluginName; echo "[antJd] pluginPath: "$pluginPath; fi
-
-# ant script to create and then execute
-antScript=$currentPath"/javadoc.xml"; if [ $debug -gt 0 ]; then echo "[antJd] antScript: "$antScript; fi
-
-# The eclipse directory
-eclipseDir=`cd $1; echo $PWD`; if [ $debug -gt 0 ]; then echo "[antJd] eclipseDir: "$eclipseDir; fi
-
-# The destination directory
-destDir=$currentPath/../references/javadoc; mkdir -p $destDir; destDir=`cd $destDir; echo $PWD`; # resolve relative path
-if [ $debug -gt 0 ]; then echo "[antJd] destDir: "$destDir; fi
-
-hasToken=`grep -c "@plugin@" $antScript".template"`;
-if [ $hasToken -gt 0 ]; then
- srcDir=$pluginPath/$pluginName.source/src; if [ $debug -gt 0 ]; then echo "[antJd] srcDir: "$srcDir; fi
- if [ -d "$srcDir" ]; then
- if [ `find $srcDir -name "*.java" | grep -c .` -eq 0 ]; then # must unpack zips first
- if [ $debug -gt 0 ]; then echo "[antJd] Unpacking *src.zip"; fi
- for f in `find $srcDir -name "*src.zip"`; do
- if [ $debug -gt 1 ]; then echo "[antJd] Unpack $f"; fi
- unzip -q -d $srcDir $f;
- done
- fi
- if [ $debug -gt 0 ]; then echo "[antJd] *.java in srcDir: "; echo "-----------------"; echo `find $srcDir -type f -name '*.java'`; echo "-----------------"; fi
- packages=`find $srcDir -type f -name '*.java' -exec grep -e '^package .*;' {} \; | sed -e 's/^package *\(.*\);/\1/' | sed -e 's/[ ]*//g' | dos2unix | sort | uniq | xargs | sed -e 's/ /:/g'`;
- if [ $debug -gt 1 ]; then echo "[antJd] packages1: "$packages; fi
- packages=`echo $packages | sed -e 's/\//\\\\\\//g' | sed -e 's/\./\\\\\./g'`; # slash escape
- if [ $debug -gt 1 ]; then echo "[antJd] packages2: "$packages; fi
- cat $antScript.template | sed -e "s/\@plugin\@/$packages/g" > $antScript.template.tmp;
- else
- echo "[antJd] ERROR! "$srcDir" does not exist!";
- exit 1;
- fi
-else
- echo "[antJd] ERROR! "$currentPath"/javadoc.xml.template does not contain token @plugin@!";
- exit 1;
-fi
-
-# Finds plugins in the Workspace:
-pluginDirs=`find $pluginPath -name "${pluginName}*" -maxdepth 1 -type d -printf '%T@ %p\n' | sort -n | cut -f2 -d' '`;
-if [ $debug -gt 0 ]; then
- echo "[antJd] pluginDirs:";
- for pluginDir in $pluginDirs; do echo "[antJd] "$pluginDir; done
-fi
-
-### TODO?: missing emf/sdo/xsd plugins in $eclipseDir - need to copy them over or reference source so that all classes/packages (and thus @links) can be resolved
-
-# All the jars in the plugins directory
-classpath="."`find $eclipseDir/plugins -name "*.jar" -printf ":%p"`; if [ $debug -gt 0 ]; then echo "[antJd] classpath: "$classpath; fi
-
-# Calculates the packagesets and the calls to copyDocFiles
-packagesets="";
-copydocfiles="";
-for pluginDir in $pluginDirs; do
- pluginDir=`echo $pluginDir | sed -e 's/\/runtime$//g'`;
- srcDir=$pluginDir/src;
- if [ $debug -gt 0 ]; then echo "[antJd] srcDir: "$srcDir; fi
- if [ -d "$srcDir" ]; then
- # define what to include when javadoc'ing here:
- packagesets=$packagesets"<packageset dir=\"$srcDir\"> ";
- packagesets=$packagesets"<exclude name=\"$srcDir/**/doc-files/**\"/> ";
- packagesets=$packagesets""$javadocExclusions;
- packagesets=$packagesets"</packageset>";
- copydocfiles=$copydocfiles"<copyDocFiles pluginDir=\"$pluginDir\"/>";
- fi
-done
-if [ $debug -gt 0 ]; then
- echo "[antJd] packagesets:"; echo $packagesets;
- echo "[antJd] copydocfiles:"; echo $copydocfiles;
-fi
-
-# Finds the proper org.eclipse.platform.doc.isv jar
-docjar=`find $eclipseDir/plugins/ -name "org.eclipse.platform.doc.isv*.jar" -printf "%f"`; if [ $debug -gt 1 ]; then echo "[antJd] docjar: "$docjar; fi
-
-if [ -f $antScript.template ]; then
- true;
-else
- cp $antScript.template $antScript.template.tmp;
-fi
-
-# do replacements in template
-if [ $debug -gt 1 ]; then echo "[antJd] Replace @packagesets@ in the template ..."; fi
-packagesets=`echo $packagesets | sed -e 's/\//\\\\\\//g' | sed -e 's/\./\\\\\./g'`;
-sed -e "s/\@packagesets\@/${packagesets}/g" $antScript.template.tmp > $antScript.template.tmp2;
-
-if [ $debug -gt 1 ]; then echo "[antJd] Replace @copydocfiles@ in the template ..."; fi
-copydocfiles=`echo $copydocfiles | sed -e 's/\//\\\\\\//g' | sed -e 's/\./\\\\\./g'`;
-sed -e "s/\@copydocfiles\@/${copydocfiles}/g" $antScript.template.tmp2 > $antScript;
-
-#run ant to do javadoc build
-ant -f $antScript \
- -DdestDir="$destDir" \
- -Dclasspath="$classpath" \
- -DeclipseDir="$eclipseDir" \
- -Ddocjar="$docjar" \
- -DwindowTitle="$windowTitle" \
- -DgroupTitle="$groupTitle" \
- -Doverview="$currentPath/overview.html";
-
-# Clean up templates
-rm -f $antScript $antScript.template.tmp $antScript.template.tmp2;
diff --git a/plugins/org.eclipse.emf.cdo.doc/build/javadoc.xml.template b/plugins/org.eclipse.emf.cdo.doc/build/javadoc.xml.template
deleted file mode 100644
index f79c09c..0000000
--- a/plugins/org.eclipse.emf.cdo.doc/build/javadoc.xml.template
+++ /dev/null
@@ -1,96 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project name="Plugin Javadoc" default="javadoc">
- <property name="destDir" value="doc"/>
- <property name="classpath" value="bin"/>
- <property name="overview" value="build/overview.html"/>
- <property name="eclipseDir" value="."/>
- <property name="docjar" value="org.eclipse.platform.doc.isv.jar"/>
-
- <!-- other properties that must be passed to this script include:
- windowTitle
- groupTitle
- -->
-
- <property environment="env"/>
- <property name="javaHome" value="${env.JAVA_HOME}"/>
-
- <property name="javadoc.link.location" value="${eclipseDir}/javadoc"/>
- <available property="platformJavadocExists" file="${javadoc.link.location}/platform/"/>
-
- <!-- TODO Enable linking to the platform javadoc -->
- <!-- <target name="extractPlatformJavadoc" unless="platformJavadocExists">
- <exec executable="find">
- <arg value="${eclipseDir}/.."/>
- <arg value="-type"/>
- <arg value="d"/>
- <arg value="-name"/>
- <arg value="javadoc"/>
- </exec>
- <unzip src="${eclipseDir}/@docjar@" dest="${javadoc.link.location}/platform/"/>
- </target> -->
-
- <!-- TODO Enable linking to the platform javadoc -->
- <!-- <target name="javadoc" depends="extractPlatformJavadoc"> -->
-
- <target name="javadoc">
- <javadoc
- destdir="${destDir}"
- classpath="${classpath}"
- overview="${overview}"
-
- windowtitle="${windowTitle}"
- footer="Copyright 2006 IBM Corporation and others.&lt;br&gt; All Rights Reserved."
-
- access="protected"
- additionalparam="-breakiterator -tag model:X -tag generated:X -tag ordered:X"
- author="false"
- breakiterator="true"
- charset="UTF-8"
- docencoding="UTF-8"
- nodeprecated="false"
- nodeprecatedlist="false"
- noindex="false"
- nonavbar="false"
- notree="false"
- source="1.5"
- splitindex="true"
- use="true"
- version="true">
- <arg value="-J-Xmx180m"/>
-
- <link offline="true" href="http://java.sun.com/j2se/1.4/docs/api/" packagelistLoc="${javaHome}/docs/api/"/>
- <!-- TODO Enable link to platform documentation -->
- <!-- <link offline="true" href="/help/topic/org.eclipse.platform.doc.isv/reference/api/" packagelistLoc="${javadoc.link.location}/platform/reference/api/"/> -->
-
- <tag name="ignore" description="ignore" enabled="false"/>
- <tag name="generated" description="ignore" enabled="false"/>
- <tag name="model" description="ignore" enabled="false"/>
- <tag name="modifiable" description="ignore" enabled="false"/>
- <tag name="extends" description="ignore" enabled="false"/>
- <tag name="implements" description="ignore" enabled="false"/>
- <tag name="ordered" description="ignore" enabled="false"/>
-
- <!-- If you add a @ plugin @ below, don't forget to update the antjavadoc.sh file -->
-
- <group title="${groupTitle}" packages="@plugin@"/>
-
- <!-- If you add a @ plugin @ above, don't forget to update the antjavadoc.sh file -->
-
- @packagesets@
-
- </javadoc>
-
- <!-- make sure the doc-files are copied -->
- <macrodef name="copyDocFiles">
- <attribute name="pluginDir"/>
- <sequential>
- <copy todir="${destDir}" failonerror="false">
- <fileset dir="@{pluginDir}/src" includes="**/doc-files/**"/>
- </copy>
- </sequential>
- </macrodef>
-
- @copydocfiles@
-
- </target>
-</project> \ No newline at end of file
diff --git a/plugins/org.eclipse.emf.cdo.doc/build/overview.html b/plugins/org.eclipse.emf.cdo.doc/build/overview.html
deleted file mode 100644
index 2c3275e..0000000
--- a/plugins/org.eclipse.emf.cdo.doc/build/overview.html
+++ /dev/null
@@ -1,43 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<!--
-/**
- * <copyright>
- *
- * Copyright (c) 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM - Initial API and implementation
- *
- * </copyright>
- *
- * $Id: overview.html,v 1.1 2006-05-29 21:09:30 nickb Exp $
- */
--->
-</head>
-<meta http-equiv="Content-Type"
-content="text/html; charset=utf-8" />
-<body bgcolor="white">
-<!--
-This plug-in provides
-an <a href="org/eclipse/cdo/helper/package-summary.html#details">API</a>
-for cdo.
--->
-<!-- The summary links point here when the contents are "copied". -->
-<!--
-<a name="details"></a>
-Please refer to
-the
-<a href="org/eclipse/cdo/helper/package-summary.html#details">org.eclipse.emf.cdo.helper</a>
-and
-<a href="org/eclipse/cdo/parser/package-summary.html#details">org.eclipse.emf.cdo.parser</a>
-package documentation for API details.
--->
-</body>
-</html>
diff --git a/plugins/org.eclipse.emf.cdo.doc/copyright.txt b/plugins/org.eclipse.emf.cdo.doc/copyright.txt
deleted file mode 100644
index 7d67d89..0000000
--- a/plugins/org.eclipse.emf.cdo.doc/copyright.txt
+++ /dev/null
@@ -1,8 +0,0 @@
-Copyright (c) 2004, 2005, 2006 Eike Stepper, Fuggerstr. 39, 10777 Berlin, Germany.
-All rights reserved. This program and the accompanying materials
-are made available under the terms of the Eclipse Public License v1.0
-which accompanies this distribution, and is available at
-http://www.eclipse.org/legal/epl-v10.html
-
-Contributors:
- Eike Stepper - initial API and implementation \ No newline at end of file
diff --git a/plugins/org.eclipse.emf.cdo.doc/eclipse.gif b/plugins/org.eclipse.emf.cdo.doc/eclipse.gif
deleted file mode 100644
index bdc2912..0000000
--- a/plugins/org.eclipse.emf.cdo.doc/eclipse.gif
+++ /dev/null
Binary files differ
diff --git a/plugins/org.eclipse.emf.cdo.doc/eclipse.png b/plugins/org.eclipse.emf.cdo.doc/eclipse.png
deleted file mode 100644
index 7397524..0000000
--- a/plugins/org.eclipse.emf.cdo.doc/eclipse.png
+++ /dev/null
Binary files differ
diff --git a/plugins/org.eclipse.emf.cdo.doc/eclipse24.gif b/plugins/org.eclipse.emf.cdo.doc/eclipse24.gif
deleted file mode 100644
index fbb1d47..0000000
--- a/plugins/org.eclipse.emf.cdo.doc/eclipse24.gif
+++ /dev/null
Binary files differ
diff --git a/plugins/org.eclipse.emf.cdo.doc/eclipse32.gif b/plugins/org.eclipse.emf.cdo.doc/eclipse32.gif
deleted file mode 100644
index e6ad7cc..0000000
--- a/plugins/org.eclipse.emf.cdo.doc/eclipse32.gif
+++ /dev/null
Binary files differ
diff --git a/plugins/org.eclipse.emf.cdo.doc/eclipse32.png b/plugins/org.eclipse.emf.cdo.doc/eclipse32.png
deleted file mode 100644
index 568fac1..0000000
--- a/plugins/org.eclipse.emf.cdo.doc/eclipse32.png
+++ /dev/null
Binary files differ
diff --git a/plugins/org.eclipse.emf.cdo.doc/eclipse48.gif b/plugins/org.eclipse.emf.cdo.doc/eclipse48.gif
deleted file mode 100644
index 501ab99..0000000
--- a/plugins/org.eclipse.emf.cdo.doc/eclipse48.gif
+++ /dev/null
Binary files differ
diff --git a/plugins/org.eclipse.emf.cdo.doc/eclipse48.png b/plugins/org.eclipse.emf.cdo.doc/eclipse48.png
deleted file mode 100644
index b60ab3c..0000000
--- a/plugins/org.eclipse.emf.cdo.doc/eclipse48.png
+++ /dev/null
Binary files differ
diff --git a/plugins/org.eclipse.emf.cdo.doc/eclipse_lg.gif b/plugins/org.eclipse.emf.cdo.doc/eclipse_lg.gif
deleted file mode 100644
index bf8b872..0000000
--- a/plugins/org.eclipse.emf.cdo.doc/eclipse_lg.gif
+++ /dev/null
Binary files differ
diff --git a/plugins/org.eclipse.emf.cdo.doc/epl-v10.html b/plugins/org.eclipse.emf.cdo.doc/epl-v10.html
deleted file mode 100644
index d7b88e9..0000000
--- a/plugins/org.eclipse.emf.cdo.doc/epl-v10.html
+++ /dev/null
@@ -1,319 +0,0 @@
-<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40"><head>
-<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
-<meta name="ProgId" content="Word.Document">
-<meta name="Generator" content="Microsoft Word 9">
-<meta name="Originator" content="Microsoft Word 9">
-<link rel="File-List" href="http://www.eclipse.org/org/documents/Eclipse%20EPL%202003_11_10%20Final_files/filelist.xml"><title>Eclipse Public License - Version 1.0</title><!--[if gte mso 9]><xml>
- <o:DocumentProperties>
- <o:Revision>2</o:Revision>
- <o:TotalTime>3</o:TotalTime>
- <o:Created>2004-03-05T23:03:00Z</o:Created>
- <o:LastSaved>2004-03-05T23:03:00Z</o:LastSaved>
- <o:Pages>4</o:Pages>
- <o:Words>1626</o:Words>
- <o:Characters>9270</o:Characters>
- <o:Lines>77</o:Lines>
- <o:Paragraphs>18</o:Paragraphs>
- <o:CharactersWithSpaces>11384</o:CharactersWithSpaces>
- <o:Version>9.4402</o:Version>
- </o:DocumentProperties>
-</xml><![endif]--><!--[if gte mso 9]><xml>
- <w:WordDocument>
- <w:TrackRevisions/>
- </w:WordDocument>
-</xml><![endif]-->
-
-
-<style>
-<!--
- /* Font Definitions */
-@font-face
- {font-family:Tahoma;
- panose-1:2 11 6 4 3 5 4 4 2 4;
- mso-font-charset:0;
- mso-generic-font-family:swiss;
- mso-font-pitch:variable;
- mso-font-signature:553679495 -2147483648 8 0 66047 0;}
- /* Style Definitions */
-p.MsoNormal, li.MsoNormal, div.MsoNormal
- {mso-style-parent:"";
- margin:0in;
- margin-bottom:.0001pt;
- mso-pagination:widow-orphan;
- font-size:12.0pt;
- font-family:"Times New Roman";
- mso-fareast-font-family:"Times New Roman";}
-p
- {margin-right:0in;
- mso-margin-top-alt:auto;
- mso-margin-bottom-alt:auto;
- margin-left:0in;
- mso-pagination:widow-orphan;
- font-size:12.0pt;
- font-family:"Times New Roman";
- mso-fareast-font-family:"Times New Roman";}
-p.BalloonText, li.BalloonText, div.BalloonText
- {mso-style-name:"Balloon Text";
- margin:0in;
- margin-bottom:.0001pt;
- mso-pagination:widow-orphan;
- font-size:8.0pt;
- font-family:Tahoma;
- mso-fareast-font-family:"Times New Roman";}
-@page Section1
- {size:8.5in 11.0in;
- margin:1.0in 1.25in 1.0in 1.25in;
- mso-header-margin:.5in;
- mso-footer-margin:.5in;
- mso-paper-source:0;}
-div.Section1
- {page:Section1;}
--->
-</style></head>
-
-<body style="" lang="EN-US">
-
-<div class="Section1">
-
-<p style="text-align: center;" align="center"><b>Eclipse Public License - v 1.0</b>
-</p>
-
-<p><span style="font-size: 10pt;">THE ACCOMPANYING PROGRAM IS PROVIDED UNDER
-THE TERMS OF THIS ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE,
-REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE
-OF THIS AGREEMENT.</span> </p>
-
-<p><b><span style="font-size: 10pt;">1. DEFINITIONS</span></b> </p>
-
-<p><span style="font-size: 10pt;">"Contribution" means:</span> </p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">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:</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">i)
-changes to the Program, and</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">ii)
-additions to the Program;</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">where
-such changes and/or additions to the Program originate from and are distributed
-by that particular Contributor. 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. 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. </span></p>
-
-<p><span style="font-size: 10pt;">"Contributor" means any person or
-entity that distributes the Program.</span> </p>
-
-<p><span style="font-size: 10pt;">"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. </span></p>
-
-<p><span style="font-size: 10pt;">"Program" means the Contributions
-distributed in accordance with this Agreement.</span> </p>
-
-<p><span style="font-size: 10pt;">"Recipient" means anyone who
-receives the Program under this Agreement, including all Contributors.</span> </p>
-
-<p><b><span style="font-size: 10pt;">2. GRANT OF RIGHTS</span></b> </p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
-Subject to the terms of this Agreement, each Contributor hereby grants Recipient
-a non-exclusive, worldwide, royalty-free copyright license to<span style="color: red;"> </span>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.</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">b)
-Subject to the terms of this Agreement, each Contributor hereby grants
-Recipient a non-exclusive, worldwide,<span style="color: green;"> </span>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. </span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">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.</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">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. </span></p>
-
-<p><b><span style="font-size: 10pt;">3. REQUIREMENTS</span></b> </p>
-
-<p><span style="font-size: 10pt;">A Contributor may choose to distribute the
-Program in object code form under its own license agreement, provided that:</span>
-</p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
-it complies with the terms and conditions of this Agreement; and</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">b)
-its license agreement:</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">i)
-effectively disclaims 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; </span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">ii)
-effectively excludes on behalf of all Contributors all liability for damages,
-including direct, indirect, special, incidental and consequential damages, such
-as lost profits; </span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">iii)
-states that any provisions which differ from this Agreement are offered by that
-Contributor alone and not by any other party; and</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">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.<span style="color: blue;"> </span></span></p>
-
-<p><span style="font-size: 10pt;">When the Program is made available in source
-code form:</span> </p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
-it must be made available under this Agreement; and </span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">b) a
-copy of this Agreement must be included with each copy of the Program. </span></p>
-
-<p><span style="font-size: 10pt;">Contributors may not remove or alter any
-copyright notices contained within the Program. </span></p>
-
-<p><span style="font-size: 10pt;">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. </span></p>
-
-<p><b><span style="font-size: 10pt;">4. COMMERCIAL DISTRIBUTION</span></b> </p>
-
-<p><span style="font-size: 10pt;">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.</span> </p>
-
-<p><span style="font-size: 10pt;">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.</span> </p>
-
-<p><b><span style="font-size: 10pt;">5. NO WARRANTY</span></b> </p>
-
-<p><span style="font-size: 10pt;">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 solely
-responsible for determining the appropriateness of using and distributing the
-Program and assumes all risks associated with its exercise of rights under this
-Agreement , including but not limited to the risks and costs of program errors,
-compliance with applicable laws, damage to or loss of data, programs or
-equipment, and unavailability or interruption of operations. </span></p>
-
-<p><b><span style="font-size: 10pt;">6. DISCLAIMER OF LIABILITY</span></b> </p>
-
-<p><span style="font-size: 10pt;">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
-(INCLUDING WITHOUT LIMITATION LOST PROFITS), 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.</span> </p>
-
-<p><b><span style="font-size: 10pt;">7. GENERAL</span></b> </p>
-
-<p><span style="font-size: 10pt;">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.</span> </p>
-
-<p><span style="font-size: 10pt;">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. </span></p>
-
-<p><span style="font-size: 10pt;">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. </span></p>
-
-<p><span style="font-size: 10pt;">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 publish new versions (including revisions) of
-this Agreement from time to time. No one other than the Agreement Steward has
-the right to modify this Agreement. The Eclipse Foundation is the initial
-Agreement Steward. The Eclipse Foundation may assign the responsibility to
-serve as the Agreement Steward to a suitable separate entity. 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 version. 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, by implication, estoppel or otherwise. All rights in the Program not
-expressly granted under this Agreement are reserved.</span> </p>
-
-<p><span style="font-size: 10pt;">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.</span> </p>
-
-<p class="MsoNormal"><!--[if !supportEmptyParas]-->&nbsp;<!--[endif]--><o:p></o:p></p>
-
-</div>
-
-</body></html> \ No newline at end of file
diff --git a/plugins/org.eclipse.emf.cdo.doc/images/.cvsignore b/plugins/org.eclipse.emf.cdo.doc/images/.cvsignore
deleted file mode 100644
index e69de29..0000000
--- a/plugins/org.eclipse.emf.cdo.doc/images/.cvsignore
+++ /dev/null
diff --git a/plugins/org.eclipse.emf.cdo.doc/license.html b/plugins/org.eclipse.emf.cdo.doc/license.html
deleted file mode 100644
index d7b88e9..0000000
--- a/plugins/org.eclipse.emf.cdo.doc/license.html
+++ /dev/null
@@ -1,319 +0,0 @@
-<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40"><head>
-<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
-<meta name="ProgId" content="Word.Document">
-<meta name="Generator" content="Microsoft Word 9">
-<meta name="Originator" content="Microsoft Word 9">
-<link rel="File-List" href="http://www.eclipse.org/org/documents/Eclipse%20EPL%202003_11_10%20Final_files/filelist.xml"><title>Eclipse Public License - Version 1.0</title><!--[if gte mso 9]><xml>
- <o:DocumentProperties>
- <o:Revision>2</o:Revision>
- <o:TotalTime>3</o:TotalTime>
- <o:Created>2004-03-05T23:03:00Z</o:Created>
- <o:LastSaved>2004-03-05T23:03:00Z</o:LastSaved>
- <o:Pages>4</o:Pages>
- <o:Words>1626</o:Words>
- <o:Characters>9270</o:Characters>
- <o:Lines>77</o:Lines>
- <o:Paragraphs>18</o:Paragraphs>
- <o:CharactersWithSpaces>11384</o:CharactersWithSpaces>
- <o:Version>9.4402</o:Version>
- </o:DocumentProperties>
-</xml><![endif]--><!--[if gte mso 9]><xml>
- <w:WordDocument>
- <w:TrackRevisions/>
- </w:WordDocument>
-</xml><![endif]-->
-
-
-<style>
-<!--
- /* Font Definitions */
-@font-face
- {font-family:Tahoma;
- panose-1:2 11 6 4 3 5 4 4 2 4;
- mso-font-charset:0;
- mso-generic-font-family:swiss;
- mso-font-pitch:variable;
- mso-font-signature:553679495 -2147483648 8 0 66047 0;}
- /* Style Definitions */
-p.MsoNormal, li.MsoNormal, div.MsoNormal
- {mso-style-parent:"";
- margin:0in;
- margin-bottom:.0001pt;
- mso-pagination:widow-orphan;
- font-size:12.0pt;
- font-family:"Times New Roman";
- mso-fareast-font-family:"Times New Roman";}
-p
- {margin-right:0in;
- mso-margin-top-alt:auto;
- mso-margin-bottom-alt:auto;
- margin-left:0in;
- mso-pagination:widow-orphan;
- font-size:12.0pt;
- font-family:"Times New Roman";
- mso-fareast-font-family:"Times New Roman";}
-p.BalloonText, li.BalloonText, div.BalloonText
- {mso-style-name:"Balloon Text";
- margin:0in;
- margin-bottom:.0001pt;
- mso-pagination:widow-orphan;
- font-size:8.0pt;
- font-family:Tahoma;
- mso-fareast-font-family:"Times New Roman";}
-@page Section1
- {size:8.5in 11.0in;
- margin:1.0in 1.25in 1.0in 1.25in;
- mso-header-margin:.5in;
- mso-footer-margin:.5in;
- mso-paper-source:0;}
-div.Section1
- {page:Section1;}
--->
-</style></head>
-
-<body style="" lang="EN-US">
-
-<div class="Section1">
-
-<p style="text-align: center;" align="center"><b>Eclipse Public License - v 1.0</b>
-</p>
-
-<p><span style="font-size: 10pt;">THE ACCOMPANYING PROGRAM IS PROVIDED UNDER
-THE TERMS OF THIS ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE,
-REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE
-OF THIS AGREEMENT.</span> </p>
-
-<p><b><span style="font-size: 10pt;">1. DEFINITIONS</span></b> </p>
-
-<p><span style="font-size: 10pt;">"Contribution" means:</span> </p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">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:</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">i)
-changes to the Program, and</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">ii)
-additions to the Program;</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">where
-such changes and/or additions to the Program originate from and are distributed
-by that particular Contributor. 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. 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. </span></p>
-
-<p><span style="font-size: 10pt;">"Contributor" means any person or
-entity that distributes the Program.</span> </p>
-
-<p><span style="font-size: 10pt;">"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. </span></p>
-
-<p><span style="font-size: 10pt;">"Program" means the Contributions
-distributed in accordance with this Agreement.</span> </p>
-
-<p><span style="font-size: 10pt;">"Recipient" means anyone who
-receives the Program under this Agreement, including all Contributors.</span> </p>
-
-<p><b><span style="font-size: 10pt;">2. GRANT OF RIGHTS</span></b> </p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
-Subject to the terms of this Agreement, each Contributor hereby grants Recipient
-a non-exclusive, worldwide, royalty-free copyright license to<span style="color: red;"> </span>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.</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">b)
-Subject to the terms of this Agreement, each Contributor hereby grants
-Recipient a non-exclusive, worldwide,<span style="color: green;"> </span>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. </span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">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.</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">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. </span></p>
-
-<p><b><span style="font-size: 10pt;">3. REQUIREMENTS</span></b> </p>
-
-<p><span style="font-size: 10pt;">A Contributor may choose to distribute the
-Program in object code form under its own license agreement, provided that:</span>
-</p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
-it complies with the terms and conditions of this Agreement; and</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">b)
-its license agreement:</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">i)
-effectively disclaims 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; </span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">ii)
-effectively excludes on behalf of all Contributors all liability for damages,
-including direct, indirect, special, incidental and consequential damages, such
-as lost profits; </span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">iii)
-states that any provisions which differ from this Agreement are offered by that
-Contributor alone and not by any other party; and</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">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.<span style="color: blue;"> </span></span></p>
-
-<p><span style="font-size: 10pt;">When the Program is made available in source
-code form:</span> </p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
-it must be made available under this Agreement; and </span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">b) a
-copy of this Agreement must be included with each copy of the Program. </span></p>
-
-<p><span style="font-size: 10pt;">Contributors may not remove or alter any
-copyright notices contained within the Program. </span></p>
-
-<p><span style="font-size: 10pt;">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. </span></p>
-
-<p><b><span style="font-size: 10pt;">4. COMMERCIAL DISTRIBUTION</span></b> </p>
-
-<p><span style="font-size: 10pt;">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.</span> </p>
-
-<p><span style="font-size: 10pt;">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.</span> </p>
-
-<p><b><span style="font-size: 10pt;">5. NO WARRANTY</span></b> </p>
-
-<p><span style="font-size: 10pt;">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 solely
-responsible for determining the appropriateness of using and distributing the
-Program and assumes all risks associated with its exercise of rights under this
-Agreement , including but not limited to the risks and costs of program errors,
-compliance with applicable laws, damage to or loss of data, programs or
-equipment, and unavailability or interruption of operations. </span></p>
-
-<p><b><span style="font-size: 10pt;">6. DISCLAIMER OF LIABILITY</span></b> </p>
-
-<p><span style="font-size: 10pt;">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
-(INCLUDING WITHOUT LIMITATION LOST PROFITS), 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.</span> </p>
-
-<p><b><span style="font-size: 10pt;">7. GENERAL</span></b> </p>
-
-<p><span style="font-size: 10pt;">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.</span> </p>
-
-<p><span style="font-size: 10pt;">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. </span></p>
-
-<p><span style="font-size: 10pt;">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. </span></p>
-
-<p><span style="font-size: 10pt;">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 publish new versions (including revisions) of
-this Agreement from time to time. No one other than the Agreement Steward has
-the right to modify this Agreement. The Eclipse Foundation is the initial
-Agreement Steward. The Eclipse Foundation may assign the responsibility to
-serve as the Agreement Steward to a suitable separate entity. 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 version. 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, by implication, estoppel or otherwise. All rights in the Program not
-expressly granted under this Agreement are reserved.</span> </p>
-
-<p><span style="font-size: 10pt;">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.</span> </p>
-
-<p class="MsoNormal"><!--[if !supportEmptyParas]-->&nbsp;<!--[endif]--><o:p></o:p></p>
-
-</div>
-
-</body></html> \ No newline at end of file
diff --git a/plugins/org.eclipse.emf.cdo.doc/plugin.properties b/plugins/org.eclipse.emf.cdo.doc/plugin.properties
deleted file mode 100644
index db74d90..0000000
--- a/plugins/org.eclipse.emf.cdo.doc/plugin.properties
+++ /dev/null
@@ -1,33 +0,0 @@
-# /**
-# * <copyright>
-# *
-# * Copyright (c) 2002-2004 IBM Corporation and others.
-# * All rights reserved. This program and the accompanying materials
-# * are made available under the terms of the Eclipse Public License v1.0
-# * which accompanies this distribution, and is available at
-# * http://www.eclipse.org/legal/epl-v10.html
-# *
-# * Contributors:
-# * IBM - Initial API and implementation
-# *
-# * </copyright>
-# *
-# * $Id:
-# */
-
-# NLS_MESSAGEFORMAT_VAR
-
-# ==============================================================================
-# Do not change the properties between this line and the last line containing:
-# %%% END OF TRANSLATED PROPERTIES %%%
-# Instead, either redefine an existing property, or create a new property,
-# append it to the end of the file, and change the code to use the new name.
-# ==============================================================================
-
-Plugin.name=CDO Documentation
-Provider.name=Eclipse.org
-
-# ==============================================================================
-# %%% END OF TRANSLATED PROPERTIES %%%
-# The above properties have been shipped for translation.
-# ==============================================================================
diff --git a/plugins/org.eclipse.emf.cdo.doc/plugin.xml b/plugins/org.eclipse.emf.cdo.doc/plugin.xml
deleted file mode 100644
index 0587b45..0000000
--- a/plugins/org.eclipse.emf.cdo.doc/plugin.xml
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.0"?>
-<!--
-/**
- * <copyright>
- *
- * Copyright (c) 2004-2006 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM - Initial API and implementation
- *
- * </copyright>
- *
- * $Id:
- */
--->
-<plugin>
- <extension
- point="org.eclipse.help.toc">
- <toc file="toc.xml" primary="true"/>
- <index path="index"/>
- </extension>
-</plugin>
-
diff --git a/plugins/org.eclipse.emf.cdo.doc/references/.cvsignore b/plugins/org.eclipse.emf.cdo.doc/references/.cvsignore
deleted file mode 100644
index e69de29..0000000
--- a/plugins/org.eclipse.emf.cdo.doc/references/.cvsignore
+++ /dev/null
diff --git a/plugins/org.eclipse.emf.cdo.doc/toc.xml b/plugins/org.eclipse.emf.cdo.doc/toc.xml
deleted file mode 100644
index 224049a..0000000
--- a/plugins/org.eclipse.emf.cdo.doc/toc.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?NLS TYPE="org.eclipse.help.toc"?>
-
-<toc label="CDO Table of Contents">
- <topic label="Javadoc" href="references/javadoc/index.html"/>
-</toc>
diff --git a/plugins/org.eclipse.emf.cdo.doc/tutorials/.cvsignore b/plugins/org.eclipse.emf.cdo.doc/tutorials/.cvsignore
deleted file mode 100644
index e69de29..0000000
--- a/plugins/org.eclipse.emf.cdo.doc/tutorials/.cvsignore
+++ /dev/null
diff --git a/plugins/org.eclipse.emf.cdo.examples.server/.classpath b/plugins/org.eclipse.emf.cdo.examples.server/.classpath
deleted file mode 100644
index 751c8f2..0000000
--- a/plugins/org.eclipse.emf.cdo.examples.server/.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.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/plugins/org.eclipse.emf.cdo.examples.server/.cvsignore b/plugins/org.eclipse.emf.cdo.examples.server/.cvsignore
deleted file mode 100644
index eb65b4b..0000000
--- a/plugins/org.eclipse.emf.cdo.examples.server/.cvsignore
+++ /dev/null
@@ -1,5 +0,0 @@
-tmp
-bin
-dist
-build
-runtime
diff --git a/plugins/org.eclipse.emf.cdo.examples.server/.project b/plugins/org.eclipse.emf.cdo.examples.server/.project
deleted file mode 100644
index dfa7623..0000000
--- a/plugins/org.eclipse.emf.cdo.examples.server/.project
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.emf.cdo.examples.server</name>
- <comment></comment>
- <projects>
- </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/plugins/org.eclipse.emf.cdo.examples.server/.settings/org.eclipse.jdt.core.prefs b/plugins/org.eclipse.emf.cdo.examples.server/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index b6a3213..0000000
--- a/plugins/org.eclipse.emf.cdo.examples.server/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,256 +0,0 @@
-#Fri Mar 24 07:37:47 CET 2006
-eclipse.preferences.version=1
-org.eclipse.jdt.core.codeComplete.argumentPrefixes=
-org.eclipse.jdt.core.codeComplete.argumentSuffixes=
-org.eclipse.jdt.core.codeComplete.fieldPrefixes=
-org.eclipse.jdt.core.codeComplete.fieldSuffixes=
-org.eclipse.jdt.core.codeComplete.localPrefixes=
-org.eclipse.jdt.core.codeComplete.localSuffixes=
-org.eclipse.jdt.core.codeComplete.staticFieldPrefixes=
-org.eclipse.jdt.core.codeComplete.staticFieldSuffixes=
-org.eclipse.jdt.core.formatter.align_type_members_on_columns=false
-org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16
-org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16
-org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16
-org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16
-org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16
-org.eclipse.jdt.core.formatter.alignment_for_assignment=0
-org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16
-org.eclipse.jdt.core.formatter.alignment_for_compact_if=16
-org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80
-org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0
-org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16
-org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16
-org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16
-org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16
-org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=16
-org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16
-org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16
-org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16
-org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16
-org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16
-org.eclipse.jdt.core.formatter.blank_lines_after_imports=2
-org.eclipse.jdt.core.formatter.blank_lines_after_package=2
-org.eclipse.jdt.core.formatter.blank_lines_before_field=1
-org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0
-org.eclipse.jdt.core.formatter.blank_lines_before_imports=1
-org.eclipse.jdt.core.formatter.blank_lines_before_member_type=2
-org.eclipse.jdt.core.formatter.blank_lines_before_method=1
-org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1
-org.eclipse.jdt.core.formatter.blank_lines_before_package=0
-org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=2
-org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=next_line
-org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_block=next_line
-org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=next_line
-org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=next_line
-org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=next_line
-org.eclipse.jdt.core.formatter.brace_position_for_switch=next_line
-org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=next_line
-org.eclipse.jdt.core.formatter.comment.clear_blank_lines=false
-org.eclipse.jdt.core.formatter.comment.format_comments=false
-org.eclipse.jdt.core.formatter.comment.format_header=false
-org.eclipse.jdt.core.formatter.comment.format_html=true
-org.eclipse.jdt.core.formatter.comment.format_source_code=true
-org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true
-org.eclipse.jdt.core.formatter.comment.indent_root_tags=true
-org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert
-org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert
-org.eclipse.jdt.core.formatter.comment.line_length=100
-org.eclipse.jdt.core.formatter.compact_else_if=true
-org.eclipse.jdt.core.formatter.continuation_indentation=2
-org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2
-org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false
-org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true
-org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true
-org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true
-org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true
-org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true
-org.eclipse.jdt.core.formatter.indent_empty_lines=false
-org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true
-org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true
-org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true
-org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=true
-org.eclipse.jdt.core.formatter.indentation.size=4
-org.eclipse.jdt.core.formatter.insert_new_line_after_annotation=insert
-org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=insert
-org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=insert
-org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=insert
-org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert
-org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert
-org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert
-org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert
-org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert
-org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert
-org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert
-org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert
-org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert
-org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert
-org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert
-org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert
-org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert
-org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert
-org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert
-org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert
-org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert
-org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert
-org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert
-org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert
-org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert
-org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert
-org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false
-org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false
-org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=true
-org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false
-org.eclipse.jdt.core.formatter.lineSplit=100
-org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0
-org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1
-org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true
-org.eclipse.jdt.core.formatter.tabulation.char=space
-org.eclipse.jdt.core.formatter.tabulation.size=2
-org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false
diff --git a/plugins/org.eclipse.emf.cdo.examples.server/.settings/org.eclipse.jdt.ui.prefs b/plugins/org.eclipse.emf.cdo.examples.server/.settings/org.eclipse.jdt.ui.prefs
deleted file mode 100644
index a5280f6..0000000
--- a/plugins/org.eclipse.emf.cdo.examples.server/.settings/org.eclipse.jdt.ui.prefs
+++ /dev/null
@@ -1,19 +0,0 @@
-#Mon Mar 13 08:16:17 CET 2006
-comment_clear_blank_lines=false
-comment_format_comments=false
-comment_format_header=false
-comment_format_html=true
-comment_format_source_code=true
-comment_indent_parameter_description=true
-comment_indent_root_tags=true
-comment_line_length=100
-comment_new_line_for_parameter=true
-comment_separate_root_tags=true
-eclipse.preferences.version=1
-formatter_settings_version=10
-org.eclipse.jdt.ui.exception.name=ex
-org.eclipse.jdt.ui.gettersetter.use.is=true
-org.eclipse.jdt.ui.ignorelowercasenames=true
-org.eclipse.jdt.ui.importorder=org.eclipse.net4j;org.eclipse.emf;org.eclipse;org.apache;org;com;java.lang;java.util;java.io;java.nio;java.net;java;javax;
-org.eclipse.jdt.ui.keywordthis=false
-org.eclipse.jdt.ui.ondemandthreshold=99
diff --git a/plugins/org.eclipse.emf.cdo.examples.server/.settings/org.eclipse.pde.prefs b/plugins/org.eclipse.emf.cdo.examples.server/.settings/org.eclipse.pde.prefs
deleted file mode 100644
index a31119f..0000000
--- a/plugins/org.eclipse.emf.cdo.examples.server/.settings/org.eclipse.pde.prefs
+++ /dev/null
@@ -1,12 +0,0 @@
-#Mon Mar 14 22:44:04 CET 2005
-compilers.p.deprecated=1
-compilers.p.no-required-att=0
-compilers.p.not-externalized-att=2
-compilers.p.unknown-attribute=0
-compilers.p.unknown-class=1
-compilers.p.unknown-element=0
-compilers.p.unknown-resource=1
-compilers.p.unresolved-ex-points=0
-compilers.p.unresolved-import=0
-compilers.use-project=true
-eclipse.preferences.version=1
diff --git a/plugins/org.eclipse.emf.cdo.examples.server/META-INF/MANIFEST.MF b/plugins/org.eclipse.emf.cdo.examples.server/META-INF/MANIFEST.MF
deleted file mode 100644
index a73bf62..0000000
--- a/plugins/org.eclipse.emf.cdo.examples.server/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,13 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: %pluginName
-Bundle-SymbolicName: org.eclipse.emf.cdo.examples.server;singleton:=true
-Bundle-Version: 1.0.0.qualifier
-Bundle-Vendor: %providerName
-Bundle-Localization: plugin
-Eclipse-LazyStart: true
-Require-Bundle: org.eclipse.emf.cdo.server,
- org.eclipse.net4j.socket,
- org.eclipse.net4j.examples.server
-Export-Package: org.eclipse.emf.cdo.examples.server.internal
-Bundle-Activator: org.eclipse.emf.cdo.examples.server.internal.CDOServerPlugin
diff --git a/plugins/org.eclipse.emf.cdo.examples.server/META-INF/server.properties b/plugins/org.eclipse.emf.cdo.examples.server/META-INF/server.properties
deleted file mode 100644
index 5ba75a6..0000000
--- a/plugins/org.eclipse.emf.cdo.examples.server/META-INF/server.properties
+++ /dev/null
@@ -1,55 +0,0 @@
-###################
-# JDBC PROPERTIES #
-###################
-
-
-#########
-# DERBY #
-#########
-
-jdbc.dialect=DERBY
-jdbc.driver=org.apache.derby.jdbc.EmbeddedDriver
-jdbc.url=jdbc:derby:cdoTest;create=true
-jdbc.username=test
-jdbc.password=test
-
-##########
-# HSQLDB #
-##########
-
-#jdbc.dialect=HSQLDB
-#jdbc.driver=org.hsqldb.jdbcDriver
-#jdbc.url=jdbc:hsqldb:.
-#jdbc.username=sa
-#jdbc.password=
-
-#########
-# MYSQL #
-#########
-
-#jdbc.dialect=MYSQL
-#jdbc.driver=org.gjt.mm.mysql.Driver
-#jdbc.url=jdbc:mysql://localhost/cdoTest
-#jdbc.username=test
-#jdbc.password=test
-
-##########
-# ORACLE #
-##########
-
-#jdbc.dialect=oracle
-#jdbc.driver=
-#jdbc.url=
-#jdbc.username=
-#jdbc.password=
-
-#########
-# MIMER #
-#########
-
-#jdbc.dialect=mimer
-#jdbc.driver=
-#jdbc.url=
-#jdbc.username=
-#jdbc.password=
-
diff --git a/plugins/org.eclipse.emf.cdo.examples.server/META-INF/server.xml b/plugins/org.eclipse.emf.cdo.examples.server/META-INF/server.xml
deleted file mode 100644
index ccd0910..0000000
--- a/plugins/org.eclipse.emf.cdo.examples.server/META-INF/server.xml
+++ /dev/null
@@ -1,130 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN"
- "http://www.springframework.org/dtd/spring-beans.dtd">
-<beans>
-
- <!-- ######################################################## -->
- <bean id="propertyConfigurer"
- class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
- <property name="locations">
- <list>
- <value> plugin:/META-INF/server.properties </value>
- </list>
- </property>
- </bean>
-
- <!--
- CDO Server Part
- -->
-
- <!-- ######################################################## -->
- <bean id="oidEncoder" class="org.eclipse.emf.cdo.core.impl.OIDEncoderImpl">
- <property name="fragmentBits">
- <value>48</value>
- </property>
- </bean>
-
- <!-- ######################################################## -->
- <bean id="packageManager" class="org.eclipse.emf.cdo.server.impl.PackageManagerImpl"/>
-
- <!-- ######################################################## -->
- <bean id="resourceManager" class="org.eclipse.emf.cdo.server.impl.ResourceManagerImpl"/>
-
- <!-- ######################################################## -->
- <bean id="columnConverter" class="org.eclipse.emf.cdo.server.impl.ColumnConverterImpl"/>
-
- <!-- ######################################################## -->
- <bean id="serverCDOProtocol" class="org.eclipse.emf.cdo.server.protocol.ServerCDOProtocolImpl">
- <property name="protocolManager">
- <ref bean="protocolManager"/>
- </property>
- <property name="transactionTemplate">
- <ref local="transactionTemplate"/>
- </property>
- <property name="mapper">
- <ref local="mapper"/>
- </property>
- <property name="serverCDOResProtocol">
- <ref local="serverCDOResProtocol"/>
- </property>
- </bean>
-
- <!-- ######################################################## -->
- <bean id="serverCDOResProtocol"
- class="org.eclipse.emf.cdo.server.protocol.ServerCDOResProtocolImpl">
- <property name="protocolManager">
- <ref bean="protocolManager"/>
- </property>
- <property name="transactionTemplate">
- <ref local="transactionTemplate"/>
- </property>
- <property name="mapper">
- <ref local="mapper"/>
- </property>
- </bean>
-
- <!-- ######################################################## -->
- <bean id="dataSource" class="org.eclipse.net4j.spring.db.ContextClassLoaderDataSource">
- <property name="driverClassName">
- <value>${jdbc.driver}</value>
- </property>
- <property name="url">
- <value>${jdbc.url}</value>
- </property>
- <property name="username">
- <value>${jdbc.username}</value>
- </property>
- <property name="password">
- <value>${jdbc.password}</value>
- </property>
- </bean>
-
- <!-- ######################################################## -->
- <bean id="transactionManager"
- class="org.springframework.jdbc.datasource.DataSourceTransactionManager">
- <property name="dataSource">
- <ref local="dataSource"/>
- </property>
- </bean>
-
- <!-- ######################################################## -->
- <bean id="transactionTemplate"
- class="org.springframework.transaction.support.TransactionTemplate">
- <property name="transactionManager">
- <ref local="transactionManager"/>
- </property>
- </bean>
-
- <!-- ######################################################## -->
- <bean id="jdbcTemplate" class="org.springframework.jdbc.core.JdbcTemplate">
- <property name="dataSource">
- <ref local="dataSource"/>
- </property>
- </bean>
-
- <!-- ######################################################## -->
- <bean id="mapper" class="org.eclipse.emf.cdo.server.impl.MapperImpl">
- <property name="columnConverter">
- <ref local="columnConverter"/>
- </property>
- <property name="packageManager">
- <ref local="packageManager"/>
- </property>
- <property name="resourceManager">
- <ref local="resourceManager"/>
- </property>
- <property name="dataSource">
- <ref local="dataSource"/>
- </property>
- <property name="jdbcTemplate">
- <ref local="jdbcTemplate"/>
- </property>
- <property name="oidEncoder" >
- <ref bean="oidEncoder"/>
- </property>
- <property name="sqlDialectName">
- <value>${jdbc.dialect}</value>
- </property>
- </bean>
-
-</beans>
diff --git a/plugins/org.eclipse.emf.cdo.examples.server/about.html b/plugins/org.eclipse.emf.cdo.examples.server/about.html
deleted file mode 100644
index 373f387..0000000
--- a/plugins/org.eclipse.emf.cdo.examples.server/about.html
+++ /dev/null
@@ -1,42 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html>
-
- <head>
-
- <meta content="text/html; charset=ISO-8859-1"
- http-equiv="Content-Type"/>
-
- <title>About</title>
-
- </head>
-
- <body lang="EN-US">
-
- <h2>About This Content</h2>
-
- <p>Januaray 22, 2006</p>
-
- <h3>License</h3>
-
- <p>The Eclipse Foundation makes available all content in this
- plug-in (&quot;Content&quot;). Unless otherwise indicated below,
- the Content is provided to you under the terms and conditions of
- the Eclipse Public License Version 1.0 (&quot;EPL&quot;). A copy of
- the EPL is available at
- <a href="http://www.eclipse.org/legal/epl-v10.html">
- http://www.eclipse.org/legal/epl-v10.html</a>. For purposes of the
- EPL, &quot;Program&quot; will mean the Content.</p>
-
- <p>If you did not receive this Content directly from the Eclipse
- Foundation, the Content is being redistributed by another party
- (&quot;Redistributor&quot;) and different terms and conditions may
- apply to your use of any object code in the Content. Check the
- Redistributor&apos;s license that was provided with the Content. If
- no such license exists, contact the Redistributor. Unless otherwise
- indicated below, the terms and conditions of the EPL still apply to
- any source code in the Content.</p>
-
- </body>
-
-</html>
-
diff --git a/plugins/org.eclipse.emf.cdo.examples.server/build.properties b/plugins/org.eclipse.emf.cdo.examples.server/build.properties
deleted file mode 100644
index 0437412..0000000
--- a/plugins/org.eclipse.emf.cdo.examples.server/build.properties
+++ /dev/null
@@ -1,13 +0,0 @@
-# NLS_MESSAGEFORMAT_VAR
-bin.includes = plugin.xml,\
- META-INF/,\
- plugin.properties,\
- epl-v10.html,\
- copyright.txt,\
- initMysql.bat,\
- about.html,\
- .,\
- license.html
-jars.compile.order = .
-source.. = src/
-output.. = bin/
diff --git a/plugins/org.eclipse.emf.cdo.examples.server/copyright.txt b/plugins/org.eclipse.emf.cdo.examples.server/copyright.txt
deleted file mode 100644
index 7d67d89..0000000
--- a/plugins/org.eclipse.emf.cdo.examples.server/copyright.txt
+++ /dev/null
@@ -1,8 +0,0 @@
-Copyright (c) 2004, 2005, 2006 Eike Stepper, Fuggerstr. 39, 10777 Berlin, Germany.
-All rights reserved. This program and the accompanying materials
-are made available under the terms of the Eclipse Public License v1.0
-which accompanies this distribution, and is available at
-http://www.eclipse.org/legal/epl-v10.html
-
-Contributors:
- Eike Stepper - initial API and implementation \ No newline at end of file
diff --git a/plugins/org.eclipse.emf.cdo.examples.server/epl-v10.html b/plugins/org.eclipse.emf.cdo.examples.server/epl-v10.html
deleted file mode 100644
index d7b88e9..0000000
--- a/plugins/org.eclipse.emf.cdo.examples.server/epl-v10.html
+++ /dev/null
@@ -1,319 +0,0 @@
-<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40"><head>
-<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
-<meta name="ProgId" content="Word.Document">
-<meta name="Generator" content="Microsoft Word 9">
-<meta name="Originator" content="Microsoft Word 9">
-<link rel="File-List" href="http://www.eclipse.org/org/documents/Eclipse%20EPL%202003_11_10%20Final_files/filelist.xml"><title>Eclipse Public License - Version 1.0</title><!--[if gte mso 9]><xml>
- <o:DocumentProperties>
- <o:Revision>2</o:Revision>
- <o:TotalTime>3</o:TotalTime>
- <o:Created>2004-03-05T23:03:00Z</o:Created>
- <o:LastSaved>2004-03-05T23:03:00Z</o:LastSaved>
- <o:Pages>4</o:Pages>
- <o:Words>1626</o:Words>
- <o:Characters>9270</o:Characters>
- <o:Lines>77</o:Lines>
- <o:Paragraphs>18</o:Paragraphs>
- <o:CharactersWithSpaces>11384</o:CharactersWithSpaces>
- <o:Version>9.4402</o:Version>
- </o:DocumentProperties>
-</xml><![endif]--><!--[if gte mso 9]><xml>
- <w:WordDocument>
- <w:TrackRevisions/>
- </w:WordDocument>
-</xml><![endif]-->
-
-
-<style>
-<!--
- /* Font Definitions */
-@font-face
- {font-family:Tahoma;
- panose-1:2 11 6 4 3 5 4 4 2 4;
- mso-font-charset:0;
- mso-generic-font-family:swiss;
- mso-font-pitch:variable;
- mso-font-signature:553679495 -2147483648 8 0 66047 0;}
- /* Style Definitions */
-p.MsoNormal, li.MsoNormal, div.MsoNormal
- {mso-style-parent:"";
- margin:0in;
- margin-bottom:.0001pt;
- mso-pagination:widow-orphan;
- font-size:12.0pt;
- font-family:"Times New Roman";
- mso-fareast-font-family:"Times New Roman";}
-p
- {margin-right:0in;
- mso-margin-top-alt:auto;
- mso-margin-bottom-alt:auto;
- margin-left:0in;
- mso-pagination:widow-orphan;
- font-size:12.0pt;
- font-family:"Times New Roman";
- mso-fareast-font-family:"Times New Roman";}
-p.BalloonText, li.BalloonText, div.BalloonText
- {mso-style-name:"Balloon Text";
- margin:0in;
- margin-bottom:.0001pt;
- mso-pagination:widow-orphan;
- font-size:8.0pt;
- font-family:Tahoma;
- mso-fareast-font-family:"Times New Roman";}
-@page Section1
- {size:8.5in 11.0in;
- margin:1.0in 1.25in 1.0in 1.25in;
- mso-header-margin:.5in;
- mso-footer-margin:.5in;
- mso-paper-source:0;}
-div.Section1
- {page:Section1;}
--->
-</style></head>
-
-<body style="" lang="EN-US">
-
-<div class="Section1">
-
-<p style="text-align: center;" align="center"><b>Eclipse Public License - v 1.0</b>
-</p>
-
-<p><span style="font-size: 10pt;">THE ACCOMPANYING PROGRAM IS PROVIDED UNDER
-THE TERMS OF THIS ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE,
-REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE
-OF THIS AGREEMENT.</span> </p>
-
-<p><b><span style="font-size: 10pt;">1. DEFINITIONS</span></b> </p>
-
-<p><span style="font-size: 10pt;">"Contribution" means:</span> </p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">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:</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">i)
-changes to the Program, and</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">ii)
-additions to the Program;</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">where
-such changes and/or additions to the Program originate from and are distributed
-by that particular Contributor. 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. 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. </span></p>
-
-<p><span style="font-size: 10pt;">"Contributor" means any person or
-entity that distributes the Program.</span> </p>
-
-<p><span style="font-size: 10pt;">"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. </span></p>
-
-<p><span style="font-size: 10pt;">"Program" means the Contributions
-distributed in accordance with this Agreement.</span> </p>
-
-<p><span style="font-size: 10pt;">"Recipient" means anyone who
-receives the Program under this Agreement, including all Contributors.</span> </p>
-
-<p><b><span style="font-size: 10pt;">2. GRANT OF RIGHTS</span></b> </p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
-Subject to the terms of this Agreement, each Contributor hereby grants Recipient
-a non-exclusive, worldwide, royalty-free copyright license to<span style="color: red;"> </span>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.</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">b)
-Subject to the terms of this Agreement, each Contributor hereby grants
-Recipient a non-exclusive, worldwide,<span style="color: green;"> </span>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. </span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">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.</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">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. </span></p>
-
-<p><b><span style="font-size: 10pt;">3. REQUIREMENTS</span></b> </p>
-
-<p><span style="font-size: 10pt;">A Contributor may choose to distribute the
-Program in object code form under its own license agreement, provided that:</span>
-</p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
-it complies with the terms and conditions of this Agreement; and</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">b)
-its license agreement:</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">i)
-effectively disclaims 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; </span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">ii)
-effectively excludes on behalf of all Contributors all liability for damages,
-including direct, indirect, special, incidental and consequential damages, such
-as lost profits; </span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">iii)
-states that any provisions which differ from this Agreement are offered by that
-Contributor alone and not by any other party; and</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">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.<span style="color: blue;"> </span></span></p>
-
-<p><span style="font-size: 10pt;">When the Program is made available in source
-code form:</span> </p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
-it must be made available under this Agreement; and </span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">b) a
-copy of this Agreement must be included with each copy of the Program. </span></p>
-
-<p><span style="font-size: 10pt;">Contributors may not remove or alter any
-copyright notices contained within the Program. </span></p>
-
-<p><span style="font-size: 10pt;">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. </span></p>
-
-<p><b><span style="font-size: 10pt;">4. COMMERCIAL DISTRIBUTION</span></b> </p>
-
-<p><span style="font-size: 10pt;">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.</span> </p>
-
-<p><span style="font-size: 10pt;">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.</span> </p>
-
-<p><b><span style="font-size: 10pt;">5. NO WARRANTY</span></b> </p>
-
-<p><span style="font-size: 10pt;">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 solely
-responsible for determining the appropriateness of using and distributing the
-Program and assumes all risks associated with its exercise of rights under this
-Agreement , including but not limited to the risks and costs of program errors,
-compliance with applicable laws, damage to or loss of data, programs or
-equipment, and unavailability or interruption of operations. </span></p>
-
-<p><b><span style="font-size: 10pt;">6. DISCLAIMER OF LIABILITY</span></b> </p>
-
-<p><span style="font-size: 10pt;">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
-(INCLUDING WITHOUT LIMITATION LOST PROFITS), 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.</span> </p>
-
-<p><b><span style="font-size: 10pt;">7. GENERAL</span></b> </p>
-
-<p><span style="font-size: 10pt;">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.</span> </p>
-
-<p><span style="font-size: 10pt;">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. </span></p>
-
-<p><span style="font-size: 10pt;">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. </span></p>
-
-<p><span style="font-size: 10pt;">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 publish new versions (including revisions) of
-this Agreement from time to time. No one other than the Agreement Steward has
-the right to modify this Agreement. The Eclipse Foundation is the initial
-Agreement Steward. The Eclipse Foundation may assign the responsibility to
-serve as the Agreement Steward to a suitable separate entity. 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 version. 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, by implication, estoppel or otherwise. All rights in the Program not
-expressly granted under this Agreement are reserved.</span> </p>
-
-<p><span style="font-size: 10pt;">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.</span> </p>
-
-<p class="MsoNormal"><!--[if !supportEmptyParas]-->&nbsp;<!--[endif]--><o:p></o:p></p>
-
-</div>
-
-</body></html> \ No newline at end of file
diff --git a/plugins/org.eclipse.emf.cdo.examples.server/initMysql.bat b/plugins/org.eclipse.emf.cdo.examples.server/initMysql.bat
deleted file mode 100644
index 9affd25..0000000
--- a/plugins/org.eclipse.emf.cdo.examples.server/initMysql.bat
+++ /dev/null
@@ -1,13 +0,0 @@
-@echo off
-
-rem mysql -u test -ptest -e "drop database if exists cdoTest; create database cdoTest" mysql
-
-set ROOTPW=root
-set USER=test@localhost
-set PASSWORD=test
-set DATABASE=cdoTest
-
-mysql -u root -p%ROOTPW% -e "drop database if exists %DATABASE%" mysql
-mysql -u root -p%ROOTPW% -e "create database %DATABASE%" mysql
-rem mysql -u root -p%ROOTPW% -e "create user %USER% identified by '%PASSWORD%'" mysql
-mysql -u root -p%ROOTPW% -e "grant all privileges on %DATABASE%.* to %USER% identified by '%PASSWORD%'" mysql
diff --git a/plugins/org.eclipse.emf.cdo.examples.server/launches/CDO Server.launch b/plugins/org.eclipse.emf.cdo.examples.server/launches/CDO Server.launch
deleted file mode 100644
index 9df4356..0000000
--- a/plugins/org.eclipse.emf.cdo.examples.server/launches/CDO Server.launch
+++ /dev/null
@@ -1,341 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<launchConfiguration type="org.eclipse.pde.ui.RuntimeWorkbench">
-<stringAttribute key="product" value="org.eclipse.platform.ide"/>
-<booleanAttribute key="usefeatures" value="false"/>
-<stringAttribute key="bootstrap" value=""/>
-<booleanAttribute key="useProduct" value="false"/>
-<booleanAttribute key="tracing" value="false"/>
-<stringAttribute key="org.eclipse.hyades.trace.ui.ATTR_PROFILING_SET" value="tptp-dummy-profiling-set-CDO Server"/>
-<stringAttribute key="location2" value="_embedded"/>
-<listAttribute key="org.eclipse.debug.ui.favoriteGroups">
-<listEntry value="org.eclipse.debug.ui.launchGroup.run"/>
-<listEntry value="org.eclipse.debug.ui.launchGroup.debug"/>
-</listAttribute>
-<stringAttribute key="selected_target_plugins" value="com.ibm.icu,com.sympedia.tools.ant,com.sympedia.util,com.sympedia.util.eclipse,com.sympedia.util.eclipse.resources,org.apache.ant,org.apache.log4j,org.eclipse.ant.core,org.eclipse.core.contenttype,org.eclipse.core.expressions,org.eclipse.core.filesystem,org.eclipse.core.filesystem.win32.x86,org.eclipse.core.jobs,org.eclipse.core.resources,org.eclipse.core.resources.compatibility,org.eclipse.core.resources.win32,org.eclipse.core.runtime,org.eclipse.core.runtime.compatibility,org.eclipse.core.runtime.compatibility.auth,org.eclipse.core.runtime.compatibility.registry,org.eclipse.core.variables,org.eclipse.emf.common,org.eclipse.emf.ecore,org.eclipse.emf.ecore.change,org.eclipse.emf.edit,org.eclipse.equinox.common,org.eclipse.equinox.preferences,org.eclipse.equinox.registry,org.eclipse.osgi,org.eclipse.update.configurator"/>
-<booleanAttribute key="automaticValidate" value="true"/>
-<mapAttribute key="tracingOptions">
-<mapEntry key="org.eclipse.team.cvs.core/syncchangeevents" value="false"/>
-<mapEntry key="org.eclipse.jst.jsp.core/debug/tldcmdocument/manager" value="false"/>
-<mapEntry key="org.eclipse.jst.jsp.core/debug/jspindexmanager" value="false"/>
-<mapEntry key="org.eclipse.core.resources/perf/listeners" value="500"/>
-<mapEntry key="org.eclipse.wst.server.core/resources" value="false"/>
-<mapEntry key="org.eclipse.wst.css.core/debug/tracefilter" value=""/>
-<mapEntry key="org.eclipse.core.resources/build/needbuild" value="false"/>
-<mapEntry key="org.eclipse.update.configurator/debug" value="false"/>
-<mapEntry key="org.eclipse.osgi/monitor/activation" value="false"/>
-<mapEntry key="org.eclipse.core.runtime/loader/debug" value="true"/>
-<mapEntry key="org.eclipse.jst.jsp.core/debug/jspsearch" value="false"/>
-<mapEntry key="org.eclipse.ui/debug/showSystemJobs" value="false"/>
-<mapEntry key="org.eclipse.wst.sse.core/structuredmodel/state" value="false"/>
-<mapEntry key="org.eclipse.jem.proxy/remote/debug/vmtraceout" value="false"/>
-<mapEntry key="org.eclipse.core.runtime/url/debug" value="false"/>
-<mapEntry key="org.eclipse.osgi/monitor/classes" value="false"/>
-<mapEntry key="org.eclipse.wst.xml.core/debug/tracefilter" value=""/>
-<mapEntry key="org.eclipse.update.core/debug" value="true"/>
-<mapEntry key="org.eclipse.core.runtime/debug/context" value="true"/>
-<mapEntry key="org.eclipse.ui/debug/swtdebug" value="false"/>
-<mapEntry key="org.eclipse.jdt.core/debug/javamodel" value="false"/>
-<mapEntry key="org.eclipse.wst.sse.core/builder/detection" value="false"/>
-<mapEntry key="com.ibm.wtp.common.util/debug/logtrace" value="false"/>
-<mapEntry key="org.eclipse.wst.sse.ui/debug/reconcilerjob" value="false"/>
-<mapEntry key="org.eclipse.ui.intro/trace/printHTML" value="false"/>
-<mapEntry key="org.eclipse.jdt.core/debug/javadelta/verbose" value="false"/>
-<mapEntry key="org.eclipse.jdt.core/debug" value="true"/>
-<mapEntry key="org.eclipse.core.expressions/tracePropertyResolving" value="false"/>
-<mapEntry key="org.eclipse.core.resources/restore" value="false"/>
-<mapEntry key="org.eclipse.wst.sse.ui/debug/outline" value="false"/>
-<mapEntry key="org.eclipse.osgi/trace/filename" value="runtime.traces"/>
-<mapEntry key="org.eclipse.wst.sse.ui/propertyChangeUpdateActionContributionItem" value="false"/>
-<mapEntry key="org.eclipse.wst.sse.ui/transferbuilder/time" value="false"/>
-<mapEntry key="org.eclipse.update.core/debug/web" value="false"/>
-<mapEntry key="com.ibm.wtp.common.util/debug/loglevel" value="WARNING"/>
-<mapEntry key="org.eclipse.core.runtime/registry/debug/resolve" value="true"/>
-<mapEntry key="org.eclipse.osgi/debug" value="false"/>
-<mapEntry key="com.omondo.uml.core/trace/level" value="error"/>
-<mapEntry key="org.eclipse.osgi/trace/activation" value="false"/>
-<mapEntry key="com.omondo.database/debug/debug" value="true"/>
-<mapEntry key="org.eclipse.jface.text/debug/AnnotationPainter" value="false"/>
-<mapEntry key="org.eclipse.wst.sse.ui/extendededitoractionbuilder/debugmenu" value="false"/>
-<mapEntry key="org.eclipse.ui/trace/part.activate" value="false"/>
-<mapEntry key="org.eclipse.osgi/resolver/imports" value="false"/>
-<mapEntry key="org.eclipse.osgi/eclipseadaptor/debug/platformadmin/resolver" value="false"/>
-<mapEntry key="org.eclipse.help.ui/debug/infopop" value="false"/>
-<mapEntry key="org.eclipse.osgi/trace/filters" value="trace.properties"/>
-<mapEntry key="org.eclipse.wst.sse.ui/debug" value="true"/>
-<mapEntry key="org.eclipse.wst.html.core/debug" value="true"/>
-<mapEntry key="org.eclipse.core.runtime/registry/debug/events/extension" value="true"/>
-<mapEntry key="org.eclipse.jem.ui/debug/logtracefile" value="default"/>
-<mapEntry key="org.eclipse.wst.javascript.core/debug" value="true"/>
-<mapEntry key="org.eclipse.team.cvs.core/debug" value="false"/>
-<mapEntry key="org.eclipse.team.cvs.core/threading" value="false"/>
-<mapEntry key="org.eclipse.osgi/resolver/debug" value="false"/>
-<mapEntry key="org.eclipse.update.core/debug/install" value="false"/>
-<mapEntry key="org.eclipse.ui/debug/internalerror/openDialog" value="false"/>
-<mapEntry key="org.eclipse.core.runtime/jobs/errorondeadlock" value="false"/>
-<mapEntry key="org.eclipse.help.ui/debug/embeddedBrowser/inprocess" value="false"/>
-<mapEntry key="org.eclipse.core.resources/debug" value="false"/>
-<mapEntry key="org.eclipse.osgi/profile/impl" value="org.eclipse.osgi.profile.DefaultProfileLogger"/>
-<mapEntry key="org.eclipse.osgi/profile/benchmark" value="false"/>
-<mapEntry key="org.eclipse.wst.internet.webbrowser/url" value="false"/>
-<mapEntry key="org.eclipse.team.cvs.core/cvsprotocol" value="true"/>
-<mapEntry key="org.eclipse.jdt.core/debug/postaction" value="false"/>
-<mapEntry key="org.eclipse.ui/trace/perspective.listeners" value="false"/>
-<mapEntry key="org.eclipse.osgi/debug/manifest" value="false"/>
-<mapEntry key="org.eclipse.help/debug/context" value="false"/>
-<mapEntry key="org.eclipse.jdt.core/debug/builder" value="false"/>
-<mapEntry key="org.eclipse.wst.sse.ui/actioncontributor/debugstatusfields" value="false"/>
-<mapEntry key="org.eclipse.osgi/resolver/requires" value="false"/>
-<mapEntry key="org.eclipse.wst.sse.ui/extendedconfigurationbuilder" value="true"/>
-<mapEntry key="org.eclipse.core.runtime/loader/debug/activateplugin" value="true"/>
-<mapEntry key="org.eclipse.team.cvs.ssh/debug" value="false"/>
-<mapEntry key="org.eclipse.wst.javascript.core/debug/tracefilter" value=""/>
-<mapEntry key="org.eclipse.ui/trace/handlers.verbose" value="false"/>
-<mapEntry key="org.eclipse.osgi/debug/startlevel" value="false"/>
-<mapEntry key="org.eclipse.update.core/debug/installhandler" value="false"/>
-<mapEntry key="com.omondo.database/debug/explorer" value="true"/>
-<mapEntry key="org.eclipse.jdt.core/debug/javadelta" value="false"/>
-<mapEntry key="org.eclipse.core.resources/restore/tree" value="false"/>
-<mapEntry key="org.eclipse.core.resources/preferences" value="false"/>
-<mapEntry key="org.eclipse.ui/trace/part.create" value="false"/>
-<mapEntry key="org.eclipse.help/debug/protocols" value="false"/>
-<mapEntry key="org.eclipse.help.base/debug/search" value="false"/>
-<mapEntry key="org.eclipse.wst.sse.ui/filemodelprovider/modelstatelistener" value="false"/>
-<mapEntry key="org.eclipse.core.resources/natures" value="false"/>
-<mapEntry key="org.eclipse.jem/debug/loglevel" value="default"/>
-<mapEntry key="org.eclipse.core.runtime/loader/debug/filter/native" value="*"/>
-<mapEntry key="org.eclipse.osgi/defaultprofile/buffersize" value="256"/>
-<mapEntry key="org.eclipse.osgi/resolver/cycles" value="false"/>
-<mapEntry key="org.eclipse.core.runtime/loader/debug/create" value="true"/>
-<mapEntry key="org.eclipse.ui/trace/keyBindings.verbose" value="false"/>
-<mapEntry key="org.eclipse.core.runtime/preferences/get" value="false"/>
-<mapEntry key="org.eclipse.wst.sse.core/filebuffers/modelmanagement" value="false"/>
-<mapEntry key="org.eclipse.core.runtime/perf/success" value="false"/>
-<mapEntry key="org.eclipse.core.runtime/compatibility/debug" value="true"/>
-<mapEntry key="org.eclipse.ui/debug/declaredImages" value="false"/>
-<mapEntry key="org.eclipse.pde.build/debug" value="false"/>
-<mapEntry key="org.eclipse.osgi/eclipseadaptor/debug/location" value="false"/>
-<mapEntry key="org.eclipse.ui/trace/contexts.verbose" value="false"/>
-<mapEntry key="org.eclipse.help.base/debug" value="true"/>
-<mapEntry key="org.eclipse.core.runtime/jobs" value="false"/>
-<mapEntry key="org.eclipse.jem.proxy/debug/logtrace" value="default"/>
-<mapEntry key="org.eclipse.core.runtime/contenttypes/debug" value="true"/>
-<mapEntry key="com.omondo.database/debug" value="true"/>
-<mapEntry key="org.eclipse.core.resources/strings" value="false"/>
-<mapEntry key="org.eclipse.jdt.ui/debug/checkCoreBindingGetJavaElement" value="false"/>
-<mapEntry key="org.eclipse.core.resources/save/metainfo" value="false"/>
-<mapEntry key="org.eclipse.wst.server.ui/debug" value="true"/>
-<mapEntry key="org.eclipse.core.runtime/timing/startup" value="true"/>
-<mapEntry key="org.eclipse.wst.sse.core/builder" value="false"/>
-<mapEntry key="org.eclipse.core.runtime/perf" value="false"/>
-<mapEntry key="org.eclipse.jst.jsp.core/debug/tldcmdocument/factory" value="false"/>
-<mapEntry key="org.eclipse.ui/trace/page.listeners" value="false"/>
-<mapEntry key="org.eclipse.ui/debug/job.stale" value="false"/>
-<mapEntry key="org.eclipse.jdt.ui/debug/allTypesCache" value="false"/>
-<mapEntry key="org.eclipse.jem.proxy/debug/logtracefile" value="default"/>
-<mapEntry key="org.eclipse.jst.jsp.core/debug/jsptranslation" value="false"/>
-<mapEntry key="org.eclipse.wst.sse.core/builder/modelprovider" value="false"/>
-<mapEntry key="org.eclipse.jdt.core/debug/completion" value="false"/>
-<mapEntry key="org.eclipse.osgi/eclipseadaptor/debug" value="false"/>
-<mapEntry key="org.eclipse.wst.sse.core/debug" value="true"/>
-<mapEntry key="org.eclipse.jdt.core/debug/indexmanager" value="false"/>
-<mapEntry key="org.eclipse.wst.internet.monitor.core/debug" value="true"/>
-<mapEntry key="org.eclipse.wst.sse.ui/storagemodelprovider/operations" value="false"/>
-<mapEntry key="org.eclipse.osgi/debug/loader" value="false"/>
-<mapEntry key="org.eclipse.wtp.common/debug/logtrace" value="false"/>
-<mapEntry key="org.eclipse.wst.html.core/debug/tracefilter" value=""/>
-<mapEntry key="org.eclipse.jst.jsp.core/debug" value="true"/>
-<mapEntry key="org.eclipse.osgi/defaultprofile/logsynchronously" value="false"/>
-<mapEntry key="org.eclipse.osgi/trace/classLoading" value="false"/>
-<mapEntry key="org.eclipse.wst.sse.ui/extendededitoractionbuilder/readtime" value="false"/>
-<mapEntry key="com.omondo.database/debug/error" value="true"/>
-<mapEntry key="org.eclipse.core.runtime/debug" value="true"/>
-<mapEntry key="org.eclipse.ui/trace/handlers.verbose.commandId" value=""/>
-<mapEntry key="org.eclipse.osgi/debug/filter" value="false"/>
-<mapEntry key="com.omondo.database/debug/warning" value="true"/>
-<mapEntry key="org.eclipse.wst.sse.core/structuredmodel/lifecycle" value="false"/>
-<mapEntry key="org.eclipse.ui/trace/part.listeners" value="false"/>
-<mapEntry key="org.eclipse.jdt.ui/debug/ASTProvider" value="false"/>
-<mapEntry key="org.eclipse.jst.jsp.core/taglib/resolve" value="false"/>
-<mapEntry key="com.omondo.uml.core/trace/module/viewEvent" value="false"/>
-<mapEntry key="org.eclipse.core.runtime/loader/debug/filter/class" value="*"/>
-<mapEntry key="org.eclipse.core.runtime/jobs/timing" value="false"/>
-<mapEntry key="org.eclipse.wst.sse.ui/filemodelprovider/operations" value="false"/>
-<mapEntry key="org.eclipse.core.runtime/loader/debug/prefixes/failure" value="true"/>
-<mapEntry key="org.eclipse.wtp.common/debug/loglevel" value="WARNING"/>
-<mapEntry key="org.eclipse.help.webapp/debug/workingsets" value="false"/>
-<mapEntry key="org.eclipse.osgi/defaultprofile/logfilename" value=""/>
-<mapEntry key="org.eclipse.core.runtime/loader/debug/filter/loader" value="*"/>
-<mapEntry key="org.eclipse.jem/debug/logtrace" value="default"/>
-<mapEntry key="org.eclipse.core.runtime/loader/debug/actions" value="true"/>
-<mapEntry key="org.eclipse.wst.sse.core/debug/tracefilter" value=""/>
-<mapEntry key="org.eclipse.core.runtime/url/debug/connect" value="false"/>
-<mapEntry key="org.eclipse.jface.text/debug/ContentAssistSubjectAdapters" value="false"/>
-<mapEntry key="org.eclipse.wst.sse.core/builder/participant/tasktag" value="false"/>
-<mapEntry key="org.eclipse.core.resources/restore/markers" value="false"/>
-<mapEntry key="com.omondo.uml.std/trace/module/modelMapper" value="false"/>
-<mapEntry key="org.eclipse.ui/trace/graphics" value="false"/>
-<mapEntry key="org.eclipse.jdt.core/debug/resolution" value="false"/>
-<mapEntry key="com.omondo.database/debug/trace" value="true"/>
-<mapEntry key="org.eclipse.jst.jsp.core/taglib/indexcreation" value="false"/>
-<mapEntry key="org.eclipse.team.cvs.ssh/ssh_protocol" value="false"/>
-<mapEntry key="org.eclipse.core.resources/perf/snapshot" value="500"/>
-<mapEntry key="org.eclipse.core.runtime/registry/debug" value="true"/>
-<mapEntry key="com.omondo.uml.core/trace/module/UMLPlugin" value="false"/>
-<mapEntry key="org.eclipse.osgi/debug/packages" value="false"/>
-<mapEntry key="org.eclipse.core.runtime/loader/debug/prefixes" value="true"/>
-<mapEntry key="org.eclipse.wst.sse.core/participantregistry" value="false"/>
-<mapEntry key="org.eclipse.wst.sse.core/dom/adapter/notification/time" value="false"/>
-<mapEntry key="org.eclipse.osgi/eclipseadaptor/converter/debug" value="false"/>
-<mapEntry key="org.eclipse.wst.internet.webbrowser/debug" value="true"/>
-<mapEntry key="org.eclipse.wtp.common/debug/logtracefile" value="false"/>
-<mapEntry key="org.eclipse.osgi/eclipseadaptor/debug/platformadmin" value="false"/>
-<mapEntry key="org.eclipse.help.ui/debug/embeddedBrowser" value="false"/>
-<mapEntry key="org.eclipse.core.runtime/preferences/set" value="false"/>
-<mapEntry key="org.eclipse.team.core/streams" value="false"/>
-<mapEntry key="org.eclipse.core.runtime/jobs/locks" value="false"/>
-<mapEntry key="org.eclipse.ui/trace/keyBindings" value="false"/>
-<mapEntry key="org.eclipse.jdt.ui/debug/TypeConstraints" value="false"/>
-<mapEntry key="org.eclipse.core.runtime/registry/debug/dump" value=""/>
-<mapEntry key="org.eclipse.jst.jsp.core/taglib/indextime" value="false"/>
-<mapEntry key="org.eclipse.core.resources/build/delta" value="false"/>
-<mapEntry key="org.eclipse.jdt.core/debug/search" value="false"/>
-<mapEntry key="org.eclipse.jdt.ui/debug/checkCoreBindingIsEqualTo" value="false"/>
-<mapEntry key="org.eclipse.jdt.core/debug/compiler" value="false"/>
-<mapEntry key="org.eclipse.jst.server.tomcat.core/debug" value="true"/>
-<mapEntry key="org.eclipse.jdt.ui/debug" value="true"/>
-<mapEntry key="org.eclipse.core.runtime/registry/debug/events/plugin" value="true"/>
-<mapEntry key="org.eclipse.wst.sse.core/dom/adapter/notification/time/criteria" value="10"/>
-<mapEntry key="org.eclipse.update.core/debug/configuration" value="false"/>
-<mapEntry key="org.eclipse.jem.beaninfo/debug/logtrace" value="default"/>
-<mapEntry key="org.eclipse.jem.beaninfo/debug/logtracefile" value="default"/>
-<mapEntry key="org.eclipse.jem.ui/debug/logtrace" value="default"/>
-<mapEntry key="org.eclipse.help.webapp/debug" value="true"/>
-<mapEntry key="org.eclipse.jdt.core/debug/hierarchy" value="false"/>
-<mapEntry key="org.eclipse.wst.sse.core/filebuffers/lifecycle" value="false"/>
-<mapEntry key="org.eclipse.core.resources/refresh" value="false"/>
-<mapEntry key="org.eclipse.team.core/backgroundevents" value="false"/>
-<mapEntry key="org.eclipse.jdt.core/debug/cpresolution" value="false"/>
-<mapEntry key="org.eclipse.jem.proxy/debug/loglevel" value="default"/>
-<mapEntry key="org.eclipse.update.core/debug/warning" value="false"/>
-<mapEntry key="org.eclipse.jem.beaninfo/debug/loglevel" value="default"/>
-<mapEntry key="org.eclipse.core.resources/save" value="false"/>
-<mapEntry key="org.eclipse.wst.sse.ui/filemodelprovider/lifecyclelistener" value="false"/>
-<mapEntry key="org.eclipse.jem/debug/logtracefile" value="default"/>
-<mapEntry key="org.eclipse.update.core/debug/parsing" value="false"/>
-<mapEntry key="com.omondo.database/debug/info" value="true"/>
-<mapEntry key="org.eclipse.core.resources/restore/syncinfo" value="false"/>
-<mapEntry key="org.eclipse.core.runtime/preferences/general" value="false"/>
-<mapEntry key="org.eclipse.team.core/threading" value="false"/>
-<mapEntry key="org.eclipse.core.runtime/url/debug/cachelookup" value="false"/>
-<mapEntry key="org.eclipse.osgi/debug/packageadmin/timing" value="false"/>
-<mapEntry key="org.eclipse.update.core/debug/reconciler" value="false"/>
-<mapEntry key="org.eclipse.osgi/debug/security" value="false"/>
-<mapEntry key="org.eclipse.jem.proxy/remote/debug/debugvm" value="false"/>
-<mapEntry key="org.eclipse.jst.jsp.core/debug/tracefilter" value=""/>
-<mapEntry key="org.eclipse.core.resources/save/syncinfo" value="false"/>
-<mapEntry key="org.eclipse.osgi/profile/startup" value="false"/>
-<mapEntry key="org.eclipse.core.runtime/loader/debug/filter/resource" value="*"/>
-<mapEntry key="org.eclipse.osgi/debug/services" value="false"/>
-<mapEntry key="com.omondo.database/debug/fatal" value="true"/>
-<mapEntry key="com.omondo.uml.std/trace/module/modelJavaEvent" value="false"/>
-<mapEntry key="org.eclipse.core.resources/save/markers" value="false"/>
-<mapEntry key="org.eclipse.osgi/monitor/resources" value="false"/>
-<mapEntry key="org.eclipse.jem.proxy/remote/debug/ioconsole" value="false"/>
-<mapEntry key="org.eclipse.wst.sse.ui/extendededitoractionbuilder/debugpopup" value="false"/>
-<mapEntry key="org.eclipse.jem.ui/debug/loglevel" value="default"/>
-<mapEntry key="org.eclipse.jdt.core/debug/selection" value="false"/>
-<mapEntry key="org.eclipse.ui/trace/workbench.restore" value="false"/>
-<mapEntry key="org.eclipse.core.resources/restore/snapshots" value="false"/>
-<mapEntry key="org.eclipse.team.cvs.core/dirtycaching" value="false"/>
-<mapEntry key="org.eclipse.jdt.core/debug/zipaccess" value="false"/>
-<mapEntry key="org.eclipse.wst.sse.ui/extendededitoractionbuilder" value="true"/>
-<mapEntry key="org.eclipse.core.runtime/url/debug/cachecopy" value="false"/>
-<mapEntry key="org.eclipse.core.runtime/loader/debug/properties" value="true"/>
-<mapEntry key="org.eclipse.wst.css.core/debug" value="true"/>
-<mapEntry key="org.eclipse.ui/trace/include.timings" value="true"/>
-<mapEntry key="org.eclipse.osgi/debug/bundleTime" value="false"/>
-<mapEntry key="org.eclipse.core.runtime/jobs/beginend" value="false"/>
-<mapEntry key="org.eclipse.wst.sse.ui/extendededitoractionbuilder/debugtoolbar" value="false"/>
-<mapEntry key="org.eclipse.team.cvs.core/metafiles" value="false"/>
-<mapEntry key="org.eclipse.team.core/debug" value="false"/>
-<mapEntry key="org.eclipse.wst.sse.ui/storagemodelprovider/elementstatelistener" value="false"/>
-<mapEntry key="org.eclipse.wst.sse.ui/extendededitoractionbuilder/contributetime" value="false"/>
-<mapEntry key="org.eclipse.osgi/debug/events" value="false"/>
-<mapEntry key="org.eclipse.wst.xml.core/debug" value="true"/>
-<mapEntry key="org.eclipse.core.runtime/loader/debug/prefixes/success" value="true"/>
-<mapEntry key="org.eclipse.osgi/debug/monitorbundles" value="false"/>
-<mapEntry key="org.eclipse.core.runtime/debug/pluginstopper" value="true"/>
-<mapEntry key="org.eclipse.ui/trace/workbench.start" value="false"/>
-<mapEntry key="org.eclipse.jst.jsp.core/partitioner/prefixlistener" value="false"/>
-<mapEntry key="org.eclipse.wst.server.ui/editor" value="false"/>
-<mapEntry key="org.eclipse.osgi/resolver/wiring" value="false"/>
-<mapEntry key="org.eclipse.osgi/profile/debug" value="false"/>
-<mapEntry key="org.eclipse.ui/trace/contexts" value="false"/>
-<mapEntry key="org.eclipse.core.resources/build/invoking" value="false"/>
-<mapEntry key="org.eclipse.core.runtime/loader/debug/failure" value="true"/>
-<mapEntry key="org.eclipse.ui/debug/uijob.longwarning" value="false"/>
-<mapEntry key="org.eclipse.core.resources/perf/builders" value="10000"/>
-<mapEntry key="org.eclipse.update.core/debug/type" value="false"/>
-<mapEntry key="org.eclipse.core.resources/history" value="false"/>
-<mapEntry key="org.eclipse.team.core/refreshjob" value="false"/>
-<mapEntry key="org.eclipse.ui.intro/debug" value="true"/>
-<mapEntry key="org.eclipse.wst.sse.core/resourcechangehandling" value="false"/>
-<mapEntry key="org.eclipse.debug.core/debug" value="false"/>
-<mapEntry key="org.eclipse.help/debug" value="true"/>
-<mapEntry key="org.eclipse.ui/trace/perspective" value="false"/>
-<mapEntry key="org.eclipse.ui/debug" value="false"/>
-<mapEntry key="org.eclipse.osgi/debug/packageadmin" value="false"/>
-<mapEntry key="org.eclipse.core.resources/build/failure" value="false"/>
-<mapEntry key="org.eclipse.ui/trace/handlers" value="false"/>
-<mapEntry key="org.eclipse.core.resources/save/tree" value="false"/>
-<mapEntry key="org.eclipse.wst.sse.ui/debug/tracefilter" value=""/>
-<mapEntry key="org.eclipse.core.runtime/config/debug" value="true"/>
-<mapEntry key="org.eclipse.help.ui/debug" value="true"/>
-<mapEntry key="org.eclipse.core.resources/restore/metainfo" value="false"/>
-<mapEntry key="org.eclipse.wst.sse.core/builder/time" value="false"/>
-<mapEntry key="org.eclipse.core.resources/save/mastertable" value="false"/>
-<mapEntry key="com.ibm.wtp.common.util/debug/logtracefile" value="false"/>
-<mapEntry key="org.eclipse.core.runtime/perf/failure" value="false"/>
-<mapEntry key="org.eclipse.wst.sse.ui/extendedconfigurationbuilder/time" value="false"/>
-<mapEntry key="org.eclipse.jdt.core/debug/buffermanager" value="false"/>
-<mapEntry key="org.eclipse.wst.internet.monitor.core/parsing" value="false"/>
-<mapEntry key="org.eclipse.wst.server.core/debug" value="true"/>
-<mapEntry key="org.eclipse.osgi/resolver/grouping" value="false"/>
-<mapEntry key="org.eclipse.core.runtime/loader/debug/success" value="true"/>
-<mapEntry key="org.eclipse.ui.intro/trace/logInfo" value="true"/>
-<mapEntry key="org.eclipse.core.resources/restore/mastertable" value="false"/>
-</mapAttribute>
-<stringAttribute key="org.eclipse.hyades.trace.ui.ATTR_DESTINATION_FILE" value=""/>
-<stringAttribute key="org.eclipse.hyades.trace.ui.ATTR_DATA_COLLECTOR" value="org.eclipse.tptp.trace.ui.jvmpiMechanism:org.eclipse.tptp.analysisType.execution,org.eclipse.tptp.analysisType.methodCoverage"/>
-<intAttribute key="org.eclipse.hyades.trace.ui.ATTR_EXEC_POLLING_FREQ" value="60"/>
-<stringAttribute key="location3" value="runtime-embedded"/>
-<booleanAttribute key="automaticAdd" value="false"/>
-<stringAttribute key="checked" value="org.eclipse.core.runtime"/>
-<booleanAttribute key="org.eclipse.hyades.trace.ui.ATTR_SHOW_EXEC_CPU_TIME" value="true"/>
-<booleanAttribute key="includeFragments" value="true"/>
-<booleanAttribute key="org.eclipse.hyades.trace.ui.ATTR_PROFILE_TO_FILE" value="false"/>
-<stringAttribute key="location" value="/ws.rt/cdo.server"/>
-<stringAttribute key="selected_workspace_plugins" value="org.eclipse.emf.cdo.jdbc,org.eclipse.net4j.spring,org.eclipse.net4j.socket,org.eclipse.net4j.core,org.eclipse.net4j.spring.db,org.eclipse.emf.cdo.dbgen,org.eclipse.net4j.examples.server,org.eclipse.emf.cdo.examples.server,org.eclipse.emf.cdo.core,org.eclipse.net4j.util,org.eclipse.emf.cdo.server,org.eclipse.emf.cdo.dbgen.oracle,org.eclipse.emf.cdo.jdbc.hsqldb,org.eclipse.emf.cdo.jdbc.mysql,org.eclipse.emf.cdo.dbgen.ansi92,org.eclipse.emf.cdo.dbgen.mysql,org.eclipse.emf.cdo.dbgen.hsqldb"/>
-<stringAttribute key="location4" value="C:\workspaces\runtime-workspace"/>
-<booleanAttribute key="org.eclipse.hyades.trace.ui.ATTR_SHOW_EXEC_INSTANCES" value="false"/>
-<stringAttribute key="application" value="org.eclipse.net4j.examples.server.application"/>
-<stringAttribute key="configLocation" value=""/>
-<stringAttribute key="org.eclipse.hyades.trace.ui.ATTR_DESTINATION_MONITOR" value="DefaultMonitor"/>
-<booleanAttribute key="org.eclipse.hyades.trace.ui.ATTR_EXEC_POLLING_FREQ_MODE" value="true"/>
-<booleanAttribute key="clearws" value="false"/>
-<stringAttribute key="location1" value="../cdo.embedded"/>
-<stringAttribute key="pde.version" value="3.2a"/>
-<stringAttribute key="templateConfig" value=""/>
-<booleanAttribute key="default" value="false"/>
-<booleanAttribute key="clearConfig" value="false"/>
-<booleanAttribute key="org.eclipse.debug.core.appendEnvironmentVariables" value="true"/>
-<stringAttribute key="org.eclipse.jdt.launching.SOURCE_PATH_PROVIDER" value="org.eclipse.pde.ui.workbenchClasspathProvider"/>
-<booleanAttribute key="useDefaultConfigArea" value="true"/>
-<booleanAttribute key="org.eclipse.hyades.trace.ui.ATTR_SHOW_EXEC_BOUNDARY_CLASS" value="false"/>
-<booleanAttribute key="useDefaultConfig" value="true"/>
-<booleanAttribute key="askclear" value="false"/>
-<booleanAttribute key="includeOptional" value="true"/>
-<stringAttribute key="org.eclipse.hyades.trace.ui.ATTR_DESTINATION_PROJECT" value="ProfileProject"/>
-<booleanAttribute key="org.eclipse.hyades.trace.ui.ATTR_SHOW_EXECUTION_FLOW" value="false"/>
-<intAttribute key="org.eclipse.hyades.trace.ui.ATTR_SHOW_EXEC_BOUNDARY_CLASS_DEPTH" value="1"/>
-</launchConfiguration>
diff --git a/plugins/org.eclipse.emf.cdo.examples.server/license.html b/plugins/org.eclipse.emf.cdo.examples.server/license.html
deleted file mode 100644
index d7b88e9..0000000
--- a/plugins/org.eclipse.emf.cdo.examples.server/license.html
+++ /dev/null
@@ -1,319 +0,0 @@
-<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40"><head>
-<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
-<meta name="ProgId" content="Word.Document">
-<meta name="Generator" content="Microsoft Word 9">
-<meta name="Originator" content="Microsoft Word 9">
-<link rel="File-List" href="http://www.eclipse.org/org/documents/Eclipse%20EPL%202003_11_10%20Final_files/filelist.xml"><title>Eclipse Public License - Version 1.0</title><!--[if gte mso 9]><xml>
- <o:DocumentProperties>
- <o:Revision>2</o:Revision>
- <o:TotalTime>3</o:TotalTime>
- <o:Created>2004-03-05T23:03:00Z</o:Created>
- <o:LastSaved>2004-03-05T23:03:00Z</o:LastSaved>
- <o:Pages>4</o:Pages>
- <o:Words>1626</o:Words>
- <o:Characters>9270</o:Characters>
- <o:Lines>77</o:Lines>
- <o:Paragraphs>18</o:Paragraphs>
- <o:CharactersWithSpaces>11384</o:CharactersWithSpaces>
- <o:Version>9.4402</o:Version>
- </o:DocumentProperties>
-</xml><![endif]--><!--[if gte mso 9]><xml>
- <w:WordDocument>
- <w:TrackRevisions/>
- </w:WordDocument>
-</xml><![endif]-->
-
-
-<style>
-<!--
- /* Font Definitions */
-@font-face
- {font-family:Tahoma;
- panose-1:2 11 6 4 3 5 4 4 2 4;
- mso-font-charset:0;
- mso-generic-font-family:swiss;
- mso-font-pitch:variable;
- mso-font-signature:553679495 -2147483648 8 0 66047 0;}
- /* Style Definitions */
-p.MsoNormal, li.MsoNormal, div.MsoNormal
- {mso-style-parent:"";
- margin:0in;
- margin-bottom:.0001pt;
- mso-pagination:widow-orphan;
- font-size:12.0pt;
- font-family:"Times New Roman";
- mso-fareast-font-family:"Times New Roman";}
-p
- {margin-right:0in;
- mso-margin-top-alt:auto;
- mso-margin-bottom-alt:auto;
- margin-left:0in;
- mso-pagination:widow-orphan;
- font-size:12.0pt;
- font-family:"Times New Roman";
- mso-fareast-font-family:"Times New Roman";}
-p.BalloonText, li.BalloonText, div.BalloonText
- {mso-style-name:"Balloon Text";
- margin:0in;
- margin-bottom:.0001pt;
- mso-pagination:widow-orphan;
- font-size:8.0pt;
- font-family:Tahoma;
- mso-fareast-font-family:"Times New Roman";}
-@page Section1
- {size:8.5in 11.0in;
- margin:1.0in 1.25in 1.0in 1.25in;
- mso-header-margin:.5in;
- mso-footer-margin:.5in;
- mso-paper-source:0;}
-div.Section1
- {page:Section1;}
--->
-</style></head>
-
-<body style="" lang="EN-US">
-
-<div class="Section1">
-
-<p style="text-align: center;" align="center"><b>Eclipse Public License - v 1.0</b>
-</p>
-
-<p><span style="font-size: 10pt;">THE ACCOMPANYING PROGRAM IS PROVIDED UNDER
-THE TERMS OF THIS ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE,
-REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE
-OF THIS AGREEMENT.</span> </p>
-
-<p><b><span style="font-size: 10pt;">1. DEFINITIONS</span></b> </p>
-
-<p><span style="font-size: 10pt;">"Contribution" means:</span> </p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">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:</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">i)
-changes to the Program, and</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">ii)
-additions to the Program;</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">where
-such changes and/or additions to the Program originate from and are distributed
-by that particular Contributor. 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. 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. </span></p>
-
-<p><span style="font-size: 10pt;">"Contributor" means any person or
-entity that distributes the Program.</span> </p>
-
-<p><span style="font-size: 10pt;">"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. </span></p>
-
-<p><span style="font-size: 10pt;">"Program" means the Contributions
-distributed in accordance with this Agreement.</span> </p>
-
-<p><span style="font-size: 10pt;">"Recipient" means anyone who
-receives the Program under this Agreement, including all Contributors.</span> </p>
-
-<p><b><span style="font-size: 10pt;">2. GRANT OF RIGHTS</span></b> </p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
-Subject to the terms of this Agreement, each Contributor hereby grants Recipient
-a non-exclusive, worldwide, royalty-free copyright license to<span style="color: red;"> </span>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.</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">b)
-Subject to the terms of this Agreement, each Contributor hereby grants
-Recipient a non-exclusive, worldwide,<span style="color: green;"> </span>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. </span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">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.</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">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. </span></p>
-
-<p><b><span style="font-size: 10pt;">3. REQUIREMENTS</span></b> </p>
-
-<p><span style="font-size: 10pt;">A Contributor may choose to distribute the
-Program in object code form under its own license agreement, provided that:</span>
-</p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
-it complies with the terms and conditions of this Agreement; and</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">b)
-its license agreement:</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">i)
-effectively disclaims 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; </span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">ii)
-effectively excludes on behalf of all Contributors all liability for damages,
-including direct, indirect, special, incidental and consequential damages, such
-as lost profits; </span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">iii)
-states that any provisions which differ from this Agreement are offered by that
-Contributor alone and not by any other party; and</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">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.<span style="color: blue;"> </span></span></p>
-
-<p><span style="font-size: 10pt;">When the Program is made available in source
-code form:</span> </p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
-it must be made available under this Agreement; and </span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">b) a
-copy of this Agreement must be included with each copy of the Program. </span></p>
-
-<p><span style="font-size: 10pt;">Contributors may not remove or alter any
-copyright notices contained within the Program. </span></p>
-
-<p><span style="font-size: 10pt;">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. </span></p>
-
-<p><b><span style="font-size: 10pt;">4. COMMERCIAL DISTRIBUTION</span></b> </p>
-
-<p><span style="font-size: 10pt;">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.</span> </p>
-
-<p><span style="font-size: 10pt;">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.</span> </p>
-
-<p><b><span style="font-size: 10pt;">5. NO WARRANTY</span></b> </p>
-
-<p><span style="font-size: 10pt;">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 solely
-responsible for determining the appropriateness of using and distributing the
-Program and assumes all risks associated with its exercise of rights under this
-Agreement , including but not limited to the risks and costs of program errors,
-compliance with applicable laws, damage to or loss of data, programs or
-equipment, and unavailability or interruption of operations. </span></p>
-
-<p><b><span style="font-size: 10pt;">6. DISCLAIMER OF LIABILITY</span></b> </p>
-
-<p><span style="font-size: 10pt;">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
-(INCLUDING WITHOUT LIMITATION LOST PROFITS), 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.</span> </p>
-
-<p><b><span style="font-size: 10pt;">7. GENERAL</span></b> </p>
-
-<p><span style="font-size: 10pt;">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.</span> </p>
-
-<p><span style="font-size: 10pt;">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. </span></p>
-
-<p><span style="font-size: 10pt;">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. </span></p>
-
-<p><span style="font-size: 10pt;">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 publish new versions (including revisions) of
-this Agreement from time to time. No one other than the Agreement Steward has
-the right to modify this Agreement. The Eclipse Foundation is the initial
-Agreement Steward. The Eclipse Foundation may assign the responsibility to
-serve as the Agreement Steward to a suitable separate entity. 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 version. 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, by implication, estoppel or otherwise. All rights in the Program not
-expressly granted under this Agreement are reserved.</span> </p>
-
-<p><span style="font-size: 10pt;">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.</span> </p>
-
-<p class="MsoNormal"><!--[if !supportEmptyParas]-->&nbsp;<!--[endif]--><o:p></o:p></p>
-
-</div>
-
-</body></html> \ No newline at end of file
diff --git a/plugins/org.eclipse.emf.cdo.examples.server/plugin.properties b/plugins/org.eclipse.emf.cdo.examples.server/plugin.properties
deleted file mode 100644
index d2e5b31..0000000
--- a/plugins/org.eclipse.emf.cdo.examples.server/plugin.properties
+++ /dev/null
@@ -1,2 +0,0 @@
-pluginName = CDO Example Server
-providerName = Eclipse.org
diff --git a/plugins/org.eclipse.emf.cdo.examples.server/plugin.xml b/plugins/org.eclipse.emf.cdo.examples.server/plugin.xml
deleted file mode 100644
index cf01976..0000000
--- a/plugins/org.eclipse.emf.cdo.examples.server/plugin.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.0"?>
-
-<plugin>
-
- <extension
- point="org.eclipse.net4j.examples.server.backends">
- <backend
- className="org.eclipse.emf.cdo.examples.server.internal.CDOServerBackendInitializer"
- name="cdo"/>
- </extension>
-
-</plugin>
diff --git a/plugins/org.eclipse.emf.cdo.examples.server/src/org/eclipse/emf/cdo/examples/server/internal/CDOServerBackendInitializer.java b/plugins/org.eclipse.emf.cdo.examples.server/src/org/eclipse/emf/cdo/examples/server/internal/CDOServerBackendInitializer.java
deleted file mode 100644
index a72e1f4..0000000
--- a/plugins/org.eclipse.emf.cdo.examples.server/src/org/eclipse/emf/cdo/examples/server/internal/CDOServerBackendInitializer.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/***************************************************************************
- * Copyright (c) 2004-2006 Eike Stepper, Fuggerstr. 39, 10777 Berlin, Germany.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Eike Stepper - initial API and implementation
- **************************************************************************/
-package org.eclipse.emf.cdo.examples.server.internal;
-
-
-import org.eclipse.net4j.examples.server.internal.AbstractBackendInitializer;
-import org.eclipse.net4j.spring.Container;
-
-
-public class CDOServerBackendInitializer extends AbstractBackendInitializer
-{
- public CDOServerBackendInitializer()
- {
- }
-
- @Override
- protected Container initialize()
- {
- return CDOServerPlugin.getServerContainer();
- }
-}
diff --git a/plugins/org.eclipse.emf.cdo.examples.server/src/org/eclipse/emf/cdo/examples/server/internal/CDOServerPlugin.java b/plugins/org.eclipse.emf.cdo.examples.server/src/org/eclipse/emf/cdo/examples/server/internal/CDOServerPlugin.java
deleted file mode 100644
index a64d11c..0000000
--- a/plugins/org.eclipse.emf.cdo.examples.server/src/org/eclipse/emf/cdo/examples/server/internal/CDOServerPlugin.java
+++ /dev/null
@@ -1,100 +0,0 @@
-/***************************************************************************
- * Copyright (c) 2004, 2005, 2006 Eike Stepper, Fuggerstr. 39, 10777 Berlin, Germany.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Eike Stepper - initial API and implementation
- **************************************************************************/
-package org.eclipse.emf.cdo.examples.server.internal;
-
-
-import org.eclipse.net4j.examples.server.internal.ExampleServerPlugin;
-import org.eclipse.net4j.spring.Container;
-import org.eclipse.net4j.spring.ContainerCreationException;
-import org.eclipse.net4j.spring.impl.ContainerImpl;
-import org.eclipse.net4j.util.eclipse.AbstractPlugin;
-
-import java.io.IOException;
-
-
-/**
- * The main plugin class to be used in the desktop.
- */
-public class CDOServerPlugin extends AbstractPlugin
-{
- public static final String CONTEXT_PATH = "META-INF/";
-
- //The shared instance.
- private static CDOServerPlugin plugin;
-
- private static Container container;
-
- private static Container serverContainer;
-
- /**
- * The constructor.
- */
- public CDOServerPlugin()
- {
- if (plugin == null) plugin = this;
- }
-
- /**
- * Returns the shared instance.
- */
- public static CDOServerPlugin getDefault()
- {
- return plugin;
- }
-
- protected void doStart() throws Exception
- {
- getServerContainer();
- }
-
- protected void doStop() throws Exception
- {
- if (serverContainer != null)
- {
- serverContainer.stop();
- serverContainer = null;
- }
-
- if (container != null)
- {
- container.stop();
- container = null;
- }
-
- plugin = null;
- }
-
- public static Container getServerContainer()
- {
- if (serverContainer == null)
- {
- String baseResourcePath;
-
- try
- {
- baseResourcePath = getBundleLocation(getDefault().getBundle());
- }
- catch (IOException ex)
- {
- throw new ContainerCreationException("Error while computing location of bundle "
- + getDefault().getBundle(), ex);
- }
-
- String location = CONTEXT_PATH + "server.xml";
- String name = "server";
- Container parent = ExampleServerPlugin.getNet4jContainer();
- ClassLoader classLoader = getDefault().getClassLoader();
- serverContainer = new ContainerImpl(baseResourcePath, location, name, parent, classLoader);
- }
-
- return serverContainer;
- }
-}
diff --git a/plugins/org.eclipse.emf.cdo/.project b/plugins/org.eclipse.emf.cdo/.project
deleted file mode 100644
index 4d421db..0000000
--- a/plugins/org.eclipse.emf.cdo/.project
+++ /dev/null
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.emf.cdo</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <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>
- </natures>
-</projectDescription>
diff --git a/plugins/org.eclipse.emf.cdo/META-INF/MANIFEST.MF b/plugins/org.eclipse.emf.cdo/META-INF/MANIFEST.MF
deleted file mode 100644
index 652bb9b..0000000
--- a/plugins/org.eclipse.emf.cdo/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,8 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: %pluginName
-Bundle-SymbolicName: org.eclipse.emf.cdo
-Bundle-Version: 1.0.0.qualifier
-Bundle-Vendor: %providerName
-Bundle-Localization: plugin
-Eclipse-LazyStart: true
diff --git a/plugins/org.eclipse.emf.cdo/about.html b/plugins/org.eclipse.emf.cdo/about.html
deleted file mode 100644
index 8e06e65..0000000
--- a/plugins/org.eclipse.emf.cdo/about.html
+++ /dev/null
@@ -1,29 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
-<title>About</title>
-</head>
-<body lang="EN-US">
-
-<h2>About This Content</h2>
-
-<p>May 2, 2006</p>
-<h3>License</h3>
-
-<p>The Eclipse Foundation 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
-Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available
-at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
-For purposes of the EPL, "Program" will mean the Content.</p>
-
-<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is
-being redistributed by another party ("Redistributor") and different terms and conditions may
-apply to your use of any object code in the Content. Check the Redistributor's license that was
-provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise
-indicated below, the terms and conditions of the EPL still apply to any source code in the Content
-and such source code may be obtained at <a href="http://www.eclipse.org/">http://www.eclipse.org</a>.</p>
-
-</body>
-</html>
diff --git a/plugins/org.eclipse.emf.cdo/about.ini b/plugins/org.eclipse.emf.cdo/about.ini
deleted file mode 100644
index c96a946..0000000
--- a/plugins/org.eclipse.emf.cdo/about.ini
+++ /dev/null
@@ -1,17 +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=%featureText
-
-# Property "featureImage" contains path to feature image (32x32)
-featureImage=eclipse32.png
-
-# Property "appName" contains name of the application (translated)
-appName=%featureName
-
-# Property "welcomePage" contains path to welcome page (special XML-based format)
-welcomePage=$nl$/welcome.xml
diff --git a/plugins/org.eclipse.emf.cdo/about.mappings b/plugins/org.eclipse.emf.cdo/about.mappings
deleted file mode 100644
index a28390a..0000000
--- a/plugins/org.eclipse.emf.cdo/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@
diff --git a/plugins/org.eclipse.emf.cdo/about.properties b/plugins/org.eclipse.emf.cdo/about.properties
deleted file mode 100644
index b49c993..0000000
--- a/plugins/org.eclipse.emf.cdo/about.properties
+++ /dev/null
@@ -1,12 +0,0 @@
-# NLS_MESSAGEFORMAT_VAR
-
-featureName=CDO
-
-featureText=CDO \n\
-Version: {featureVersion}\n\
-Build id: {0}\n\
-\n\
-(c) Copyright Eclipse contributors and others. 2002, 2006. All rights reserved.\n\
-\n\
-Visit http://www.eclipse.org/emft/projects/cdo
-
diff --git a/plugins/org.eclipse.emf.cdo/build.properties b/plugins/org.eclipse.emf.cdo/build.properties
deleted file mode 100644
index 8eb0d91..0000000
--- a/plugins/org.eclipse.emf.cdo/build.properties
+++ /dev/null
@@ -1,11 +0,0 @@
-bin.includes = about.html,\
- about.ini,\
- about.mappings,\
- about.properties,\
- plugin.xml,\
- plugin.properties,\
- eclipse32.png,\
- META-INF/,\
- eclipse32.gif,\
- license.html
- \ No newline at end of file
diff --git a/plugins/org.eclipse.emf.cdo/eclipse32.gif b/plugins/org.eclipse.emf.cdo/eclipse32.gif
deleted file mode 100644
index 811eccb..0000000
--- a/plugins/org.eclipse.emf.cdo/eclipse32.gif
+++ /dev/null
Binary files differ
diff --git a/plugins/org.eclipse.emf.cdo/eclipse32.png b/plugins/org.eclipse.emf.cdo/eclipse32.png
deleted file mode 100644
index 568fac1..0000000
--- a/plugins/org.eclipse.emf.cdo/eclipse32.png
+++ /dev/null
Binary files differ
diff --git a/plugins/org.eclipse.emf.cdo/license.html b/plugins/org.eclipse.emf.cdo/license.html
deleted file mode 100644
index d7b88e9..0000000
--- a/plugins/org.eclipse.emf.cdo/license.html
+++ /dev/null
@@ -1,319 +0,0 @@
-<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40"><head>
-<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
-<meta name="ProgId" content="Word.Document">
-<meta name="Generator" content="Microsoft Word 9">
-<meta name="Originator" content="Microsoft Word 9">
-<link rel="File-List" href="http://www.eclipse.org/org/documents/Eclipse%20EPL%202003_11_10%20Final_files/filelist.xml"><title>Eclipse Public License - Version 1.0</title><!--[if gte mso 9]><xml>
- <o:DocumentProperties>
- <o:Revision>2</o:Revision>
- <o:TotalTime>3</o:TotalTime>
- <o:Created>2004-03-05T23:03:00Z</o:Created>
- <o:LastSaved>2004-03-05T23:03:00Z</o:LastSaved>
- <o:Pages>4</o:Pages>
- <o:Words>1626</o:Words>
- <o:Characters>9270</o:Characters>
- <o:Lines>77</o:Lines>
- <o:Paragraphs>18</o:Paragraphs>
- <o:CharactersWithSpaces>11384</o:CharactersWithSpaces>
- <o:Version>9.4402</o:Version>
- </o:DocumentProperties>
-</xml><![endif]--><!--[if gte mso 9]><xml>
- <w:WordDocument>
- <w:TrackRevisions/>
- </w:WordDocument>
-</xml><![endif]-->
-
-
-<style>
-<!--
- /* Font Definitions */
-@font-face
- {font-family:Tahoma;
- panose-1:2 11 6 4 3 5 4 4 2 4;
- mso-font-charset:0;
- mso-generic-font-family:swiss;
- mso-font-pitch:variable;
- mso-font-signature:553679495 -2147483648 8 0 66047 0;}
- /* Style Definitions */
-p.MsoNormal, li.MsoNormal, div.MsoNormal
- {mso-style-parent:"";
- margin:0in;
- margin-bottom:.0001pt;
- mso-pagination:widow-orphan;
- font-size:12.0pt;
- font-family:"Times New Roman";
- mso-fareast-font-family:"Times New Roman";}
-p
- {margin-right:0in;
- mso-margin-top-alt:auto;
- mso-margin-bottom-alt:auto;
- margin-left:0in;
- mso-pagination:widow-orphan;
- font-size:12.0pt;
- font-family:"Times New Roman";
- mso-fareast-font-family:"Times New Roman";}
-p.BalloonText, li.BalloonText, div.BalloonText
- {mso-style-name:"Balloon Text";
- margin:0in;
- margin-bottom:.0001pt;
- mso-pagination:widow-orphan;
- font-size:8.0pt;
- font-family:Tahoma;
- mso-fareast-font-family:"Times New Roman";}
-@page Section1
- {size:8.5in 11.0in;
- margin:1.0in 1.25in 1.0in 1.25in;
- mso-header-margin:.5in;
- mso-footer-margin:.5in;
- mso-paper-source:0;}
-div.Section1
- {page:Section1;}
--->
-</style></head>
-
-<body style="" lang="EN-US">
-
-<div class="Section1">
-
-<p style="text-align: center;" align="center"><b>Eclipse Public License - v 1.0</b>
-</p>
-
-<p><span style="font-size: 10pt;">THE ACCOMPANYING PROGRAM IS PROVIDED UNDER
-THE TERMS OF THIS ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE,
-REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE
-OF THIS AGREEMENT.</span> </p>
-
-<p><b><span style="font-size: 10pt;">1. DEFINITIONS</span></b> </p>
-
-<p><span style="font-size: 10pt;">"Contribution" means:</span> </p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">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:</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">i)
-changes to the Program, and</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">ii)
-additions to the Program;</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">where
-such changes and/or additions to the Program originate from and are distributed
-by that particular Contributor. 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. 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. </span></p>
-
-<p><span style="font-size: 10pt;">"Contributor" means any person or
-entity that distributes the Program.</span> </p>
-
-<p><span style="font-size: 10pt;">"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. </span></p>
-
-<p><span style="font-size: 10pt;">"Program" means the Contributions
-distributed in accordance with this Agreement.</span> </p>
-
-<p><span style="font-size: 10pt;">"Recipient" means anyone who
-receives the Program under this Agreement, including all Contributors.</span> </p>
-
-<p><b><span style="font-size: 10pt;">2. GRANT OF RIGHTS</span></b> </p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
-Subject to the terms of this Agreement, each Contributor hereby grants Recipient
-a non-exclusive, worldwide, royalty-free copyright license to<span style="color: red;"> </span>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.</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">b)
-Subject to the terms of this Agreement, each Contributor hereby grants
-Recipient a non-exclusive, worldwide,<span style="color: green;"> </span>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. </span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">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.</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">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. </span></p>
-
-<p><b><span style="font-size: 10pt;">3. REQUIREMENTS</span></b> </p>
-
-<p><span style="font-size: 10pt;">A Contributor may choose to distribute the
-Program in object code form under its own license agreement, provided that:</span>
-</p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
-it complies with the terms and conditions of this Agreement; and</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">b)
-its license agreement:</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">i)
-effectively disclaims 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; </span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">ii)
-effectively excludes on behalf of all Contributors all liability for damages,
-including direct, indirect, special, incidental and consequential damages, such
-as lost profits; </span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">iii)
-states that any provisions which differ from this Agreement are offered by that
-Contributor alone and not by any other party; and</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">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.<span style="color: blue;"> </span></span></p>
-
-<p><span style="font-size: 10pt;">When the Program is made available in source
-code form:</span> </p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
-it must be made available under this Agreement; and </span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">b) a
-copy of this Agreement must be included with each copy of the Program. </span></p>
-
-<p><span style="font-size: 10pt;">Contributors may not remove or alter any
-copyright notices contained within the Program. </span></p>
-
-<p><span style="font-size: 10pt;">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. </span></p>
-
-<p><b><span style="font-size: 10pt;">4. COMMERCIAL DISTRIBUTION</span></b> </p>
-
-<p><span style="font-size: 10pt;">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.</span> </p>
-
-<p><span style="font-size: 10pt;">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.</span> </p>
-
-<p><b><span style="font-size: 10pt;">5. NO WARRANTY</span></b> </p>
-
-<p><span style="font-size: 10pt;">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 solely
-responsible for determining the appropriateness of using and distributing the
-Program and assumes all risks associated with its exercise of rights under this
-Agreement , including but not limited to the risks and costs of program errors,
-compliance with applicable laws, damage to or loss of data, programs or
-equipment, and unavailability or interruption of operations. </span></p>
-
-<p><b><span style="font-size: 10pt;">6. DISCLAIMER OF LIABILITY</span></b> </p>
-
-<p><span style="font-size: 10pt;">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
-(INCLUDING WITHOUT LIMITATION LOST PROFITS), 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.</span> </p>
-
-<p><b><span style="font-size: 10pt;">7. GENERAL</span></b> </p>
-
-<p><span style="font-size: 10pt;">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.</span> </p>
-
-<p><span style="font-size: 10pt;">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. </span></p>
-
-<p><span style="font-size: 10pt;">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. </span></p>
-
-<p><span style="font-size: 10pt;">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 publish new versions (including revisions) of
-this Agreement from time to time. No one other than the Agreement Steward has
-the right to modify this Agreement. The Eclipse Foundation is the initial
-Agreement Steward. The Eclipse Foundation may assign the responsibility to
-serve as the Agreement Steward to a suitable separate entity. 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 version. 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, by implication, estoppel or otherwise. All rights in the Program not
-expressly granted under this Agreement are reserved.</span> </p>
-
-<p><span style="font-size: 10pt;">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.</span> </p>
-
-<p class="MsoNormal"><!--[if !supportEmptyParas]-->&nbsp;<!--[endif]--><o:p></o:p></p>
-
-</div>
-
-</body></html> \ No newline at end of file
diff --git a/plugins/org.eclipse.emf.cdo/plugin.properties b/plugins/org.eclipse.emf.cdo/plugin.properties
deleted file mode 100644
index e24a4a2..0000000
--- a/plugins/org.eclipse.emf.cdo/plugin.properties
+++ /dev/null
@@ -1,33 +0,0 @@
-# /**
-# * <copyright>
-# *
-# * Copyright (c) 2002-2004 IBM Corporation and others.
-# * All rights reserved. This program and the accompanying materials
-# * are made available under the terms of the Eclipse Public License v1.0
-# * which accompanies this distribution, and is available at
-# * http://www.eclipse.org/legal/epl-v10.html
-# *
-# * Contributors:
-# * IBM - Initial API and implementation
-# *
-# * </copyright>
-# *
-# * $Id$
-# */
-
-# NLS_MESSAGEFORMAT_VAR
-
-# ==============================================================================
-# Do not change the properties between this line and the last line containing:
-# %%% END OF TRANSLATED PROPERTIES %%%
-# Instead, either redefine an existing property, or create a new property,
-# append it to the end of the file, and change the code to use the new name.
-# ==============================================================================
-
-pluginName=CDO
-providerName=Eclipse.org
-
-# ==============================================================================
-# %%% END OF TRANSLATED PROPERTIES %%%
-# The above properties have been shipped for translation.
-# ==============================================================================
diff --git a/plugins/org.eclipse.emf.cdo/plugin.xml b/plugins/org.eclipse.emf.cdo/plugin.xml
deleted file mode 100644
index 347e730..0000000
--- a/plugins/org.eclipse.emf.cdo/plugin.xml
+++ /dev/null
@@ -1,3 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.0"?>
-<plugin />
diff --git a/plugins/org.eclipse.net4j.tests/.classpath b/plugins/org.eclipse.net4j.tests/.classpath
deleted file mode 100644
index 4644f77..0000000
--- a/plugins/org.eclipse.net4j.tests/.classpath
+++ /dev/null
@@ -1,9 +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="lib" path="lib/easymock.jar"/>
- <classpathentry kind="lib" path="lib/easymockclassextension.jar"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/plugins/org.eclipse.net4j.tests/.cvsignore b/plugins/org.eclipse.net4j.tests/.cvsignore
deleted file mode 100644
index 28c3030..0000000
--- a/plugins/org.eclipse.net4j.tests/.cvsignore
+++ /dev/null
@@ -1,6 +0,0 @@
-tmp
-bin
-dist
-build
-runtime
-*.log
diff --git a/plugins/org.eclipse.net4j.tests/.project b/plugins/org.eclipse.net4j.tests/.project
deleted file mode 100644
index 513e069..0000000
--- a/plugins/org.eclipse.net4j.tests/.project
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.net4j.tests</name>
- <comment></comment>
- <projects>
- </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/plugins/org.eclipse.net4j.tests/.settings/org.eclipse.jdt.core.prefs b/plugins/org.eclipse.net4j.tests/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index fb74a50..0000000
--- a/plugins/org.eclipse.net4j.tests/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,261 +0,0 @@
-#Mon Mar 13 08:16:19 CET 2006
-eclipse.preferences.version=1
-org.eclipse.jdt.core.codeComplete.argumentPrefixes=
-org.eclipse.jdt.core.codeComplete.argumentSuffixes=
-org.eclipse.jdt.core.codeComplete.fieldPrefixes=
-org.eclipse.jdt.core.codeComplete.fieldSuffixes=
-org.eclipse.jdt.core.codeComplete.localPrefixes=
-org.eclipse.jdt.core.codeComplete.localSuffixes=
-org.eclipse.jdt.core.codeComplete.staticFieldPrefixes=
-org.eclipse.jdt.core.codeComplete.staticFieldSuffixes=
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
-org.eclipse.jdt.core.compiler.compliance=1.5
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.5
-org.eclipse.jdt.core.formatter.align_type_members_on_columns=false
-org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16
-org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16
-org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16
-org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16
-org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16
-org.eclipse.jdt.core.formatter.alignment_for_assignment=0
-org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16
-org.eclipse.jdt.core.formatter.alignment_for_compact_if=16
-org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80
-org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0
-org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16
-org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16
-org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16
-org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16
-org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=16
-org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16
-org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16
-org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16
-org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16
-org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16
-org.eclipse.jdt.core.formatter.blank_lines_after_imports=2
-org.eclipse.jdt.core.formatter.blank_lines_after_package=2
-org.eclipse.jdt.core.formatter.blank_lines_before_field=1
-org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0
-org.eclipse.jdt.core.formatter.blank_lines_before_imports=1
-org.eclipse.jdt.core.formatter.blank_lines_before_member_type=2
-org.eclipse.jdt.core.formatter.blank_lines_before_method=1
-org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1
-org.eclipse.jdt.core.formatter.blank_lines_before_package=0
-org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=2
-org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=next_line
-org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_block=next_line
-org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=next_line
-org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=next_line
-org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=next_line
-org.eclipse.jdt.core.formatter.brace_position_for_switch=next_line
-org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=next_line
-org.eclipse.jdt.core.formatter.comment.clear_blank_lines=false
-org.eclipse.jdt.core.formatter.comment.format_comments=false
-org.eclipse.jdt.core.formatter.comment.format_header=false
-org.eclipse.jdt.core.formatter.comment.format_html=true
-org.eclipse.jdt.core.formatter.comment.format_source_code=true
-org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true
-org.eclipse.jdt.core.formatter.comment.indent_root_tags=true
-org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert
-org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert
-org.eclipse.jdt.core.formatter.comment.line_length=100
-org.eclipse.jdt.core.formatter.compact_else_if=true
-org.eclipse.jdt.core.formatter.continuation_indentation=2
-org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2
-org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false
-org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true
-org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true
-org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true
-org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true
-org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true
-org.eclipse.jdt.core.formatter.indent_empty_lines=false
-org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true
-org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true
-org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true
-org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=true
-org.eclipse.jdt.core.formatter.indentation.size=4
-org.eclipse.jdt.core.formatter.insert_new_line_after_annotation=insert
-org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=insert
-org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=insert
-org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=insert
-org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert
-org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert
-org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert
-org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert
-org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert
-org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert
-org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert
-org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert
-org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert
-org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert
-org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert
-org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert
-org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert
-org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert
-org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert
-org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert
-org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert
-org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert
-org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert
-org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert
-org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert
-org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert
-org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false
-org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false
-org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=true
-org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false
-org.eclipse.jdt.core.formatter.lineSplit=100
-org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0
-org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1
-org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true
-org.eclipse.jdt.core.formatter.tabulation.char=space
-org.eclipse.jdt.core.formatter.tabulation.size=2
-org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false
diff --git a/plugins/org.eclipse.net4j.tests/.settings/org.eclipse.jdt.ui.prefs b/plugins/org.eclipse.net4j.tests/.settings/org.eclipse.jdt.ui.prefs
deleted file mode 100644
index 6b2f797..0000000
--- a/plugins/org.eclipse.net4j.tests/.settings/org.eclipse.jdt.ui.prefs
+++ /dev/null
@@ -1,19 +0,0 @@
-#Mon Mar 13 08:16:19 CET 2006
-comment_clear_blank_lines=false
-comment_format_comments=false
-comment_format_header=false
-comment_format_html=true
-comment_format_source_code=true
-comment_indent_parameter_description=true
-comment_indent_root_tags=true
-comment_line_length=100
-comment_new_line_for_parameter=true
-comment_separate_root_tags=true
-eclipse.preferences.version=1
-formatter_settings_version=10
-org.eclipse.jdt.ui.exception.name=ex
-org.eclipse.jdt.ui.gettersetter.use.is=true
-org.eclipse.jdt.ui.ignorelowercasenames=true
-org.eclipse.jdt.ui.importorder=org.eclipse.net4j;org.eclipse.emf;org.eclipse;org.apache;org;com;java.lang;java.util;java.io;java.nio;java.net;java;javax;
-org.eclipse.jdt.ui.keywordthis=false
-org.eclipse.jdt.ui.ondemandthreshold=99
diff --git a/plugins/org.eclipse.net4j.tests/META-INF/MANIFEST.MF b/plugins/org.eclipse.net4j.tests/META-INF/MANIFEST.MF
deleted file mode 100644
index dd152d3..0000000
--- a/plugins/org.eclipse.net4j.tests/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,23 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: %pluginName
-Bundle-SymbolicName: org.eclipse.net4j.tests;singleton:=true
-Bundle-Version: 1.0.0.qualifier
-Bundle-Activator: org.eclipse.net4j.tests.Net4jTestPlugin
-Bundle-ClassPath: lib/easymock.jar,
- lib/easymockclassextension.jar
-Bundle-Vendor: %providerName
-Bundle-Localization: plugin
-Eclipse-LazyStart: false
-Export-Package: org.eclipse.net4j.tests,
- org.eclipse.net4j.tests.protocol,
- org.eclipse.net4j.tests.util
-Require-Bundle: org.eclipse.core.runtime,
- org.junit,
- org.eclipse.net4j.core,
- org.eclipse.net4j.embedded,
- org.eclipse.net4j.socket,
- org.eclipse.net4j.spring,
- org.eclipse.net4j.spring.db,
- org.eclipse.net4j.util,
- org.eclipse.net4j.spring.tests
diff --git a/plugins/org.eclipse.net4j.tests/META-INF/common.properties b/plugins/org.eclipse.net4j.tests/META-INF/common.properties
deleted file mode 100644
index 23de5e4..0000000
--- a/plugins/org.eclipse.net4j.tests/META-INF/common.properties
+++ /dev/null
@@ -1,8 +0,0 @@
-bufferPool.bufferSize=4096
-
-connectionManager.maxConnections=50
-
-channel.responseTimeoutMillis=6000000
-
-socket.host=localhost
-socket.port=12345
diff --git a/plugins/org.eclipse.net4j.tests/META-INF/embedded.xml b/plugins/org.eclipse.net4j.tests/META-INF/embedded.xml
deleted file mode 100644
index 11cbf63..0000000
--- a/plugins/org.eclipse.net4j.tests/META-INF/embedded.xml
+++ /dev/null
@@ -1,91 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN"
- "http://www.springframework.org/dtd/spring-beans.dtd">
-<beans>
-
- <!-- ######################################################## -->
- <bean id="propertyConfigurer"
- class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
- <property name="locations">
- <list>
- <value>file:META-INF/common.properties</value>
- </list>
- </property>
- </bean>
-
- <!-- ######################################################## -->
- <bean id="bufferPool" class="org.eclipse.net4j.core.impl.BufferPoolImpl">
- <property name="bufferSize">
- <value>${bufferPool.bufferSize}</value>
- </property>
- </bean>
-
- <!-- ######################################################## -->
- <bean id="connectionManager" class="org.eclipse.net4j.core.impl.ConnectionManagerImpl">
- <property name="maxConnections">
- <value>${connectionManager.maxConnections}</value>
- </property>
- </bean>
-
- <!-- ######################################################## -->
- <bean id="protocolManager" class="org.eclipse.net4j.core.impl.ProtocolManagerImpl"/>
-
- <!-- ######################################################## -->
- <bean id="multiplexer" class="org.eclipse.net4j.core.impl.MultiplexerImpl"/>
-
- <!-- ######################################################## -->
- <bean id="serverControlProtocol" class="org.eclipse.net4j.core.protocol.ServerControlProtocol">
- <property name="protocolManager">
- <ref local="protocolManager"/>
- </property>
- </bean>
-
- <!-- ######################################################## -->
- <bean id="clientControlProtocol" class="org.eclipse.net4j.core.protocol.ClientControlProtocol">
- <property name="protocolManager">
- <ref local="protocolManager"/>
- </property>
- </bean>
-
- <!-- ######################################################## -->
- <bean id="channel" singleton="false" class="org.eclipse.net4j.core.impl.ChannelImpl">
- <property name="multiplexer">
- <ref local="multiplexer"/>
- </property>
- <property name="responseTimeoutMillis">
- <value>${channel.responseTimeoutMillis}</value>
- </property>
- </bean>
-
- <!-- ######################################################## -->
- <bean id="protocol" class="org.eclipse.net4j.tests.protocol.Net4jTestProtocol">
- <property name="protocolManager">
- <ref local="protocolManager"/>
- </property>
- </bean>
-
- <!-- ######################################################## -->
- <bean id="connector" class="org.eclipse.net4j.embedded.impl.ActiveEmbeddedConnectorImpl">
- <property name="bufferPool">
- <ref local="bufferPool"/>
- </property>
- <property name="protocolManager">
- <ref local="protocolManager"/>
- </property>
- </bean>
-
- <!-- ######################################################## -->
- <bean id="slave" singleton="false"
- class="org.eclipse.net4j.embedded.impl.PassiveEmbeddedConnectorImpl">
- <property name="bufferPool">
- <ref local="bufferPool"/>
- </property>
- <property name="connectionManager">
- <ref local="connectionManager"/>
- </property>
- <property name="protocolManager">
- <ref local="protocolManager"/>
- </property>
- </bean>
-
-</beans>
diff --git a/plugins/org.eclipse.net4j.tests/META-INF/socketClient.xml b/plugins/org.eclipse.net4j.tests/META-INF/socketClient.xml
deleted file mode 100644
index c160852..0000000
--- a/plugins/org.eclipse.net4j.tests/META-INF/socketClient.xml
+++ /dev/null
@@ -1,85 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN"
- "http://www.springframework.org/dtd/spring-beans.dtd">
-<beans>
-
- <!-- ######################################################## -->
- <bean id="propertyConfigurer"
- class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
- <property name="locations">
- <list>
- <value>file:META-INF/common.properties</value>
- </list>
- </property>
- </bean>
-
- <!-- ######################################################## -->
- <bean id="bufferPool" class="org.eclipse.net4j.core.impl.BufferPoolImpl">
- <property name="bufferSize">
- <value>${bufferPool.bufferSize}</value>
- </property>
- </bean>
-
- <!-- ######################################################## -->
- <bean id="connectionManager" class="org.eclipse.net4j.core.impl.ConnectionManagerImpl">
- <property name="maxConnections">
- <value>${connectionManager.maxConnections}</value>
- </property>
- </bean>
-
- <!-- ######################################################## -->
- <bean id="protocolManager" class="org.eclipse.net4j.core.impl.ProtocolManagerImpl"/>
-
- <!-- ######################################################## -->
- <bean id="multiplexer" class="org.eclipse.net4j.core.impl.MultiplexerImpl"/>
-
- <!-- ######################################################## -->
- <bean id="clientControlProtocol" class="org.eclipse.net4j.core.protocol.ClientControlProtocol">
- <property name="protocolManager">
- <ref local="protocolManager"/>
- </property>
- </bean>
-
- <!-- ######################################################## -->
- <bean id="channel" singleton="false" class="org.eclipse.net4j.core.impl.ChannelImpl">
- <property name="multiplexer">
- <ref local="multiplexer"/>
- </property>
- <property name="responseTimeoutMillis">
- <value>${channel.responseTimeoutMillis}</value>
- </property>
- </bean>
-
- <!-- ######################################################## -->
- <bean id="selectorManager" class="org.eclipse.net4j.socket.impl.SelectorManagerImpl"/>
-
- <!-- ######################################################## -->
- <bean id="protocol" class="org.eclipse.net4j.tests.protocol.Net4jTestProtocol">
- <property name="protocolManager">
- <ref local="protocolManager"/>
- </property>
- </bean>
-
- <!-- ######################################################## -->
- <bean id="connector" class="org.eclipse.net4j.socket.impl.ActiveSocketConnectorImpl">
- <property name="bufferPool">
- <ref local="bufferPool"/>
- </property>
- <property name="protocolManager">
- <ref local="protocolManager"/>
- </property>
- <property name="selectorManager">
- <ref local="selectorManager"/>
- </property>
- <property name="host">
- <value>${socket.host}</value>
- </property>
- <property name="port">
- <value>${socket.port}</value>
- </property>
- <property name="autoStart">
- <value>false</value>
- </property>
- </bean>
-
-</beans>
diff --git a/plugins/org.eclipse.net4j.tests/META-INF/socketServer.xml b/plugins/org.eclipse.net4j.tests/META-INF/socketServer.xml
deleted file mode 100644
index bb966c4..0000000
--- a/plugins/org.eclipse.net4j.tests/META-INF/socketServer.xml
+++ /dev/null
@@ -1,90 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN"
- "http://www.springframework.org/dtd/spring-beans.dtd">
-<beans>
-
- <!-- ######################################################## -->
- <bean id="propertyConfigurer"
- class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
- <property name="locations">
- <list>
- <value>file:META-INF/common.properties</value>
- </list>
- </property>
- </bean>
-
- <!-- ######################################################## -->
- <bean id="bufferPool" class="org.eclipse.net4j.core.impl.BufferPoolImpl">
- <property name="bufferSize">
- <value>${bufferPool.bufferSize}</value>
- </property>
- </bean>
-
- <!-- ######################################################## -->
- <bean id="connectionManager" class="org.eclipse.net4j.core.impl.ConnectionManagerImpl">
- <property name="maxConnections">
- <value>${connectionManager.maxConnections}</value>
- </property>
- </bean>
-
- <!-- ######################################################## -->
- <bean id="protocolManager" class="org.eclipse.net4j.core.impl.ProtocolManagerImpl"/>
-
- <!-- ######################################################## -->
- <bean id="multiplexer" class="org.eclipse.net4j.core.impl.MultiplexerImpl"/>
-
- <!-- ######################################################## -->
- <bean id="serverControlProtocol" class="org.eclipse.net4j.core.protocol.ServerControlProtocol">
- <property name="protocolManager">
- <ref local="protocolManager"/>
- </property>
- </bean>
-
- <!-- ######################################################## -->
- <bean id="channel" singleton="false" class="org.eclipse.net4j.core.impl.ChannelImpl">
- <property name="multiplexer">
- <ref local="multiplexer"/>
- </property>
- <property name="responseTimeoutMillis">
- <value>${channel.responseTimeoutMillis}</value>
- </property>
- </bean>
-
- <!-- ######################################################## -->
- <bean id="selectorManager" class="org.eclipse.net4j.socket.impl.SelectorManagerImpl"/>
-
- <!-- ######################################################## -->
- <bean id="protocol" class="org.eclipse.net4j.tests.protocol.Net4jTestProtocol">
- <property name="protocolManager">
- <ref local="protocolManager"/>
- </property>
- </bean>
-
- <!-- ######################################################## -->
- <bean id="acceptor" class="org.eclipse.net4j.socket.impl.SocketAcceptorImpl">
- <property name="listenAddr">
- <value>0.0.0.0</value>
- </property>
- <property name="listenPort">
- <value>${socket.port}</value>
- </property>
- </bean>
-
- <!-- ######################################################## -->
- <bean id="slave" singleton="false"
- class="org.eclipse.net4j.socket.impl.PassiveSocketConnectorImpl">
- <property name="bufferPool">
- <ref local="bufferPool"/>
- </property>
- <property name="connectionManager">
- <ref local="connectionManager"/>
- </property>
- <property name="protocolManager">
- <ref local="protocolManager"/>
- </property>
- <property name="selectorManager">
- <ref local="selectorManager"/>
- </property>
- </bean>
-
-</beans>
diff --git a/plugins/org.eclipse.net4j.tests/about.html b/plugins/org.eclipse.net4j.tests/about.html
deleted file mode 100644
index 373f387..0000000
--- a/plugins/org.eclipse.net4j.tests/about.html
+++ /dev/null
@@ -1,42 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html>
-
- <head>
-
- <meta content="text/html; charset=ISO-8859-1"
- http-equiv="Content-Type"/>
-
- <title>About</title>
-
- </head>
-
- <body lang="EN-US">
-
- <h2>About This Content</h2>
-
- <p>Januaray 22, 2006</p>
-
- <h3>License</h3>
-
- <p>The Eclipse Foundation makes available all content in this
- plug-in (&quot;Content&quot;). Unless otherwise indicated below,
- the Content is provided to you under the terms and conditions of
- the Eclipse Public License Version 1.0 (&quot;EPL&quot;). A copy of
- the EPL is available at
- <a href="http://www.eclipse.org/legal/epl-v10.html">
- http://www.eclipse.org/legal/epl-v10.html</a>. For purposes of the
- EPL, &quot;Program&quot; will mean the Content.</p>
-
- <p>If you did not receive this Content directly from the Eclipse
- Foundation, the Content is being redistributed by another party
- (&quot;Redistributor&quot;) and different terms and conditions may
- apply to your use of any object code in the Content. Check the
- Redistributor&apos;s license that was provided with the Content. If
- no such license exists, contact the Redistributor. Unless otherwise
- indicated below, the terms and conditions of the EPL still apply to
- any source code in the Content.</p>
-
- </body>
-
-</html>
-
diff --git a/plugins/org.eclipse.net4j.tests/build.properties b/plugins/org.eclipse.net4j.tests/build.properties
deleted file mode 100644
index 8676469..0000000
--- a/plugins/org.eclipse.net4j.tests/build.properties
+++ /dev/null
@@ -1,14 +0,0 @@
-# NLS_MESSAGEFORMAT_VAR
-bin.includes = plugin.xml,\
- test.xml,\
- META-INF/,\
- epl-v10.html,\
- lib/,\
- copyright.txt,\
- about.html,\
- .,\
- license.html,\
- plugin.properties
-jars.compile.order = .
-source.. = src/
-output.. = bin/
diff --git a/plugins/org.eclipse.net4j.tests/copyright.txt b/plugins/org.eclipse.net4j.tests/copyright.txt
deleted file mode 100644
index 0451a0d..0000000
--- a/plugins/org.eclipse.net4j.tests/copyright.txt
+++ /dev/null
@@ -1,8 +0,0 @@
-Copyright (c) 2004-2006 Eike Stepper, Fuggerstr. 39, 10777 Berlin, Germany.
-All rights reserved. This program and the accompanying materials
-are made available under the terms of the Eclipse Public License v1.0
-which accompanies this distribution, and is available at
-http://www.eclipse.org/legal/epl-v10.html
-
-Contributors:
- Eike Stepper - initial API and implementation \ No newline at end of file
diff --git a/plugins/org.eclipse.net4j.tests/epl-v10.html b/plugins/org.eclipse.net4j.tests/epl-v10.html
deleted file mode 100644
index d7b88e9..0000000
--- a/plugins/org.eclipse.net4j.tests/epl-v10.html
+++ /dev/null
@@ -1,319 +0,0 @@
-<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40"><head>
-<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
-<meta name="ProgId" content="Word.Document">
-<meta name="Generator" content="Microsoft Word 9">
-<meta name="Originator" content="Microsoft Word 9">
-<link rel="File-List" href="http://www.eclipse.org/org/documents/Eclipse%20EPL%202003_11_10%20Final_files/filelist.xml"><title>Eclipse Public License - Version 1.0</title><!--[if gte mso 9]><xml>
- <o:DocumentProperties>
- <o:Revision>2</o:Revision>
- <o:TotalTime>3</o:TotalTime>
- <o:Created>2004-03-05T23:03:00Z</o:Created>
- <o:LastSaved>2004-03-05T23:03:00Z</o:LastSaved>
- <o:Pages>4</o:Pages>
- <o:Words>1626</o:Words>
- <o:Characters>9270</o:Characters>
- <o:Lines>77</o:Lines>
- <o:Paragraphs>18</o:Paragraphs>
- <o:CharactersWithSpaces>11384</o:CharactersWithSpaces>
- <o:Version>9.4402</o:Version>
- </o:DocumentProperties>
-</xml><![endif]--><!--[if gte mso 9]><xml>
- <w:WordDocument>
- <w:TrackRevisions/>
- </w:WordDocument>
-</xml><![endif]-->
-
-
-<style>
-<!--
- /* Font Definitions */
-@font-face
- {font-family:Tahoma;
- panose-1:2 11 6 4 3 5 4 4 2 4;
- mso-font-charset:0;
- mso-generic-font-family:swiss;
- mso-font-pitch:variable;
- mso-font-signature:553679495 -2147483648 8 0 66047 0;}
- /* Style Definitions */
-p.MsoNormal, li.MsoNormal, div.MsoNormal
- {mso-style-parent:"";
- margin:0in;
- margin-bottom:.0001pt;
- mso-pagination:widow-orphan;
- font-size:12.0pt;
- font-family:"Times New Roman";
- mso-fareast-font-family:"Times New Roman";}
-p
- {margin-right:0in;
- mso-margin-top-alt:auto;
- mso-margin-bottom-alt:auto;
- margin-left:0in;
- mso-pagination:widow-orphan;
- font-size:12.0pt;
- font-family:"Times New Roman";
- mso-fareast-font-family:"Times New Roman";}
-p.BalloonText, li.BalloonText, div.BalloonText
- {mso-style-name:"Balloon Text";
- margin:0in;
- margin-bottom:.0001pt;
- mso-pagination:widow-orphan;
- font-size:8.0pt;
- font-family:Tahoma;
- mso-fareast-font-family:"Times New Roman";}
-@page Section1
- {size:8.5in 11.0in;
- margin:1.0in 1.25in 1.0in 1.25in;
- mso-header-margin:.5in;
- mso-footer-margin:.5in;
- mso-paper-source:0;}
-div.Section1
- {page:Section1;}
--->
-</style></head>
-
-<body style="" lang="EN-US">
-
-<div class="Section1">
-
-<p style="text-align: center;" align="center"><b>Eclipse Public License - v 1.0</b>
-</p>
-
-<p><span style="font-size: 10pt;">THE ACCOMPANYING PROGRAM IS PROVIDED UNDER
-THE TERMS OF THIS ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE,
-REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE
-OF THIS AGREEMENT.</span> </p>
-
-<p><b><span style="font-size: 10pt;">1. DEFINITIONS</span></b> </p>
-
-<p><span style="font-size: 10pt;">"Contribution" means:</span> </p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">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:</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">i)
-changes to the Program, and</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">ii)
-additions to the Program;</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">where
-such changes and/or additions to the Program originate from and are distributed
-by that particular Contributor. 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. 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. </span></p>
-
-<p><span style="font-size: 10pt;">"Contributor" means any person or
-entity that distributes the Program.</span> </p>
-
-<p><span style="font-size: 10pt;">"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. </span></p>
-
-<p><span style="font-size: 10pt;">"Program" means the Contributions
-distributed in accordance with this Agreement.</span> </p>
-
-<p><span style="font-size: 10pt;">"Recipient" means anyone who
-receives the Program under this Agreement, including all Contributors.</span> </p>
-
-<p><b><span style="font-size: 10pt;">2. GRANT OF RIGHTS</span></b> </p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
-Subject to the terms of this Agreement, each Contributor hereby grants Recipient
-a non-exclusive, worldwide, royalty-free copyright license to<span style="color: red;"> </span>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.</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">b)
-Subject to the terms of this Agreement, each Contributor hereby grants
-Recipient a non-exclusive, worldwide,<span style="color: green;"> </span>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. </span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">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.</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">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. </span></p>
-
-<p><b><span style="font-size: 10pt;">3. REQUIREMENTS</span></b> </p>
-
-<p><span style="font-size: 10pt;">A Contributor may choose to distribute the
-Program in object code form under its own license agreement, provided that:</span>
-</p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
-it complies with the terms and conditions of this Agreement; and</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">b)
-its license agreement:</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">i)
-effectively disclaims 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; </span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">ii)
-effectively excludes on behalf of all Contributors all liability for damages,
-including direct, indirect, special, incidental and consequential damages, such
-as lost profits; </span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">iii)
-states that any provisions which differ from this Agreement are offered by that
-Contributor alone and not by any other party; and</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">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.<span style="color: blue;"> </span></span></p>
-
-<p><span style="font-size: 10pt;">When the Program is made available in source
-code form:</span> </p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
-it must be made available under this Agreement; and </span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">b) a
-copy of this Agreement must be included with each copy of the Program. </span></p>
-
-<p><span style="font-size: 10pt;">Contributors may not remove or alter any
-copyright notices contained within the Program. </span></p>
-
-<p><span style="font-size: 10pt;">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. </span></p>
-
-<p><b><span style="font-size: 10pt;">4. COMMERCIAL DISTRIBUTION</span></b> </p>
-
-<p><span style="font-size: 10pt;">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.</span> </p>
-
-<p><span style="font-size: 10pt;">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.</span> </p>
-
-<p><b><span style="font-size: 10pt;">5. NO WARRANTY</span></b> </p>
-
-<p><span style="font-size: 10pt;">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 solely
-responsible for determining the appropriateness of using and distributing the
-Program and assumes all risks associated with its exercise of rights under this
-Agreement , including but not limited to the risks and costs of program errors,
-compliance with applicable laws, damage to or loss of data, programs or
-equipment, and unavailability or interruption of operations. </span></p>
-
-<p><b><span style="font-size: 10pt;">6. DISCLAIMER OF LIABILITY</span></b> </p>
-
-<p><span style="font-size: 10pt;">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
-(INCLUDING WITHOUT LIMITATION LOST PROFITS), 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.</span> </p>
-
-<p><b><span style="font-size: 10pt;">7. GENERAL</span></b> </p>
-
-<p><span style="font-size: 10pt;">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.</span> </p>
-
-<p><span style="font-size: 10pt;">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. </span></p>
-
-<p><span style="font-size: 10pt;">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. </span></p>
-
-<p><span style="font-size: 10pt;">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 publish new versions (including revisions) of
-this Agreement from time to time. No one other than the Agreement Steward has
-the right to modify this Agreement. The Eclipse Foundation is the initial
-Agreement Steward. The Eclipse Foundation may assign the responsibility to
-serve as the Agreement Steward to a suitable separate entity. 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 version. 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, by implication, estoppel or otherwise. All rights in the Program not
-expressly granted under this Agreement are reserved.</span> </p>
-
-<p><span style="font-size: 10pt;">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.</span> </p>
-
-<p class="MsoNormal"><!--[if !supportEmptyParas]-->&nbsp;<!--[endif]--><o:p></o:p></p>
-
-</div>
-
-</body></html> \ No newline at end of file
diff --git a/plugins/org.eclipse.net4j.tests/license.html b/plugins/org.eclipse.net4j.tests/license.html
deleted file mode 100644
index d7b88e9..0000000
--- a/plugins/org.eclipse.net4j.tests/license.html
+++ /dev/null
@@ -1,319 +0,0 @@
-<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40"><head>
-<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
-<meta name="ProgId" content="Word.Document">
-<meta name="Generator" content="Microsoft Word 9">
-<meta name="Originator" content="Microsoft Word 9">
-<link rel="File-List" href="http://www.eclipse.org/org/documents/Eclipse%20EPL%202003_11_10%20Final_files/filelist.xml"><title>Eclipse Public License - Version 1.0</title><!--[if gte mso 9]><xml>
- <o:DocumentProperties>
- <o:Revision>2</o:Revision>
- <o:TotalTime>3</o:TotalTime>
- <o:Created>2004-03-05T23:03:00Z</o:Created>
- <o:LastSaved>2004-03-05T23:03:00Z</o:LastSaved>
- <o:Pages>4</o:Pages>
- <o:Words>1626</o:Words>
- <o:Characters>9270</o:Characters>
- <o:Lines>77</o:Lines>
- <o:Paragraphs>18</o:Paragraphs>
- <o:CharactersWithSpaces>11384</o:CharactersWithSpaces>
- <o:Version>9.4402</o:Version>
- </o:DocumentProperties>
-</xml><![endif]--><!--[if gte mso 9]><xml>
- <w:WordDocument>
- <w:TrackRevisions/>
- </w:WordDocument>
-</xml><![endif]-->
-
-
-<style>
-<!--
- /* Font Definitions */
-@font-face
- {font-family:Tahoma;
- panose-1:2 11 6 4 3 5 4 4 2 4;
- mso-font-charset:0;
- mso-generic-font-family:swiss;
- mso-font-pitch:variable;
- mso-font-signature:553679495 -2147483648 8 0 66047 0;}
- /* Style Definitions */
-p.MsoNormal, li.MsoNormal, div.MsoNormal
- {mso-style-parent:"";
- margin:0in;
- margin-bottom:.0001pt;
- mso-pagination:widow-orphan;
- font-size:12.0pt;
- font-family:"Times New Roman";
- mso-fareast-font-family:"Times New Roman";}
-p
- {margin-right:0in;
- mso-margin-top-alt:auto;
- mso-margin-bottom-alt:auto;
- margin-left:0in;
- mso-pagination:widow-orphan;
- font-size:12.0pt;
- font-family:"Times New Roman";
- mso-fareast-font-family:"Times New Roman";}
-p.BalloonText, li.BalloonText, div.BalloonText
- {mso-style-name:"Balloon Text";
- margin:0in;
- margin-bottom:.0001pt;
- mso-pagination:widow-orphan;
- font-size:8.0pt;
- font-family:Tahoma;
- mso-fareast-font-family:"Times New Roman";}
-@page Section1
- {size:8.5in 11.0in;
- margin:1.0in 1.25in 1.0in 1.25in;
- mso-header-margin:.5in;
- mso-footer-margin:.5in;
- mso-paper-source:0;}
-div.Section1
- {page:Section1;}
--->
-</style></head>
-
-<body style="" lang="EN-US">
-
-<div class="Section1">
-
-<p style="text-align: center;" align="center"><b>Eclipse Public License - v 1.0</b>
-</p>
-
-<p><span style="font-size: 10pt;">THE ACCOMPANYING PROGRAM IS PROVIDED UNDER
-THE TERMS OF THIS ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE,
-REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE
-OF THIS AGREEMENT.</span> </p>
-
-<p><b><span style="font-size: 10pt;">1. DEFINITIONS</span></b> </p>
-
-<p><span style="font-size: 10pt;">"Contribution" means:</span> </p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">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:</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">i)
-changes to the Program, and</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">ii)
-additions to the Program;</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">where
-such changes and/or additions to the Program originate from and are distributed
-by that particular Contributor. 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. 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. </span></p>
-
-<p><span style="font-size: 10pt;">"Contributor" means any person or
-entity that distributes the Program.</span> </p>
-
-<p><span style="font-size: 10pt;">"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. </span></p>
-
-<p><span style="font-size: 10pt;">"Program" means the Contributions
-distributed in accordance with this Agreement.</span> </p>
-
-<p><span style="font-size: 10pt;">"Recipient" means anyone who
-receives the Program under this Agreement, including all Contributors.</span> </p>
-
-<p><b><span style="font-size: 10pt;">2. GRANT OF RIGHTS</span></b> </p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
-Subject to the terms of this Agreement, each Contributor hereby grants Recipient
-a non-exclusive, worldwide, royalty-free copyright license to<span style="color: red;"> </span>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.</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">b)
-Subject to the terms of this Agreement, each Contributor hereby grants
-Recipient a non-exclusive, worldwide,<span style="color: green;"> </span>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. </span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">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.</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">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. </span></p>
-
-<p><b><span style="font-size: 10pt;">3. REQUIREMENTS</span></b> </p>
-
-<p><span style="font-size: 10pt;">A Contributor may choose to distribute the
-Program in object code form under its own license agreement, provided that:</span>
-</p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
-it complies with the terms and conditions of this Agreement; and</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">b)
-its license agreement:</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">i)
-effectively disclaims 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; </span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">ii)
-effectively excludes on behalf of all Contributors all liability for damages,
-including direct, indirect, special, incidental and consequential damages, such
-as lost profits; </span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">iii)
-states that any provisions which differ from this Agreement are offered by that
-Contributor alone and not by any other party; and</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">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.<span style="color: blue;"> </span></span></p>
-
-<p><span style="font-size: 10pt;">When the Program is made available in source
-code form:</span> </p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
-it must be made available under this Agreement; and </span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">b) a
-copy of this Agreement must be included with each copy of the Program. </span></p>
-
-<p><span style="font-size: 10pt;">Contributors may not remove or alter any
-copyright notices contained within the Program. </span></p>
-
-<p><span style="font-size: 10pt;">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. </span></p>
-
-<p><b><span style="font-size: 10pt;">4. COMMERCIAL DISTRIBUTION</span></b> </p>
-
-<p><span style="font-size: 10pt;">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.</span> </p>
-
-<p><span style="font-size: 10pt;">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.</span> </p>
-
-<p><b><span style="font-size: 10pt;">5. NO WARRANTY</span></b> </p>
-
-<p><span style="font-size: 10pt;">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 solely
-responsible for determining the appropriateness of using and distributing the
-Program and assumes all risks associated with its exercise of rights under this
-Agreement , including but not limited to the risks and costs of program errors,
-compliance with applicable laws, damage to or loss of data, programs or
-equipment, and unavailability or interruption of operations. </span></p>
-
-<p><b><span style="font-size: 10pt;">6. DISCLAIMER OF LIABILITY</span></b> </p>
-
-<p><span style="font-size: 10pt;">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
-(INCLUDING WITHOUT LIMITATION LOST PROFITS), 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.</span> </p>
-
-<p><b><span style="font-size: 10pt;">7. GENERAL</span></b> </p>
-
-<p><span style="font-size: 10pt;">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.</span> </p>
-
-<p><span style="font-size: 10pt;">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. </span></p>
-
-<p><span style="font-size: 10pt;">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. </span></p>
-
-<p><span style="font-size: 10pt;">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 publish new versions (including revisions) of
-this Agreement from time to time. No one other than the Agreement Steward has
-the right to modify this Agreement. The Eclipse Foundation is the initial
-Agreement Steward. The Eclipse Foundation may assign the responsibility to
-serve as the Agreement Steward to a suitable separate entity. 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 version. 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, by implication, estoppel or otherwise. All rights in the Program not
-expressly granted under this Agreement are reserved.</span> </p>
-
-<p><span style="font-size: 10pt;">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.</span> </p>
-
-<p class="MsoNormal"><!--[if !supportEmptyParas]-->&nbsp;<!--[endif]--><o:p></o:p></p>
-
-</div>
-
-</body></html> \ No newline at end of file
diff --git a/plugins/org.eclipse.net4j.tests/plugin.properties b/plugins/org.eclipse.net4j.tests/plugin.properties
deleted file mode 100644
index 06f80b9..0000000
--- a/plugins/org.eclipse.net4j.tests/plugin.properties
+++ /dev/null
@@ -1,2 +0,0 @@
-pluginName = Net4j Tests
-providerName = Eclipse.org
diff --git a/plugins/org.eclipse.net4j.tests/plugin.xml b/plugins/org.eclipse.net4j.tests/plugin.xml
deleted file mode 100644
index 8e49b52..0000000
--- a/plugins/org.eclipse.net4j.tests/plugin.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.0"?>
-<plugin>
-
-</plugin>
diff --git a/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/AllSuites.java b/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/AllSuites.java
deleted file mode 100644
index 318b5bd..0000000
--- a/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/AllSuites.java
+++ /dev/null
@@ -1,62 +0,0 @@
-/**
- * <copyright>
- *
- * Copyright (c) 2006 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM - Initial API and implementation
- *
- * </copyright>
- *
- * $Id: AllSuites.java,v 1.3 2006-05-29 17:18:19 estepper Exp $
- */
-
-package org.eclipse.net4j.tests;
-
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-public class AllSuites extends TestSuite
-{
- private static Test[] suites = new Test []{
- // list all test suites here
- org.eclipse.net4j.tests.AllTests.suite()
- ,org.eclipse.net4j.spring.tests.AllTests.suite()
- };
-
- public static Test suite()
- {
- return new AllSuites("Net4j Build JUnit Test Suite");
- }
-
- public AllSuites()
- {
- super();
- populateSuite();
- }
-
- public AllSuites(Class<?> theClass)
- {
- super(theClass);
- populateSuite();
- }
-
- public AllSuites(String name)
- {
- super(name);
- populateSuite();
- }
-
- protected void populateSuite()
- {
- for (int i = 0; i < suites.length; i++)
- {
- addTest(suites[i]);
- }
- }
-} \ No newline at end of file
diff --git a/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/AllTests.java b/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/AllTests.java
deleted file mode 100644
index 4b412c9..0000000
--- a/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/AllTests.java
+++ /dev/null
@@ -1,16 +0,0 @@
-package org.eclipse.net4j.tests;
-
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-public class AllTests {
-
- public static Test suite() {
- TestSuite suite = new TestSuite("Test for org.eclipse.net4j.tests");
-// TODO: add real JUnit tests here
- suite.addTestSuite(SampleTest.class);
- return suite;
- }
-
-}
diff --git a/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/Net4jTestPlugin.java b/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/Net4jTestPlugin.java
deleted file mode 100644
index eb7740b..0000000
--- a/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/Net4jTestPlugin.java
+++ /dev/null
@@ -1,36 +0,0 @@
-/**
- * <copyright>
- *
- * Copyright (c) 2002-2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM - Initial API and implementation
- *
- * </copyright>
- *
- * $Id: Net4jTestPlugin.java,v 1.1 2006-04-17 21:13:10 nickb Exp $
- */
-package org.eclipse.net4j.tests;
-
-import org.eclipse.core.runtime.Plugin;
-
-public class Net4jTestPlugin
-extends Plugin
-{
- private static Net4jTestPlugin instance;
-
- public Net4jTestPlugin()
- {
- super();
- instance = this;
- }
-
- public static Net4jTestPlugin getPlugin()
- {
- return instance;
- }
-}
diff --git a/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/SampleTest.java b/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/SampleTest.java
deleted file mode 100644
index ae16417..0000000
--- a/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/SampleTest.java
+++ /dev/null
@@ -1,10 +0,0 @@
-package org.eclipse.net4j.tests;
-
-import junit.framework.TestCase;
-
-public class SampleTest extends TestCase
-{
- public static void testSample() throws Exception {
- assertTrue(true); // TODO: add real JUnit tests here
- }
-}
diff --git a/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/SocketTest.java b/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/SocketTest.java
deleted file mode 100644
index ec41e78..0000000
--- a/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/SocketTest.java
+++ /dev/null
@@ -1,286 +0,0 @@
-/***************************************************************************
- * Copyright (c) 2004-2006 Eike Stepper, Fuggerstr. 39, 10777 Berlin, Germany.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Eike Stepper - initial API and implementation
- **************************************************************************/
-package org.eclipse.net4j.tests;
-
-
-import org.eclipse.net4j.core.Channel;
-import org.eclipse.net4j.core.Connector;
-import org.eclipse.net4j.core.Request;
-import org.eclipse.net4j.tests.protocol.Net4jTestProtocol;
-import org.eclipse.net4j.tests.protocol.TestRequest;
-import org.eclipse.net4j.util.thread.DeadlockDetector;
-
-import junit.framework.TestCase;
-
-
-public class SocketTest extends TestCase
-{
- private static final boolean PERFORMANCE = true;
-
- // ValueHelper.sizeOf(VALUES) --> 363 Bytes
- private static final Object[] VALUES = { 1, 2, 3, 4, 5, 6, 7, 8, 9, "A rose is a rose is a...",
- 1.1, 2.2, 3.3, 4.4, 5.5, 6.6, 7.7, 8.8, 9.9, "Eclipse 3", 'a', 'b', 'c', 'd', 'e', 'f', 'g',
- 1f, 2f, 3f, 4f, 5f, 6f, 7f, 8f, 9f, "Net4j: An extensible signalling framework", true, false};
-
- private TestContainer serverContainer;
-
- private TestContainer[] clientContainers;
-
- private int workers;
-
- private Exception exception;
-
- private Thread deadlockDetector;
-
- // static
- // {
- // System.out.println(ValueHelper.sizeOf(VALUES));
- // }
-
- public SocketTest(String name)
- {
- super(name);
- }
-
- protected void setUp() throws Exception
- {
- super.setUp();
- workers = 0;
- exception = null;
-
- if (DeadlockDetector.DETECTION)
- {
- deadlockDetector = new Thread("DeadlockDetector")
- {
- @Override
- public void run()
- {
- for (;;)
- {
- try
- {
- Thread.sleep(5000);
- }
- catch (InterruptedException ex)
- {
- return;
- }
- DeadlockDetector.dump();
- }
- }
- };
- deadlockDetector.setDaemon(true);
- deadlockDetector.start();
- }
- }
-
- protected void tearDown() throws Exception
- {
- if (clientContainers != null)
- {
- for (int i = 0; i < clientContainers.length; i++)
- {
- if (clientContainers[i] != null)
- {
- clientContainers[i].stop();
- clientContainers[i] = null;
- }
- }
- }
-
- if (serverContainer != null)
- {
- serverContainer.stop();
- serverContainer = null;
- }
-
- // if (DeadlockDetector.DETECTION)
- // {
- // DeadlockDetector.dump();
- // }
-
- if (deadlockDetector != null)
- {
- deadlockDetector.interrupt();
- deadlockDetector = null;
- }
-
- workers = 0;
- exception = null;
- super.tearDown();
- }
-
- protected void startContainers(int numberOfClients)
- {
- serverContainer = new TestContainer.SocketServer();
- clientContainers = new TestContainer.SocketClient[numberOfClients];
- for (int i = 0; i < numberOfClients; i++)
- {
- clientContainers[i] = new TestContainer.SocketClient("client"
- + (numberOfClients == 1 ? "" : "" + (i + 1)));
- }
- }
-
- protected void joinWorkers() throws InterruptedException, Exception
- {
- for (;;)
- {
- Thread.sleep(2000);
- synchronized (this)
- {
- if (workers == 0) break;
- if (exception != null)
- {
- exception.printStackTrace();
- throw exception;
- }
- }
- }
- }
-
- public static void echo(Channel channel, Object[] values)
- {
- Request request = new TestRequest(values);
- Object[] echo = (Object[]) channel.transmit(request);
- assertEquals(values, echo);
- }
-
- public static void assertEquals(Object[] values, Object[] echo)
- {
- assertEquals(values.length, echo.length);
- for (int i = 0; i < values.length; i++)
- {
- assertEquals(values[i], echo[i]);
- }
- }
-
-
- public class ChannelWorker extends Thread
- {
- private Channel channel;
-
- private Object[] values;
-
- private int numberOfRequests;
-
- public ChannelWorker(Connector connector, Object[] values, int numberOfRequests)
- {
- channel = connector.addChannel(Net4jTestProtocol.PROTOCOL_NAME);
- this.values = values;
- this.numberOfRequests = numberOfRequests;
-
- synchronized (SocketTest.this)
- {
- workers++;
- }
-
- start();
- }
-
- @Override
- public void run()
- {
- for (int i = 0; i < numberOfRequests; i++)
- {
- try
- {
- if (exception != null) return;
- echo(channel, values);
- }
- catch (Exception ex)
- {
- exception = ex;
- }
- }
-
- synchronized (SocketTest.this)
- {
- workers--;
- }
- }
- }
-
- public void stressTest() throws Exception
- {
- final int NUMBER_OF_CLIENTS = 4;
- final int CHANNELS_PER_CLIENT = 4;
- final int REQUESTS_PER_CHANNEL = 10000;
-
- startContainers(NUMBER_OF_CLIENTS);
- long t0 = System.currentTimeMillis();
- for (int i = 0; i < NUMBER_OF_CLIENTS; i++)
- {
- for (int j = 0; j < CHANNELS_PER_CLIENT; j++)
- {
- new ChannelWorker(clientContainers[i].getConnector(), VALUES, REQUESTS_PER_CHANNEL);
- Thread.sleep(200);
- }
- }
-
- joinWorkers();
- long t1 = System.currentTimeMillis();
- System.out.println("Duration: " + (t1 - t0) + " millisec");
- }
-
- public void performanceTest() throws Exception
- {
- startContainers(1);
- Connector connector = clientContainers[0].getConnector();
- Channel channel = connector.addChannel(Net4jTestProtocol.PROTOCOL_NAME);
-
- double total = 0.0;
- for (int i = 1; i <= 1000; i++)
- {
- long t0 = System.nanoTime();
- echo(channel, VALUES);
- long t1 = System.nanoTime();
-
- double duration = t1 - t0;
- total += duration;
- System.out.println("Run " + i + ": " + (duration / 1000000d));
- }
-
- System.out.println("Average: " + (total / 1000000000d) + " millisec");
- }
-
- public final void testSocket() throws Exception
- {
- if (!PERFORMANCE)
- {
- stressTest();
- }
- else
- {
- performanceTest();
- }
- }
-
- public final void testEmbedded() throws Exception
- {
- // serverContainer = new TestContainer.Embedded();
- // Connector connector = serverContainer.getConnector();
- // Channel channel = connector.addChannel(Net4jTestProtocol.PROTOCOL_NAME);
- //
- // double total = 0.0;
- // for (int i = 1; i <= 1000; i++)
- // {
- // long t0 = System.nanoTime();
- // echo(channel, VALUES);
- // long t1 = System.nanoTime();
- //
- // double duration = t1 - t0;
- // total += duration;
- // System.out.println("Run " + i + ": " + (duration / 1000000d));
- // }
- //
- // System.out.println("Average: " + (total / 1000000000d) + " millisec");
- }
-}
diff --git a/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/TestContainer.java b/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/TestContainer.java
deleted file mode 100644
index 7f165bb..0000000
--- a/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/TestContainer.java
+++ /dev/null
@@ -1,83 +0,0 @@
-/***************************************************************************
- * Copyright (c) 2004-2006 Eike Stepper, Fuggerstr. 39, 10777 Berlin, Germany.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Eike Stepper - initial API and implementation
- **************************************************************************/
-package org.eclipse.net4j.tests;
-
-
-import org.eclipse.net4j.core.Connector;
-import org.eclipse.net4j.spring.Container;
-import org.eclipse.net4j.spring.impl.ContainerImpl;
-
-import org.springframework.beans.BeansException;
-
-
-public class TestContainer extends ContainerImpl
-{
- private Connector connector;
-
- protected TestContainer(String baseResourcePath, String configLocation, String name,
- Container parent, ClassLoader classLoader) throws BeansException
- {
- super(baseResourcePath, configLocation, name, parent, classLoader);
- }
-
- protected TestContainer(String baseResourcePath, String[] configLocations, String name,
- Container parent, ClassLoader classLoader) throws BeansException
- {
- super(baseResourcePath, configLocations, name, parent, classLoader);
- }
-
- public Connector getConnector()
- {
- if (connector == null)
- {
- connector = (Connector) getBean("connector");
-
- try
- {
- connector.start();
- }
- catch (Exception ex)
- {
- ex.printStackTrace();
- return null;
- }
- }
-
- return connector;
- }
-
-
- public static class SocketClient extends TestContainer
- {
- public SocketClient(String name) throws BeansException
- {
- super(".", "META-INF/socketClient.xml", name, null, null);
- }
- }
-
-
- public static class SocketServer extends TestContainer
- {
- public SocketServer() throws BeansException
- {
- super(".", "META-INF/socketServer.xml", "server", null, null);
- }
- }
-
-
- public static class Embedded extends TestContainer
- {
- public Embedded() throws BeansException
- {
- super(".", "META-INF/embedded.xml", "embedded", null, null);
- }
- }
-}
diff --git a/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/old/ChannelImplTest.java b/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/old/ChannelImplTest.java
deleted file mode 100644
index 6946504..0000000
--- a/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/old/ChannelImplTest.java
+++ /dev/null
@@ -1,763 +0,0 @@
-/***************************************************************************
- * Copyright (c) 2004-2006 Eike Stepper, Fuggerstr. 39, 10777 Berlin, Germany.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Eike Stepper - initial API and implementation
- **************************************************************************/
-package org.eclipse.net4j.tests.old;
-
-
-import org.eclipse.net4j.core.Connector;
-import org.eclipse.net4j.core.Executor;
-import org.eclipse.net4j.core.Multiplexer;
-import org.eclipse.net4j.core.Protocol;
-import org.eclipse.net4j.core.impl.BufferImpl;
-import org.eclipse.net4j.core.impl.ChannelImpl;
-import org.eclipse.net4j.spring.Container;
-import org.eclipse.net4j.spring.Service;
-//import org.eclipse.net4j.spring.ValidationException;
-import org.eclipse.net4j.spring.impl.ContainerImpl;
-//import org.eclipse.net4j.tests.util.BlockingDetector;
-import org.eclipse.net4j.tests.util.ServiceInvoker;
-import org.eclipse.net4j.tests.util.TestUtils;
-import org.eclipse.net4j.util.ImplementationError;
-
-import org.easymock.MockControl;
-
-import java.util.Arrays;
-import java.util.concurrent.BlockingQueue;
-import java.util.concurrent.LinkedBlockingQueue;
-
-import junit.framework.TestCase;
-
-
-public class ChannelImplTest extends TestCase
-{
- protected static Container net4j = new ContainerImpl(null, (String[]) null, "net4j", null, null);
-
- protected ChannelImpl channel;
-
- protected Connector connectorMock;
-
- protected MockControl connectorMockControl;
-
- protected Executor dispatcherMock;
-
- protected MockControl dispatcherMockControl;
-
- protected Multiplexer multiplexerMock;
-
- protected MockControl multiplexerMockControl;
-
- protected Protocol protocolMock;
-
- protected MockControl protocolMockControl;
-
- /*
- * @see TestCase#setUp()
- */
- protected void setUp() throws Exception
- {
- super.setUp();
- init();
- }
-
- protected void init()
- {
- channel = new ChannelImpl();
- channel.setApplicationContext(net4j);
- channel.setBeanName("channel");
-
- connectorMockControl = MockControl.createControl(Connector.class);
- connectorMock = (Connector) connectorMockControl.getMock();
-
- dispatcherMockControl = MockControl.createControl(Executor.class);
- dispatcherMock = (Executor) dispatcherMockControl.getMock();
-
- multiplexerMockControl = MockControl.createControl(Multiplexer.class);
- multiplexerMock = (Multiplexer) multiplexerMockControl.getMock();
-
- protocolMockControl = MockControl.createControl(Protocol.class);
- protocolMock = (Protocol) protocolMockControl.getMock();
- }
-
- protected void start()
- {
- connectorMockControl.replay();
- dispatcherMockControl.replay();
- multiplexerMockControl.replay();
- protocolMockControl.replay();
- }
-
- protected void verify()
- {
- protocolMockControl.verify();
- multiplexerMockControl.verify();
- dispatcherMockControl.verify();
- connectorMockControl.verify();
- }
-
- protected BufferImpl createBuffer(int capacity, int level, boolean flipped)
- {
- BufferImpl buffer = new BufferImpl(capacity);
-
- if (level > 0)
- {
- buffer.put(Byte.MIN_VALUE); // for sequence-error-detection
-
- for (int i = 1; i < level; i++)
- {
- buffer.put((byte) (i % 256));
- }
- }
-
- if (flipped)
- {
- buffer.flip();
- }
-
- return buffer;
- }
-
- protected BlockingQueue<BufferImpl> createBufferQueue(int[] capacities, int[] levels,
- boolean flipped)
- {
- BlockingQueue<BufferImpl> queue = new LinkedBlockingQueue();
-
- for (int i = 0; i < levels.length; i++)
- {
- queue.add(createBuffer(capacities[i], levels[i], flipped));
- }
-
- return queue;
- }
-
- protected BlockingQueue<BufferImpl> createBufferQueue(int capacity, int[] levels, boolean flipped)
- {
- int[] capacities = new int[levels.length];
- Arrays.fill(capacities, capacity);
- return createBufferQueue(capacities, levels, flipped);
- }
-
- protected BlockingQueue<BufferImpl> createBufferQueue(int capacity, int level, boolean flipped)
- {
- return createBufferQueue(new int[] { capacity}, new int[] { level}, flipped);
- }
-
- public final void testSetGetChannelIndex()
- {
- channel.setChannelIndex((short) 4711);
- short result = channel.getChannelIndex();
- assertEquals("getChannelIndex returns the value of setChannelIndex", 4711, result);
-
- channel.setChannelIndex((short) 0);
- result = channel.getChannelIndex();
- assertEquals("getChannelIndex returns 0", 0, result);
- }
-
- public final void testSetGetConnector()
- {
- channel.setConnector(connectorMock);
- Connector result = channel.getConnector();
- assertEquals("getConnector returns the value of setConnector", connectorMock, result);
-
- channel.setConnector(null);
- result = channel.getConnector();
- assertNull("getConnector returns null", result);
- }
-
-// public final void testSetGetDispatcher()
-// {
-// channel.setDispatcher(dispatcherMock);
-// Executor result = channel.getDispatcher();
-// assertEquals("getDispatcher returns the value of setDispatcher", dispatcherMock, result);
-//
-// channel.setDispatcher(null);
-// result = channel.getDispatcher();
-// assertNull("getDispatcher returns null", result);
-// }
-
- public final void testSetGetMultiplexer()
- {
- channel.setMultiplexer(multiplexerMock);
- Multiplexer result = channel.getMultiplexer();
- assertEquals("getBufferPool returns the value of setMultiplexer", multiplexerMock, result);
-
- channel.setMultiplexer(null);
- result = channel.getMultiplexer();
- assertNull("getMultiplexer returns null", result);
- }
-
- public final void testSetGetProtocol()
- {
- channel.setProtocol(protocolMock);
- Protocol result = channel.getProtocol();
- assertEquals("getProtocol returns the value of setProtocol", protocolMock, result);
-
- channel.setProtocol(null);
- result = channel.getProtocol();
- assertNull("getProtocol returns null", result);
- }
-
-// public final void testSetGetInternalReturnValue()
-// {
-// Object returnValue = new Object();
-//
-// channel.internalSetReturnValue(returnValue);
-// Object result = channel.testGetReturnValue();
-// assertEquals("testGetReturnValue returns the value of internalSetReturnValue", returnValue,
-// result);
-//
-// channel.internalSetReturnValue(null);
-// result = channel.testGetReturnValue();
-// assertNull("testGetReturnValue returns null", result);
-// }
-
- public final void testSetGetProtocolData()
- {
- Object protocolData = new Object();
-
- channel.setProtocolData(protocolData);
- Object result = channel.getProtocolData();
- assertEquals("getProtocolData returns the value of setProtocolData", protocolData, result);
-
- channel.setProtocolData(null);
- result = channel.getProtocolData();
- assertNull("getProtocolData returns null", result);
- }
-
-// public final void testServiceGuards()
-// {
-// new ServiceInvoker(channel)
-// {
-// protected void invokeService(Service bean) throws Exception
-// {
-// ((ChannelImpl) bean).handleTransmission();
-// }
-// };
-//
-// new ServiceInvoker(channel)
-// {
-// protected void invokeService(Service bean) throws Exception
-// {
-// ((ChannelImpl) bean).transmit(null);
-// }
-// };
-//
-// new ServiceInvoker(channel)
-// {
-// protected void invokeService(Service bean) throws Exception
-// {
-// ((ChannelImpl) bean).transmit(null);
-// }
-// };
-// }
-
-// public final void testValidate()
-// {
-// channel.setDispatcher(dispatcherMock);
-// channel.setMultiplexer(multiplexerMock);
-// channel.testValidate();
-//
-// try
-// {
-// channel.setDispatcher(null);
-// channel.setMultiplexer(multiplexerMock);
-// channel.testValidate();
-// fail("expected ValidationException");
-// }
-// catch (ValidationException expected)
-// {
-// TestUtils.assertContains(expected, "dispatcher");
-// }
-//
-// try
-// {
-// channel.setDispatcher(dispatcherMock);
-// channel.setMultiplexer(null);
-// channel.testValidate();
-// fail("expected ValidationException");
-// }
-// catch (ValidationException expected)
-// {
-// TestUtils.assertContains(expected, "multiplexer");
-// }
-// }
-
- /**
- * PRECONDITION: dataSize == 0
- *
- * EXPECTATION: doesn't block;
- * throws IllegalArgumentException
- */
-// public final void testEnsureReceiverBuffer1() throws Throwable
-// {
-// BlockingQueue<BufferImpl> receiverQueue = new LinkedBlockingQueue();
-// channel.testSetReceiverQueue(receiverQueue);
-//
-// start();
-// try
-// {
-// new BlockingDetector(channel, receiverQueue, false)
-// {
-// protected void blockableOperation(Object target) throws Exception
-// {
-// ((ChannelImpl) target).testEnsureReceiverBufferData(0);
-// }
-// };
-// fail("IllegalArgumentException expected");
-// }
-// catch (IllegalArgumentException expected)
-// {
-// TestUtils.assertContains(expected, "dataSize");
-// }
-// verify();
-// }
-
- /**
- * PRECONDITION: dataSize < 0
- *
- * EXPECTATION: doesn't block;
- * throws IllegalArgumentException
- */
-// public final void testEnsureReceiverBuffer2() throws Throwable
-// {
-// BlockingQueue<BufferImpl> receiverQueue = new LinkedBlockingQueue();
-// channel.testSetReceiverQueue(receiverQueue);
-//
-// start();
-// try
-// {
-// new BlockingDetector(channel, receiverQueue, false)
-// {
-// protected void blockableOperation(Object target) throws Exception
-// {
-// ((ChannelImpl) target).testEnsureReceiverBufferData(-1);
-// }
-// };
-// fail("IllegalArgumentException expected");
-// }
-// catch (IllegalArgumentException expected)
-// {
-// TestUtils.assertContains(expected, "dataSize");
-// }
-// verify();
-// }
-
- /**
- * PRECONDITION: receiverBuffer exists;
- * 0 < level < dataSize
- *
- * EXPECTATION: doesn't block;
- * throws ImplementationError
- */
-// public final void testEnsureReceiverBuffer3() throws Throwable
-// {
-// BufferImpl receiverBuffer = createBuffer(20, 3, true);
-// channel.testSetReceiverBuffer(receiverBuffer);
-//
-// BlockingQueue<BufferImpl> receiverQueue = new LinkedBlockingQueue();
-// channel.testSetReceiverQueue(receiverQueue);
-//
-// start();
-// try
-// {
-// new BlockingDetector(channel, receiverQueue, false)
-// {
-// protected void blockableOperation(Object target) throws Exception
-// {
-// ((ChannelImpl) target).testEnsureReceiverBufferData(7);
-// }
-// };
-// fail("ImplementationError expected");
-// }
-// catch (ImplementationError expected)
-// {
-// TestUtils.assertContains(expected, "receiverBuffer level too low");
-// }
-// verify();
-// }
-
- /**
- * PRECONDITION: receiverBuffer exists;
- * 0 < dataSize < level
- *
- * EXPECTATION: doesn't block;
- * receiverBuffer not returned to bufferPool
- */
-// public final void testEnsureReceiverBuffer4() throws Throwable
-// {
-// BufferImpl receiverBuffer = createBuffer(20, 12, true);
-// channel.testSetReceiverBuffer(receiverBuffer);
-//
-// BlockingQueue<BufferImpl> receiverQueue = new LinkedBlockingQueue();
-// channel.testSetReceiverQueue(receiverQueue);
-//
-// start();
-// new BlockingDetector(channel, receiverQueue, false)
-// {
-// protected void blockableOperation(Object target) throws Exception
-// {
-// ((ChannelImpl) target).testEnsureReceiverBufferData(7);
-// }
-// };
-// verify();
-// }
-
- /**
- * PRECONDITION: receiverBuffer exists;
- * 0 < dataSize == level
- *
- * EXPECTATION: doesn't block;
- * receiverBuffer not returned to bufferPool
- */
-// public final void testEnsureReceiverBuffer5() throws Throwable
-// {
-// BufferImpl receiverBuffer = createBuffer(20, 12, true);
-// channel.testSetReceiverBuffer(receiverBuffer);
-//
-// BlockingQueue<BufferImpl> receiverQueue = new LinkedBlockingQueue();
-// channel.testSetReceiverQueue(receiverQueue);
-//
-// start();
-// new BlockingDetector(channel, receiverQueue, false)
-// {
-// protected void blockableOperation(Object target) throws Exception
-// {
-// ((ChannelImpl) target).testEnsureReceiverBufferData(12);
-// }
-// };
-// verify();
-// }
-
- /**
- * PRECONDITION: receiverBuffer exists;
- * 0 == level < dataSize;
- * receiverQueue empty
- *
- * EXPECTATION: receiverBuffer returned to bufferPool;
- * blocks
- */
-// public final void testEnsureReceiverBuffer6() throws Throwable
-// {
-// BufferImpl receiverBuffer = createBuffer(20, 0, true);
-// channel.testSetReceiverBuffer(receiverBuffer);
-//
-// BlockingQueue<BufferImpl> receiverQueue = new LinkedBlockingQueue();
-// channel.testSetReceiverQueue(receiverQueue);
-//
-// connectorMock.releaseBuffer(receiverBuffer);
-// channel.setConnector(connectorMock);
-//
-// start();
-// new BlockingDetector(channel, receiverQueue, true)
-// {
-// protected void blockableOperation(Object target) throws Exception
-// {
-// ((ChannelImpl) target).testEnsureReceiverBufferData(7);
-// }
-// };
-// verify();
-// }
-
- /**
- * PRECONDITION: receiverBuffer exists;
- * 0 == level < dataSize;
- * receiverQueue has too small buffer
- *
- * EXPECTATION: doesn't block;
- * receiverBuffer returned to bufferPool
- * throws ImplementationError
- */
-// public final void testEnsureReceiverBuffer7() throws Throwable
-// {
-// BufferImpl receiverBuffer = createBuffer(20, 0, true);
-// channel.testSetReceiverBuffer(receiverBuffer);
-//
-// BlockingQueue<BufferImpl> receiverQueue = createBufferQueue(20, 5, true);
-// channel.testSetReceiverQueue(receiverQueue);
-//
-// connectorMock.releaseBuffer(receiverBuffer);
-// channel.setConnector(connectorMock);
-//
-// start();
-// try
-// {
-// new BlockingDetector(channel, receiverQueue, false)
-// {
-// protected void blockableOperation(Object target) throws Exception
-// {
-// ((ChannelImpl) target).testEnsureReceiverBufferData(7);
-// }
-// };
-// fail("ImplementationError expected");
-// }
-// catch (ImplementationError expected)
-// {
-// TestUtils.assertContains(expected, "receiverBuffer level too low");
-// }
-// verify();
-// }
-
- /**
- * PRECONDITION: receiverBuffer exists;
- * 0 == level < dataSize;
- * receiverQueue has exact buffer
- *
- * EXPECTATION: doesn't block;
- * receiverBuffer returned to bufferPool
- */
-// public final void testEnsureReceiverBuffer8() throws Throwable
-// {
-// BufferImpl receiverBuffer = createBuffer(20, 0, true);
-// channel.testSetReceiverBuffer(receiverBuffer);
-//
-// BlockingQueue<BufferImpl> receiverQueue = createBufferQueue(20, 7, true);
-// channel.testSetReceiverQueue(receiverQueue);
-//
-// connectorMock.releaseBuffer(receiverBuffer);
-// channel.setConnector(connectorMock);
-//
-// start();
-// new BlockingDetector(channel, receiverQueue, false)
-// {
-// protected void blockableOperation(Object target) throws Exception
-// {
-// ((ChannelImpl) target).testEnsureReceiverBufferData(7);
-// }
-// };
-// verify();
-// }
-
- /**
- * PRECONDITION: receiverBuffer exists;
- * 0 == level < dataSize;
- * receiverQueue has too big buffer
- *
- * EXPECTATION: doesn't block;
- * receiverBuffer returned to bufferPool
- */
-// public final void testEnsureReceiverBuffer9() throws Throwable
-// {
-// BufferImpl receiverBuffer = createBuffer(20, 0, true);
-// channel.testSetReceiverBuffer(receiverBuffer);
-//
-// BlockingQueue<BufferImpl> receiverQueue = createBufferQueue(20, 12, true);
-// channel.testSetReceiverQueue(receiverQueue);
-//
-// connectorMock.releaseBuffer(receiverBuffer);
-// channel.setConnector(connectorMock);
-//
-// start();
-// new BlockingDetector(channel, receiverQueue, false)
-// {
-// protected void blockableOperation(Object target) throws Exception
-// {
-// ((ChannelImpl) target).testEnsureReceiverBufferData(7);
-// }
-// };
-// verify();
-// }
-
- /**
- * PRECONDITION: transmitterBuffer doesn't exists
- *
- * EXPECTATION: throws ImplementationError
- */
-// public final void testFlush1()
-// {
-// start();
-// try
-// {
-// channel.flush();
-// fail("ImplementationError expected");
-// }
-// catch (ImplementationError expected)
-// {
-// TestUtils.assertContains(expected, "transmitterBuffer must exist");
-// }
-// verify();
-// }
-
- /**
- * PRECONDITION: transmitterBuffer exists;
- * level == 0
- *
- * EXPECTATION: immediately returns
- */
-// public final void testFlush2()
-// {
-// BufferImpl transmitterBuffer = createBuffer(20, 0, false);
-// channel.testSetTransmitterBuffer(transmitterBuffer);
-//
-// start();
-// channel.flush();
-// verify();
-// }
-
- /**
- * PRECONDITION: transmitterBuffer exists;
- * level > 0
- *
- * EXPECTATION: transmitterBuffer is flipped;
- * appended to transmitterQueue;
- * channel is scheduled for transmission;
- * a new transmitterBuffer is fetched from the bufferPool;
- * the new transmitterBuffer is empty
- */
-// public final void testFlush3()
-// {
-// BufferImpl transmitterBuffer = createBuffer(20, 7, false);
-// channel.testSetTransmitterBuffer(transmitterBuffer);
-//
-// BlockingQueue<BufferImpl> transmitterQueue = new LinkedBlockingQueue();
-// channel.testSetTransmitterQueue(transmitterQueue);
-//
-// multiplexerMock.schedule(channel);
-// channel.setMultiplexer(multiplexerMock);
-//
-// connectorMockControl.expectAndReturn(connectorMock.provideBuffer(), createBuffer(10, 10, true));
-// channel.setConnector(connectorMock);
-//
-// start();
-// channel.flush();
-// verify();
-//
-// assertTrue("transmitterBuffer is flipped", transmitterBuffer.position() == 0);
-// assertTrue("transmitterBuffer is in transmitterQueue",
-// transmitterQueue.peek() == transmitterBuffer);
-// assertNotSame("a new transmitterBuffer is expected", transmitterBuffer, channel
-// .testGetTransmitterBuffer());
-// assertTrue("the new transmitterBuffer must be empty", channel.testGetTransmitterBuffer()
-// .position() < channel.testGetTransmitterBuffer().limit()); // TODO test emptyness
-// }
-
- // public final void testReceiveBoolean()
- // {
- // throw new ImplementationError("Implement receiveBoolean()");
- // }
- //
- // public final void testReceiveByte()
- // {
- // throw new ImplementationError("Implement receiveByte()");
- // }
- //
- // public final void testReceiveChar()
- // {
- // throw new ImplementationError("Implement receiveChar()");
- // }
- //
- // public final void testReceiveDouble()
- // {
- // throw new ImplementationError("Implement receiveDouble()");
- // }
- //
- // public final void testReceiveFloat()
- // {
- // throw new ImplementationError("Implement receiveFloat()");
- // }
- //
- // public final void testReceiveInt()
- // {
- // throw new ImplementationError("Implement receiveInt()");
- // }
- //
- // public final void testReceiveLong()
- // {
- // throw new ImplementationError("Implement receiveLong()");
- // }
- //
- // public final void testReceiveObject()
- // {
- // throw new ImplementationError("Implement receiveObject()");
- // }
- //
- // public final void testReceiveShort()
- // {
- // throw new ImplementationError("Implement receiveShort()");
- // }
- //
- // public final void testReceiveString()
- // {
- // throw new ImplementationError("Implement receiveString()");
- // }
- //
- // public final void testTransmitBoolean()
- // {
- // throw new ImplementationError("Implement transmitBoolean()");
- // }
- //
- // public final void testTransmitByte()
- // {
- // throw new ImplementationError("Implement transmitByte()");
- // }
- //
- // public final void testTransmitChar()
- // {
- // throw new ImplementationError("Implement transmitChar()");
- // }
- //
- // public final void testTransmitDouble()
- // {
- // throw new ImplementationError("Implement transmitDouble()");
- // }
- //
- // public final void testTransmitFloat()
- // {
- // throw new ImplementationError("Implement transmitFloat()");
- // }
- //
- // public final void testTransmitInt()
- // {
- // throw new ImplementationError("Implement transmitInt()");
- // }
- //
- // public final void testTransmitLong()
- // {
- // throw new ImplementationError("Implement transmitLong()");
- // }
- //
- // public final void testTransmitObject()
- // {
- // throw new ImplementationError("Implement transmitObject()");
- // }
- //
- // public final void testTransmitShort()
- // {
- // throw new ImplementationError("Implement transmitShort()");
- // }
- //
- // public final void testTransmitString()
- // {
- // throw new ImplementationError("Implement transmitString()");
- // }
- //
- // public final void testNotifyFinished()
- // {
- // throw new ImplementationError("Implement notifyFinished()");
- // }
- //
- // public final void testNotifyData()
- // {
- // throw new ImplementationError("Implement notifyData()");
- // }
- //
- // public final void testNotification()
- // {
- // throw new ImplementationError("Implement notification()");
- // }
- //
- // public final void testRequest()
- // {
- // throw new ImplementationError("Implement request()");
- // }
- //
- // public final void testHandleTransmission()
- // {
- // throw new ImplementationError("Implement handleTransmission()");
- // }
-}
diff --git a/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/old/PoolTest.java b/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/old/PoolTest.java
deleted file mode 100644
index 26de437..0000000
--- a/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/old/PoolTest.java
+++ /dev/null
@@ -1,724 +0,0 @@
-/***************************************************************************
- * Copyright (c) 2004-2006 Eike Stepper, Fuggerstr. 39, 10777 Berlin, Germany.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Eike Stepper - initial API and implementation
- **************************************************************************/
-package org.eclipse.net4j.tests.old;
-
-
-import org.eclipse.net4j.core.impl.AbstractPool;
-import org.eclipse.net4j.spring.Container;
-import org.eclipse.net4j.spring.impl.ContainerImpl;
-
-import junit.framework.TestCase;
-
-
-public class PoolTest extends TestCase
-{
- protected class TestPooled
- {
- protected Object key;
-
- public TestPooled(Object key)
- {
- this.key = key;
- }
-
- public Object getKey()
- {
- return key;
- }
- }
-
-
- protected class TestPool extends AbstractPool
- {
- protected Class<TestPooled> doGetPooledClass(Object key)
- {
- return TestPooled.class;
- }
-
- protected Object newPooled(Object key) throws Exception
- {
- return new TestPooled(key);
- }
- }
-
- protected static Container net4j = new ContainerImpl(null, (String[]) null, "net4j", null, null);
-
- protected TestPool pool;
-
- // protected Pool bufferPoolMock;
- //
- // protected MockControl bufferPoolMockControl;
- //
- // protected Connector connectorMock;
- //
- // protected MockControl connectorMockControl;
- //
- // protected Executor dispatcherMock;
- //
- // protected MockControl dispatcherMockControl;
- //
- // protected Multiplexer multiplexerMock;
- //
- // protected MockControl multiplexerMockControl;
- //
- // protected Protocol protocolMock;
- //
- // protected MockControl protocolMockControl;
-
- /*
- * @see TestCase#setUp()
- */
- protected void setUp() throws Exception
- {
- super.setUp();
- init();
- }
-
- protected void init()
- {
- pool = new TestPool();
- pool.setApplicationContext(net4j);
- pool.setBeanName("testPool");
-
- // bufferPoolMockControl = MockControl.createControl(Pool.class);
- // bufferPoolMock = (Pool) bufferPoolMockControl.getMock();
- //
- // connectorMockControl = MockControl.createControl(Connector.class);
- // connectorMock = (Connector) connectorMockControl.getMock();
- //
- // dispatcherMockControl = MockControl.createControl(Executor.class);
- // dispatcherMock = (Executor) dispatcherMockControl.getMock();
- //
- // multiplexerMockControl = MockControl.createControl(Multiplexer.class);
- // multiplexerMock = (Multiplexer) multiplexerMockControl.getMock();
- //
- // protocolMockControl = MockControl.createControl(Protocol.class);
- // protocolMock = (Protocol) protocolMockControl.getMock();
- }
-
- protected void start()
- {
- // bufferPoolMockControl.replay();
- // connectorMockControl.replay();
- // dispatcherMockControl.replay();
- // multiplexerMockControl.replay();
- // protocolMockControl.replay();
- }
-
- protected void verify()
- {
- // protocolMockControl.verify();
- // multiplexerMockControl.verify();
- // dispatcherMockControl.verify();
- // connectorMockControl.verify();
- // bufferPoolMockControl.verify();
- }
-
- // protected BufferImpl createBuffer(int capacity, int level, boolean flipped)
- // {
- // BufferImpl buffer = new BufferImpl(capacity);
- //
- // if (level > 0)
- // {
- // buffer.put(Byte.MIN_VALUE); // for sequence-error-detection
- //
- // for (int i = 1; i < level; i++)
- // {
- // buffer.put((byte) (i % 256));
- // }
- // }
- //
- // if (flipped)
- // {
- // buffer.flip();
- // }
- //
- // return buffer;
- // }
- //
- // protected NodeCachingLinkedList createBufferQueue(int[] capacities, int[] levels, boolean flipped)
- // {
- // NodeCachingLinkedList queue = new NodeCachingLinkedList();
- //
- // for (int i = 0; i < levels.length; i++)
- // {
- // queue.add(createBuffer(capacities[i], levels[i], flipped));
- // }
- //
- // return queue;
- // }
- //
- // protected NodeCachingLinkedList createBufferQueue(int capacity, int[] levels, boolean flipped)
- // {
- // int[] capacities = new int[levels.length];
- // Arrays.fill(capacities, capacity);
- // return createBufferQueue(capacities, levels, flipped);
- // }
- //
- // protected NodeCachingLinkedList createBufferQueue(int capacity, int level, boolean flipped)
- // {
- // return createBufferQueue(new int[] { capacity}, new int[] { level}, flipped);
- // }
-
- public final void testGet()
- {
- pool.setMinimumCapacity(0);
- pool.setMaximumCapacity(10);
-
- final int COUNT = 20;
- Object[] pooled = new Object[COUNT];
-
- for (int i = COUNT - 1; i >= 0; --i)
- {
- pooled[i] = pool.get();
- assertNotNull(pooled[i]);
- assertEquals(0, pool.getLevel());
- }
-
- for (int i = 0; i < COUNT; i++)
- {
- assertEquals(i, pool.getLevel());
- pool.put(pooled[i]);
- assertEquals(i + 1, pool.getLevel());
- }
-
- for (int i = COUNT - 1; i >= 0; --i)
- {
- assertEquals(i + 1, pool.getLevel());
- pooled[i] = pool.get();
- assertNotNull(pooled[i]);
- assertEquals(i, pool.getLevel());
- }
-
- }
-
- // public final void testSetGetChannelIndex()
- // {
- // pool.setChannelId((short) 4711);
- // short result = pool.getChannelId();
- // assertEquals("getChannelId returns the value of setChannelId", 4711, result);
- //
- // pool.setChannelId((short) 0);
- // result = pool.getChannelId();
- // assertEquals("getChannelId returns 0", 0, result);
- // }
- //
- // public final void testSetGetBufferPool()
- // {
- // pool.setBufferPool(bufferPoolMock);
- // Pool result = pool.getBufferPool();
- // assertEquals("getBufferPool returns the value of setBufferPool", bufferPoolMock, result);
- //
- // pool.setBufferPool(null);
- // result = pool.getBufferPool();
- // assertNull("getBufferPool returns null", result);
- // }
- //
- // public final void testSetGetConnector()
- // {
- // pool.setConnector(connectorMock);
- // Connector result = pool.getConnector();
- // assertEquals("getConnector returns the value of setConnector", connectorMock, result);
- //
- // pool.setConnector(null);
- // result = pool.getConnector();
- // assertNull("getConnector returns null", result);
- // }
- //
- // public final void testSetGetDispatcher()
- // {
- // pool.setDispatcher(dispatcherMock);
- // Executor result = pool.getDispatcher();
- // assertEquals("getDispatcher returns the value of setDispatcher", dispatcherMock, result);
- //
- // pool.setDispatcher(null);
- // result = pool.getDispatcher();
- // assertNull("getDispatcher returns null", result);
- // }
- //
- // public final void testSetGetMultiplexer()
- // {
- // pool.setMultiplexer(multiplexerMock);
- // Multiplexer result = pool.getMultiplexer();
- // assertEquals("getBufferPool returns the value of setMultiplexer", multiplexerMock, result);
- //
- // pool.setMultiplexer(null);
- // result = pool.getMultiplexer();
- // assertNull("getMultiplexer returns null", result);
- // }
- //
- // public final void testSetGetProtocol()
- // {
- // pool.setProtocol(protocolMock);
- // Protocol result = pool.getProtocol();
- // assertEquals("getProtocol returns the value of setProtocol", protocolMock, result);
- //
- // pool.setProtocol(null);
- // result = pool.getProtocol();
- // assertNull("getProtocol returns null", result);
- // }
- //
- // public final void testSetGetInternalReturnValue()
- // {
- // Object returnValue = new Object();
- //
- // pool.internalSetReturnValue(returnValue);
- // Object result = pool.testGetReturnValue();
- // assertEquals("testGetReturnValue returns the value of internalSetReturnValue", returnValue,
- // result);
- //
- // pool.internalSetReturnValue(null);
- // result = pool.testGetReturnValue();
- // assertNull("testGetReturnValue returns null", result);
- // }
- //
- // public final void testSetGetProtocolData()
- // {
- // Object protocolData = new Object();
- //
- // pool.setProtocolData(protocolData);
- // Object result = pool.getProtocolData();
- // assertEquals("getProtocolData returns the value of setProtocolData", protocolData, result);
- //
- // pool.setProtocolData(null);
- // result = pool.getProtocolData();
- // assertNull("getProtocolData returns null", result);
- // }
- //
- // public final void testServiceGuards()
- // {
- // new ServiceInvoker(pool)
- // {
- // protected void invokeService(DefaultBean bean) throws Exception
- // {
- // ((DefaultChannel) bean).handleTransmission();
- // }
- // };
- //
- // new ServiceInvoker(pool)
- // {
- // protected void invokeService(DefaultBean bean) throws Exception
- // {
- // ((DefaultChannel) bean).notification(null);
- // }
- // };
- //
- // new ServiceInvoker(pool)
- // {
- // protected void invokeService(DefaultBean bean) throws Exception
- // {
- // ((DefaultChannel) bean).request(null);
- // }
- // };
- // }
- //
- // public final void testValidate()
- // {
- // pool.setBufferPool(bufferPoolMock);
- // pool.setDispatcher(dispatcherMock);
- // pool.setMultiplexer(multiplexerMock);
- // pool.testValidate();
- //
- // try
- // {
- // pool.setBufferPool(null);
- // pool.setDispatcher(dispatcherMock);
- // pool.setMultiplexer(multiplexerMock);
- // pool.testValidate();
- // fail("expected ValidationException");
- // }
- // catch (ValidationException expected)
- // {
- // TestUtils.assertContains(expected, "bufferPool");
- // }
- //
- // try
- // {
- // pool.setBufferPool(bufferPoolMock);
- // pool.setDispatcher(null);
- // pool.setMultiplexer(multiplexerMock);
- // pool.testValidate();
- // fail("expected ValidationException");
- // }
- // catch (ValidationException expected)
- // {
- // TestUtils.assertContains(expected, "dispatcher");
- // }
- //
- // try
- // {
- // pool.setBufferPool(bufferPoolMock);
- // pool.setDispatcher(dispatcherMock);
- // pool.setMultiplexer(null);
- // pool.testValidate();
- // fail("expected ValidationException");
- // }
- // catch (ValidationException expected)
- // {
- // TestUtils.assertContains(expected, "multiplexer");
- // }
- // }
- //
- // /**
- // * PRECONDITION: dataSize == 0
- // *
- // * EXPECTATION: doesn't block;
- // * throws IllegalArgumentException
- // */
- // public final void testEnsureReceiverBuffer1() throws Throwable
- // {
- // NodeCachingLinkedList receiverQueue = new NodeCachingLinkedList();
- // pool.testSetReceiverQueue(receiverQueue);
- //
- // start();
- // try
- // {
- // new BlockingDetector(pool, receiverQueue, false)
- // {
- // protected void blockableOperation(Object target) throws Exception
- // {
- // ((DefaultChannel) target).testEnsureReceiverBuffer(0);
- // }
- // };
- // fail("IllegalArgumentException expected");
- // }
- // catch (IllegalArgumentException expected)
- // {
- // TestUtils.assertContains(expected, "dataSize");
- // }
- // verify();
- // }
- //
- // /**
- // * PRECONDITION: dataSize < 0
- // *
- // * EXPECTATION: doesn't block;
- // * throws IllegalArgumentException
- // */
- // public final void testEnsureReceiverBuffer2() throws Throwable
- // {
- // NodeCachingLinkedList receiverQueue = new NodeCachingLinkedList();
- // pool.testSetReceiverQueue(receiverQueue);
- //
- // start();
- // try
- // {
- // new BlockingDetector(pool, receiverQueue, false)
- // {
- // protected void blockableOperation(Object target) throws Exception
- // {
- // ((DefaultChannel) target).testEnsureReceiverBuffer(-1);
- // }
- // };
- // fail("IllegalArgumentException expected");
- // }
- // catch (IllegalArgumentException expected)
- // {
- // TestUtils.assertContains(expected, "dataSize");
- // }
- // verify();
- // }
- //
- // /**
- // * PRECONDITION: receiverBuffer exists;
- // * 0 < level < dataSize
- // *
- // * EXPECTATION: doesn't block;
- // * throws ImplementationError
- // */
- // public final void testEnsureReceiverBuffer3() throws Throwable
- // {
- // BufferImpl receiverBuffer = createBuffer(20, 3, true);
- // pool.testSetReceiverBuffer(receiverBuffer);
- //
- // NodeCachingLinkedList receiverQueue = new NodeCachingLinkedList();
- // pool.testSetReceiverQueue(receiverQueue);
- //
- // pool.setBufferPool(bufferPoolMock);
- //
- // start();
- // try
- // {
- // new BlockingDetector(pool, receiverQueue, false)
- // {
- // protected void blockableOperation(Object target) throws Exception
- // {
- // ((DefaultChannel) target).testEnsureReceiverBuffer(7);
- // }
- // };
- // fail("ImplementationError expected");
- // }
- // catch (ImplementationError expected)
- // {
- // TestUtils.assertContains(expected, "receiverBuffer level too low");
- // }
- // verify();
- // }
- //
- // /**
- // * PRECONDITION: receiverBuffer exists;
- // * 0 < dataSize < level
- // *
- // * EXPECTATION: doesn't block;
- // * receiverBuffer not returned to bufferPool
- // */
- // public final void testEnsureReceiverBuffer4() throws Throwable
- // {
- // BufferImpl receiverBuffer = createBuffer(20, 12, true);
- // pool.testSetReceiverBuffer(receiverBuffer);
- //
- // NodeCachingLinkedList receiverQueue = new NodeCachingLinkedList();
- // pool.testSetReceiverQueue(receiverQueue);
- //
- // pool.setBufferPool(bufferPoolMock);
- //
- // start();
- // new BlockingDetector(pool, receiverQueue, false)
- // {
- // protected void blockableOperation(Object target) throws Exception
- // {
- // ((DefaultChannel) target).testEnsureReceiverBuffer(7);
- // }
- // };
- // verify();
- // }
- //
- // /**
- // * PRECONDITION: receiverBuffer exists;
- // * 0 < dataSize == level
- // *
- // * EXPECTATION: doesn't block;
- // * receiverBuffer not returned to bufferPool
- // */
- // public final void testEnsureReceiverBuffer5() throws Throwable
- // {
- // BufferImpl receiverBuffer = createBuffer(20, 12, true);
- // pool.testSetReceiverBuffer(receiverBuffer);
- //
- // NodeCachingLinkedList receiverQueue = new NodeCachingLinkedList();
- // pool.testSetReceiverQueue(receiverQueue);
- //
- // pool.setBufferPool(bufferPoolMock);
- //
- // start();
- // new BlockingDetector(pool, receiverQueue, false)
- // {
- // protected void blockableOperation(Object target) throws Exception
- // {
- // ((DefaultChannel) target).testEnsureReceiverBuffer(12);
- // }
- // };
- // verify();
- // }
- //
- // /**
- // * PRECONDITION: receiverBuffer exists;
- // * 0 == level < dataSize;
- // * receiverQueue empty
- // *
- // * EXPECTATION: receiverBuffer returned to bufferPool;
- // * blocks
- // */
- // public final void testEnsureReceiverBuffer6() throws Throwable
- // {
- // BufferImpl receiverBuffer = createBuffer(20, 0, true);
- // pool.testSetReceiverBuffer(receiverBuffer);
- //
- // NodeCachingLinkedList receiverQueue = new NodeCachingLinkedList();
- // pool.testSetReceiverQueue(receiverQueue);
- //
- // bufferPoolMock.put(new Integer(20), receiverBuffer);
- // pool.setBufferPool(bufferPoolMock);
- //
- // start();
- // new BlockingDetector(pool, receiverQueue, true)
- // {
- // protected void blockableOperation(Object target) throws Exception
- // {
- // ((DefaultChannel) target).testEnsureReceiverBuffer(7);
- // }
- // };
- // verify();
- // }
- //
- // /**
- // * PRECONDITION: receiverBuffer exists;
- // * 0 == level < dataSize;
- // * receiverQueue has too small buffer
- // *
- // * EXPECTATION: doesn't block;
- // * receiverBuffer returned to bufferPool
- // * throws ImplementationError
- // */
- // public final void testEnsureReceiverBuffer7() throws Throwable
- // {
- // BufferImpl receiverBuffer = createBuffer(20, 0, true);
- // pool.testSetReceiverBuffer(receiverBuffer);
- //
- // NodeCachingLinkedList receiverQueue = createBufferQueue(20, 5, true);
- // pool.testSetReceiverQueue(receiverQueue);
- //
- // bufferPoolMock.put(new Integer(20), receiverBuffer);
- // pool.setBufferPool(bufferPoolMock);
- //
- // start();
- // try
- // {
- // new BlockingDetector(pool, receiverQueue, false)
- // {
- // protected void blockableOperation(Object target) throws Exception
- // {
- // ((DefaultChannel) target).testEnsureReceiverBuffer(7);
- // }
- // };
- // fail("ImplementationError expected");
- // }
- // catch (ImplementationError expected)
- // {
- // TestUtils.assertContains(expected, "receiverBuffer level too low");
- // }
- // verify();
- // }
- //
- // /**
- // * PRECONDITION: receiverBuffer exists;
- // * 0 == level < dataSize;
- // * receiverQueue has exact buffer
- // *
- // * EXPECTATION: doesn't block;
- // * receiverBuffer returned to bufferPool
- // */
- // public final void testEnsureReceiverBuffer8() throws Throwable
- // {
- // BufferImpl receiverBuffer = createBuffer(20, 0, true);
- // pool.testSetReceiverBuffer(receiverBuffer);
- //
- // NodeCachingLinkedList receiverQueue = createBufferQueue(20, 7, true);
- // pool.testSetReceiverQueue(receiverQueue);
- //
- // bufferPoolMock.put(new Integer(20), receiverBuffer);
- // pool.setBufferPool(bufferPoolMock);
- //
- // start();
- // new BlockingDetector(pool, receiverQueue, false)
- // {
- // protected void blockableOperation(Object target) throws Exception
- // {
- // ((DefaultChannel) target).testEnsureReceiverBuffer(7);
- // }
- // };
- // verify();
- // }
- //
- // /**
- // * PRECONDITION: receiverBuffer exists;
- // * 0 == level < dataSize;
- // * receiverQueue has too big buffer
- // *
- // * EXPECTATION: doesn't block;
- // * receiverBuffer returned to bufferPool
- // */
- // public final void testEnsureReceiverBuffer9() throws Throwable
- // {
- // BufferImpl receiverBuffer = createBuffer(20, 0, true);
- // pool.testSetReceiverBuffer(receiverBuffer);
- //
- // NodeCachingLinkedList receiverQueue = createBufferQueue(20, 12, true);
- // pool.testSetReceiverQueue(receiverQueue);
- //
- // bufferPoolMock.put(new Integer(20), receiverBuffer);
- // pool.setBufferPool(bufferPoolMock);
- //
- // start();
- // new BlockingDetector(pool, receiverQueue, false)
- // {
- // protected void blockableOperation(Object target) throws Exception
- // {
- // ((DefaultChannel) target).testEnsureReceiverBuffer(7);
- // }
- // };
- // verify();
- // }
- //
- // /**
- // * PRECONDITION: transmitterBuffer doesn't exists
- // *
- // * EXPECTATION: throws ImplementationError
- // */
- // public final void testFlush1()
- // {
- // start();
- // try
- // {
- // pool.flush();
- // fail("ImplementationError expected");
- // }
- // catch (ImplementationError expected)
- // {
- // TestUtils.assertContains(expected, "transmitterBuffer must exist");
- // }
- // verify();
- // }
- //
- // /**
- // * PRECONDITION: transmitterBuffer exists;
- // * level == 0
- // *
- // * EXPECTATION: immediately returns
- // */
- // public final void testFlush2()
- // {
- // BufferImpl transmitterBuffer = createBuffer(20, 0, false);
- // pool.testSetTransmitterBuffer(transmitterBuffer);
- //
- // start();
- // pool.flush();
- // verify();
- // }
- //
- // /**
- // * PRECONDITION: transmitterBuffer exists;
- // * level > 0
- // *
- // * EXPECTATION: transmitterBuffer is flipped;
- // * appended to transmitterQueue;
- // * channel is scheduled for transmission;
- // * a new transmitterBuffer is fetched from the bufferPool;
- // * the new transmitterBuffer is empty
- // */
- // public final void testFlush3()
- // {
- // BufferImpl transmitterBuffer = createBuffer(20, 7, false);
- // pool.testSetTransmitterBuffer(transmitterBuffer);
- //
- // NodeCachingLinkedList transmitterQueue = new NodeCachingLinkedList();
- // pool.testSetTransmitterQueue(transmitterQueue);
- //
- // multiplexerMock.schedule(pool);
- // pool.setMultiplexer(multiplexerMock);
- //
- // bufferPoolMockControl.expectAndReturn(bufferPoolMock.get(), createBuffer(10, 10, false));
- // pool.setBufferPool(bufferPoolMock);
- //
- // start();
- // pool.flush();
- // verify();
- //
- // assertTrue("transmitterBuffer is flipped", transmitterBuffer.position() == 0);
- // assertTrue("transmitterBuffer is in transmitterQueue",
- // transmitterQueue.get(0) == transmitterBuffer);
- // assertNotSame("a new transmitterBuffer is expected", transmitterBuffer, pool
- // .testGetTransmitterBuffer());
- // assertTrue("the new transmitterBuffer must be empty", pool.testGetTransmitterBuffer()
- // .position() == 0);
- //
- // }
-}
diff --git a/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/old/SelectorTest.java b/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/old/SelectorTest.java
deleted file mode 100644
index 6345c9c..0000000
--- a/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/old/SelectorTest.java
+++ /dev/null
@@ -1,64 +0,0 @@
-/***************************************************************************
- * Copyright (c) 2004-2006 Eike Stepper, Fuggerstr. 39, 10777 Berlin, Germany.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Eike Stepper - initial API and implementation
- **************************************************************************/
-package org.eclipse.net4j.tests.old;
-
-
-import java.io.IOException;
-
-import java.nio.channels.ServerSocketChannel;
-import java.nio.channels.SocketChannel;
-
-import java.net.InetAddress;
-import java.net.InetSocketAddress;
-
-import junit.framework.TestCase;
-
-
-public class SelectorTest extends TestCase
-{
- protected class Server extends Thread
- {
- protected ServerSocketChannel serverChannel;
-
- public Server(String listen, int port) throws IOException
- {
- serverChannel = ServerSocketChannel.open();
-
- InetSocketAddress addr = new InetSocketAddress(InetAddress.getByName(listen), port);
- serverChannel.socket().bind(addr);
- start();
- }
-
- public void run()
- {
- try
- {
- SocketChannel socketChannel = serverChannel.accept();
- socketChannel.configureBlocking(false);
- readSocketChannel(socketChannel);
- }
- catch (Exception ex)
- {
- ex.printStackTrace();
- throw new RuntimeException(ex);
- }
- }
-
- public void readSocketChannel(SocketChannel socketChannel)
- {
- }
- }
-
- public void testFlooding()
- {
-
- }
-}
diff --git a/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/old/SocketConnectorTest.java b/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/old/SocketConnectorTest.java
deleted file mode 100644
index 526ee29..0000000
--- a/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/old/SocketConnectorTest.java
+++ /dev/null
@@ -1,678 +0,0 @@
-/***************************************************************************
- * Copyright (c) 2004-2006 Eike Stepper, Fuggerstr. 39, 10777 Berlin, Germany.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Eike Stepper - initial API and implementation
- **************************************************************************/
-package org.eclipse.net4j.tests.old;
-
-
-import org.eclipse.net4j.core.Connector;
-import org.eclipse.net4j.core.DataListener;
-import org.eclipse.net4j.core.impl.BufferImpl;
-import org.eclipse.net4j.socket.impl.ActiveSocketConnectorImpl;
-import org.eclipse.net4j.socket.impl.PassiveSocketConnectorImpl;
-import org.eclipse.net4j.socket.impl.SocketAcceptorImpl;
-import org.eclipse.net4j.spring.Container;
-import org.eclipse.net4j.spring.impl.ContainerImpl;
-import org.eclipse.net4j.tests.old.SocketConnectorTest.TestAcceptor.PassiveTestConnector;
-
-import java.nio.channels.SocketChannel;
-
-import junit.framework.TestCase;
-
-
-public class SocketConnectorTest extends TestCase
-{
- protected static Container container = new ContainerImpl(null, (String[]) null, "container",
- null, null);
-
- protected PassiveTestConnector slave;
-
- protected TestConnector client;
-
- protected DataListener slaveListener = new DataListener()
- {
- public void notifyData(BufferImpl data)
- {
- }
- };
-
- // protected Pool bufferPoolMock;
- //
- // protected MockControl bufferPoolMockControl;
-
- /*
- * @see TestCase#setUp()
- */
- protected void setUp() throws Exception
- {
- super.setUp();
- init();
- }
-
- protected void init()
- {
- client = new TestConnector();
- client.setApplicationContext(container);
- client.setBeanName("client");
-
- // bufferPoolMockControl = MockControl.createControl(Pool.class);
- // bufferPoolMock = (Pool) bufferPoolMockControl.getMock();
- }
-
- protected void start()
- {
- // bufferPoolMockControl.replay();
- }
-
- protected void verify()
- {
- // bufferPoolMockControl.verify();
- }
-
- // protected BufferImpl createBuffer(int capacity, int level, boolean flipped)
- // {
- // BufferImpl buffer = new BufferImpl(capacity);
- //
- // if (level > 0)
- // {
- // buffer.put(Byte.MIN_VALUE); // for sequence-error-detection
- //
- // for (int i = 1; i < level; i++)
- // {
- // buffer.put((byte) (i % 256));
- // }
- // }
- //
- // if (flipped)
- // {
- // buffer.flip();
- // }
- //
- // return buffer;
- // }
- //
- // protected NodeCachingLinkedList createBufferQueue(int[] capacities, int[] levels, boolean flipped)
- // {
- // NodeCachingLinkedList queue = new NodeCachingLinkedList();
- //
- // for (int i = 0; i < levels.length; i++)
- // {
- // queue.add(createBuffer(capacities[i], levels[i], flipped));
- // }
- //
- // return queue;
- // }
- //
- // protected NodeCachingLinkedList createBufferQueue(int capacity, int[] levels, boolean flipped)
- // {
- // int[] capacities = new int[levels.length];
- // Arrays.fill(capacities, capacity);
- // return createBufferQueue(capacities, levels, flipped);
- // }
- //
- // protected NodeCachingLinkedList createBufferQueue(int capacity, int level, boolean flipped)
- // {
- // return createBufferQueue(new int[] { capacity}, new int[] { level}, flipped);
- // }
-
- public final void testGet()
- {
- }
-
-
- // public final void testSetGetChannelId()
- // {
- // pool.setChannelId((short) 4711);
- // short result = pool.getChannelId();
- // assertEquals("getChannelId returns the value of setChannelId", 4711, result);
- //
- // pool.setChannelId((short) 0);
- // result = pool.getChannelId();
- // assertEquals("getChannelId returns 0", 0, result);
- // }
- //
- // public final void testSetGetBufferPool()
- // {
- // pool.setBufferPool(bufferPoolMock);
- // Pool result = pool.getBufferPool();
- // assertEquals("getBufferPool returns the value of setBufferPool", bufferPoolMock, result);
- //
- // pool.setBufferPool(null);
- // result = pool.getBufferPool();
- // assertNull("getBufferPool returns null", result);
- // }
- //
- // public final void testSetGetConnector()
- // {
- // pool.setConnector(connectorMock);
- // Connector result = pool.getConnector();
- // assertEquals("getConnector returns the value of setConnector", connectorMock, result);
- //
- // pool.setConnector(null);
- // result = pool.getConnector();
- // assertNull("getConnector returns null", result);
- // }
- //
- // public final void testSetGetDispatcher()
- // {
- // pool.setDispatcher(dispatcherMock);
- // Executor result = pool.getDispatcher();
- // assertEquals("getDispatcher returns the value of setDispatcher", dispatcherMock, result);
- //
- // pool.setDispatcher(null);
- // result = pool.getDispatcher();
- // assertNull("getDispatcher returns null", result);
- // }
- //
- // public final void testSetGetMultiplexer()
- // {
- // pool.setMultiplexer(multiplexerMock);
- // Multiplexer result = pool.getMultiplexer();
- // assertEquals("getBufferPool returns the value of setMultiplexer", multiplexerMock, result);
- //
- // pool.setMultiplexer(null);
- // result = pool.getMultiplexer();
- // assertNull("getMultiplexer returns null", result);
- // }
- //
- // public final void testSetGetProtocol()
- // {
- // pool.setProtocol(protocolMock);
- // Protocol result = pool.getProtocol();
- // assertEquals("getProtocol returns the value of setProtocol", protocolMock, result);
- //
- // pool.setProtocol(null);
- // result = pool.getProtocol();
- // assertNull("getProtocol returns null", result);
- // }
- //
- // public final void testSetGetInternalReturnValue()
- // {
- // Object returnValue = new Object();
- //
- // pool.internalSetReturnValue(returnValue);
- // Object result = pool.testGetReturnValue();
- // assertEquals("testGetReturnValue returns the value of internalSetReturnValue", returnValue,
- // result);
- //
- // pool.internalSetReturnValue(null);
- // result = pool.testGetReturnValue();
- // assertNull("testGetReturnValue returns null", result);
- // }
- //
- // public final void testSetGetProtocolData()
- // {
- // Object protocolData = new Object();
- //
- // pool.setProtocolData(protocolData);
- // Object result = pool.getProtocolData();
- // assertEquals("getProtocolData returns the value of setProtocolData", protocolData, result);
- //
- // pool.setProtocolData(null);
- // result = pool.getProtocolData();
- // assertNull("getProtocolData returns null", result);
- // }
- //
- // public final void testServiceGuards()
- // {
- // new ServiceInvoker(pool)
- // {
- // protected void invokeService(DefaultBean bean) throws Exception
- // {
- // ((DefaultChannel) bean).handleTransmission();
- // }
- // };
- //
- // new ServiceInvoker(pool)
- // {
- // protected void invokeService(DefaultBean bean) throws Exception
- // {
- // ((DefaultChannel) bean).notification(null);
- // }
- // };
- //
- // new ServiceInvoker(pool)
- // {
- // protected void invokeService(DefaultBean bean) throws Exception
- // {
- // ((DefaultChannel) bean).request(null);
- // }
- // };
- // }
- //
- // public final void testValidate()
- // {
- // pool.setBufferPool(bufferPoolMock);
- // pool.setDispatcher(dispatcherMock);
- // pool.setMultiplexer(multiplexerMock);
- // pool.testValidate();
- //
- // try
- // {
- // pool.setBufferPool(null);
- // pool.setDispatcher(dispatcherMock);
- // pool.setMultiplexer(multiplexerMock);
- // pool.testValidate();
- // fail("expected ValidationException");
- // }
- // catch (ValidationException expected)
- // {
- // TestUtils.assertContains(expected, "bufferPool");
- // }
- //
- // try
- // {
- // pool.setBufferPool(bufferPoolMock);
- // pool.setDispatcher(null);
- // pool.setMultiplexer(multiplexerMock);
- // pool.testValidate();
- // fail("expected ValidationException");
- // }
- // catch (ValidationException expected)
- // {
- // TestUtils.assertContains(expected, "dispatcher");
- // }
- //
- // try
- // {
- // pool.setBufferPool(bufferPoolMock);
- // pool.setDispatcher(dispatcherMock);
- // pool.setMultiplexer(null);
- // pool.testValidate();
- // fail("expected ValidationException");
- // }
- // catch (ValidationException expected)
- // {
- // TestUtils.assertContains(expected, "multiplexer");
- // }
- // }
- //
- // /**
- // * PRECONDITION: dataSize == 0
- // *
- // * EXPECTATION: doesn't block;
- // * throws IllegalArgumentException
- // */
- // public final void testEnsureReceiverBuffer1() throws Throwable
- // {
- // NodeCachingLinkedList receiverQueue = new NodeCachingLinkedList();
- // pool.testSetReceiverQueue(receiverQueue);
- //
- // start();
- // try
- // {
- // new BlockingDetector(pool, receiverQueue, false)
- // {
- // protected void blockableOperation(Object target) throws Exception
- // {
- // ((DefaultChannel) target).testEnsureReceiverBuffer(0);
- // }
- // };
- // fail("IllegalArgumentException expected");
- // }
- // catch (IllegalArgumentException expected)
- // {
- // TestUtils.assertContains(expected, "dataSize");
- // }
- // verify();
- // }
- //
- // /**
- // * PRECONDITION: dataSize < 0
- // *
- // * EXPECTATION: doesn't block;
- // * throws IllegalArgumentException
- // */
- // public final void testEnsureReceiverBuffer2() throws Throwable
- // {
- // NodeCachingLinkedList receiverQueue = new NodeCachingLinkedList();
- // pool.testSetReceiverQueue(receiverQueue);
- //
- // start();
- // try
- // {
- // new BlockingDetector(pool, receiverQueue, false)
- // {
- // protected void blockableOperation(Object target) throws Exception
- // {
- // ((DefaultChannel) target).testEnsureReceiverBuffer(-1);
- // }
- // };
- // fail("IllegalArgumentException expected");
- // }
- // catch (IllegalArgumentException expected)
- // {
- // TestUtils.assertContains(expected, "dataSize");
- // }
- // verify();
- // }
- //
- // /**
- // * PRECONDITION: receiverBuffer exists;
- // * 0 < level < dataSize
- // *
- // * EXPECTATION: doesn't block;
- // * throws ImplementationError
- // */
- // public final void testEnsureReceiverBuffer3() throws Throwable
- // {
- // BufferImpl receiverBuffer = createBuffer(20, 3, true);
- // pool.testSetReceiverBuffer(receiverBuffer);
- //
- // NodeCachingLinkedList receiverQueue = new NodeCachingLinkedList();
- // pool.testSetReceiverQueue(receiverQueue);
- //
- // pool.setBufferPool(bufferPoolMock);
- //
- // start();
- // try
- // {
- // new BlockingDetector(pool, receiverQueue, false)
- // {
- // protected void blockableOperation(Object target) throws Exception
- // {
- // ((DefaultChannel) target).testEnsureReceiverBuffer(7);
- // }
- // };
- // fail("ImplementationError expected");
- // }
- // catch (ImplementationError expected)
- // {
- // TestUtils.assertContains(expected, "receiverBuffer level too low");
- // }
- // verify();
- // }
- //
- // /**
- // * PRECONDITION: receiverBuffer exists;
- // * 0 < dataSize < level
- // *
- // * EXPECTATION: doesn't block;
- // * receiverBuffer not returned to bufferPool
- // */
- // public final void testEnsureReceiverBuffer4() throws Throwable
- // {
- // BufferImpl receiverBuffer = createBuffer(20, 12, true);
- // pool.testSetReceiverBuffer(receiverBuffer);
- //
- // NodeCachingLinkedList receiverQueue = new NodeCachingLinkedList();
- // pool.testSetReceiverQueue(receiverQueue);
- //
- // pool.setBufferPool(bufferPoolMock);
- //
- // start();
- // new BlockingDetector(pool, receiverQueue, false)
- // {
- // protected void blockableOperation(Object target) throws Exception
- // {
- // ((DefaultChannel) target).testEnsureReceiverBuffer(7);
- // }
- // };
- // verify();
- // }
- //
- // /**
- // * PRECONDITION: receiverBuffer exists;
- // * 0 < dataSize == level
- // *
- // * EXPECTATION: doesn't block;
- // * receiverBuffer not returned to bufferPool
- // */
- // public final void testEnsureReceiverBuffer5() throws Throwable
- // {
- // BufferImpl receiverBuffer = createBuffer(20, 12, true);
- // pool.testSetReceiverBuffer(receiverBuffer);
- //
- // NodeCachingLinkedList receiverQueue = new NodeCachingLinkedList();
- // pool.testSetReceiverQueue(receiverQueue);
- //
- // pool.setBufferPool(bufferPoolMock);
- //
- // start();
- // new BlockingDetector(pool, receiverQueue, false)
- // {
- // protected void blockableOperation(Object target) throws Exception
- // {
- // ((DefaultChannel) target).testEnsureReceiverBuffer(12);
- // }
- // };
- // verify();
- // }
- //
- // /**
- // * PRECONDITION: receiverBuffer exists;
- // * 0 == level < dataSize;
- // * receiverQueue empty
- // *
- // * EXPECTATION: receiverBuffer returned to bufferPool;
- // * blocks
- // */
- // public final void testEnsureReceiverBuffer6() throws Throwable
- // {
- // BufferImpl receiverBuffer = createBuffer(20, 0, true);
- // pool.testSetReceiverBuffer(receiverBuffer);
- //
- // NodeCachingLinkedList receiverQueue = new NodeCachingLinkedList();
- // pool.testSetReceiverQueue(receiverQueue);
- //
- // bufferPoolMock.put(new Integer(20), receiverBuffer);
- // pool.setBufferPool(bufferPoolMock);
- //
- // start();
- // new BlockingDetector(pool, receiverQueue, true)
- // {
- // protected void blockableOperation(Object target) throws Exception
- // {
- // ((DefaultChannel) target).testEnsureReceiverBuffer(7);
- // }
- // };
- // verify();
- // }
- //
- // /**
- // * PRECONDITION: receiverBuffer exists;
- // * 0 == level < dataSize;
- // * receiverQueue has too small buffer
- // *
- // * EXPECTATION: doesn't block;
- // * receiverBuffer returned to bufferPool
- // * throws ImplementationError
- // */
- // public final void testEnsureReceiverBuffer7() throws Throwable
- // {
- // BufferImpl receiverBuffer = createBuffer(20, 0, true);
- // pool.testSetReceiverBuffer(receiverBuffer);
- //
- // NodeCachingLinkedList receiverQueue = createBufferQueue(20, 5, true);
- // pool.testSetReceiverQueue(receiverQueue);
- //
- // bufferPoolMock.put(new Integer(20), receiverBuffer);
- // pool.setBufferPool(bufferPoolMock);
- //
- // start();
- // try
- // {
- // new BlockingDetector(pool, receiverQueue, false)
- // {
- // protected void blockableOperation(Object target) throws Exception
- // {
- // ((DefaultChannel) target).testEnsureReceiverBuffer(7);
- // }
- // };
- // fail("ImplementationError expected");
- // }
- // catch (ImplementationError expected)
- // {
- // TestUtils.assertContains(expected, "receiverBuffer level too low");
- // }
- // verify();
- // }
- //
- // /**
- // * PRECONDITION: receiverBuffer exists;
- // * 0 == level < dataSize;
- // * receiverQueue has exact buffer
- // *
- // * EXPECTATION: doesn't block;
- // * receiverBuffer returned to bufferPool
- // */
- // public final void testEnsureReceiverBuffer8() throws Throwable
- // {
- // BufferImpl receiverBuffer = createBuffer(20, 0, true);
- // pool.testSetReceiverBuffer(receiverBuffer);
- //
- // NodeCachingLinkedList receiverQueue = createBufferQueue(20, 7, true);
- // pool.testSetReceiverQueue(receiverQueue);
- //
- // bufferPoolMock.put(new Integer(20), receiverBuffer);
- // pool.setBufferPool(bufferPoolMock);
- //
- // start();
- // new BlockingDetector(pool, receiverQueue, false)
- // {
- // protected void blockableOperation(Object target) throws Exception
- // {
- // ((DefaultChannel) target).testEnsureReceiverBuffer(7);
- // }
- // };
- // verify();
- // }
- //
- // /**
- // * PRECONDITION: receiverBuffer exists;
- // * 0 == level < dataSize;
- // * receiverQueue has too big buffer
- // *
- // * EXPECTATION: doesn't block;
- // * receiverBuffer returned to bufferPool
- // */
- // public final void testEnsureReceiverBuffer9() throws Throwable
- // {
- // BufferImpl receiverBuffer = createBuffer(20, 0, true);
- // pool.testSetReceiverBuffer(receiverBuffer);
- //
- // NodeCachingLinkedList receiverQueue = createBufferQueue(20, 12, true);
- // pool.testSetReceiverQueue(receiverQueue);
- //
- // bufferPoolMock.put(new Integer(20), receiverBuffer);
- // pool.setBufferPool(bufferPoolMock);
- //
- // start();
- // new BlockingDetector(pool, receiverQueue, false)
- // {
- // protected void blockableOperation(Object target) throws Exception
- // {
- // ((DefaultChannel) target).testEnsureReceiverBuffer(7);
- // }
- // };
- // verify();
- // }
- //
- // /**
- // * PRECONDITION: transmitterBuffer doesn't exists
- // *
- // * EXPECTATION: throws ImplementationError
- // */
- // public final void testFlush1()
- // {
- // start();
- // try
- // {
- // pool.flush();
- // fail("ImplementationError expected");
- // }
- // catch (ImplementationError expected)
- // {
- // TestUtils.assertContains(expected, "transmitterBuffer must exist");
- // }
- // verify();
- // }
- //
- // /**
- // * PRECONDITION: transmitterBuffer exists;
- // * level == 0
- // *
- // * EXPECTATION: immediately returns
- // */
- // public final void testFlush2()
- // {
- // BufferImpl transmitterBuffer = createBuffer(20, 0, false);
- // pool.testSetTransmitterBuffer(transmitterBuffer);
- //
- // start();
- // pool.flush();
- // verify();
- // }
- //
- // /**
- // * PRECONDITION: transmitterBuffer exists;
- // * level > 0
- // *
- // * EXPECTATION: transmitterBuffer is flipped;
- // * appended to transmitterQueue;
- // * channel is scheduled for transmission;
- // * a new transmitterBuffer is fetched from the bufferPool;
- // * the new transmitterBuffer is empty
- // */
- // public final void testFlush3()
- // {
- // BufferImpl transmitterBuffer = createBuffer(20, 7, false);
- // pool.testSetTransmitterBuffer(transmitterBuffer);
- //
- // NodeCachingLinkedList transmitterQueue = new NodeCachingLinkedList();
- // pool.testSetTransmitterQueue(transmitterQueue);
- //
- // multiplexerMock.schedule(pool);
- // pool.setMultiplexer(multiplexerMock);
- //
- // bufferPoolMockControl.expectAndReturn(bufferPoolMock.get(), createBuffer(10, 10, false));
- // pool.setBufferPool(bufferPoolMock);
- //
- // start();
- // pool.flush();
- // verify();
- //
- // assertTrue("transmitterBuffer is flipped", transmitterBuffer.position() == 0);
- // assertTrue("transmitterBuffer is in transmitterQueue",
- // transmitterQueue.get(0) == transmitterBuffer);
- // assertNotSame("a new transmitterBuffer is expected", transmitterBuffer, pool
- // .testGetTransmitterBuffer());
- // assertTrue("the new transmitterBuffer must be empty", pool.testGetTransmitterBuffer()
- // .position() == 0);
- //
- // }
- protected class TestAcceptor extends SocketAcceptorImpl
- {
- protected Connector createSlave(SocketChannel socketChannel)
- {
- slave = new PassiveTestConnector();
- slave.setApplicationContext(SocketConnectorTest.container);
- slave.setBeanName("slave");
- slave.setSocketChannel(socketChannel);
- return slave;
- }
-
-
- protected class PassiveTestConnector extends PassiveSocketConnectorImpl
- {
- protected void prepareBasicChannel()
- {
- }
- }
- }
-
-
- protected class TestConnector extends ActiveSocketConnectorImpl
- {
- protected void prepareBasicChannel()
- {
- }
- }
-
-}
diff --git a/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/protocol/Net4jTestProtocol.java b/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/protocol/Net4jTestProtocol.java
deleted file mode 100644
index e6ba4a6..0000000
--- a/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/protocol/Net4jTestProtocol.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/***************************************************************************
- * Copyright (c) 2004-2006 Eike Stepper, Fuggerstr. 39, 10777 Berlin, Germany.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Eike Stepper - initial API and implementation
- **************************************************************************/
-package org.eclipse.net4j.tests.protocol;
-
-
-import org.eclipse.net4j.core.Indication;
-import org.eclipse.net4j.core.Protocol;
-import org.eclipse.net4j.core.impl.AbstractProtocol;
-import org.eclipse.net4j.util.ImplementationError;
-
-
-public class Net4jTestProtocol extends AbstractProtocol implements Protocol
-{
- public static final String PROTOCOL_NAME = "test";
-
- public static final short TEST_SIGNAL = 4711;
-
- public Indication createIndication(short signalId)
- {
- switch (signalId)
- {
- case TEST_SIGNAL:
- return new TestIndication();
-
- default:
- throw new ImplementationError("Invalid signalId: " + signalId);
- }
- }
-
- public String getName()
- {
- return PROTOCOL_NAME;
- }
-
- public int getType()
- {
- return SYMMETRIC;
- }
-}
diff --git a/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/protocol/TestIndication.java b/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/protocol/TestIndication.java
deleted file mode 100644
index 423caa7..0000000
--- a/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/protocol/TestIndication.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/***************************************************************************
- * Copyright (c) 2004-2006 Eike Stepper, Fuggerstr. 39, 10777 Berlin, Germany.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Eike Stepper - initial API and implementation
- **************************************************************************/
-package org.eclipse.net4j.tests.protocol;
-
-
-import org.eclipse.net4j.core.impl.AbstractIndicationWithResponse;
-
-
-public class TestIndication extends AbstractIndicationWithResponse
-{
- protected Object[] values;
-
- public TestIndication()
- {
- }
-
- public short getSignalId()
- {
- return Net4jTestProtocol.TEST_SIGNAL;
- }
-
- public void indicate()
- {
- values = ValueHelper.receiveValues(getChannel());
- }
-
- public void respond()
- {
- ValueHelper.transmitValues(getChannel(), values);
- }
-}
diff --git a/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/protocol/TestRequest.java b/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/protocol/TestRequest.java
deleted file mode 100644
index 5b533d0..0000000
--- a/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/protocol/TestRequest.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/***************************************************************************
- * Copyright (c) 2004-2006 Eike Stepper, Fuggerstr. 39, 10777 Berlin, Germany.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Eike Stepper - initial API and implementation
- **************************************************************************/
-package org.eclipse.net4j.tests.protocol;
-
-
-import org.eclipse.net4j.core.impl.AbstractRequestWithConfirmation;
-
-
-public class TestRequest extends AbstractRequestWithConfirmation
-{
- protected Object[] values;
-
- public TestRequest(Object[] values)
- {
- this.values = values;
- }
-
- public short getSignalId()
- {
- return Net4jTestProtocol.TEST_SIGNAL;
- }
-
- public void request()
- {
- ValueHelper.transmitValues(getChannel(), values);
- }
-
- public Object confirm()
- {
- return ValueHelper.receiveValues(getChannel());
- }
-}
diff --git a/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/protocol/ValueHelper.java b/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/protocol/ValueHelper.java
deleted file mode 100644
index d16a549..0000000
--- a/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/protocol/ValueHelper.java
+++ /dev/null
@@ -1,207 +0,0 @@
-/***************************************************************************
- * Copyright (c) 2004-2006 Eike Stepper, Fuggerstr. 39, 10777 Berlin, Germany.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Eike Stepper - initial API and implementation
- **************************************************************************/
-package org.eclipse.net4j.tests.protocol;
-
-
-import org.eclipse.net4j.core.Channel;
-import org.eclipse.net4j.util.ImplementationError;
-
-import java.util.ArrayList;
-import java.util.List;
-
-
-public class ValueHelper
-{
- public static final byte END_OF_TRANSMISSION = -1;
-
- public static final byte BOOLEAN = 1;
-
- public static final byte CHARACTER = 2;
-
- public static final byte BYTE = 3;
-
- public static final byte SHORT = 4;
-
- public static final byte INTEGER = 5;
-
- public static final byte LONG = 6;
-
- public static final byte FLOAT = 7;
-
- public static final byte DOUBLE = 8;
-
- public static final byte STRING = 9;
-
- public static void transmitValues(Channel channel, Object[] values)
- {
- for (int i = 0; i < values.length; i++)
- {
- Object value = values[i];
-
- if (value instanceof Boolean)
- {
- channel.transmitByte(BOOLEAN);
- channel.transmitBoolean(((Boolean) value).booleanValue());
- }
- else if (value instanceof Character)
- {
- channel.transmitByte(CHARACTER);
- channel.transmitChar(((Character) value).charValue());
- }
- else if (value instanceof Byte)
- {
- channel.transmitByte(BYTE);
- channel.transmitByte(((Byte) value).byteValue());
- }
- else if (value instanceof Short)
- {
- channel.transmitByte(SHORT);
- channel.transmitShort(((Short) value).shortValue());
- }
- else if (value instanceof Integer)
- {
- channel.transmitByte(INTEGER);
- channel.transmitInt(((Integer) value).intValue());
- }
- else if (value instanceof Long)
- {
- channel.transmitByte(LONG);
- channel.transmitLong(((Long) value).longValue());
- }
- else if (value instanceof Float)
- {
- channel.transmitByte(FLOAT);
- channel.transmitFloat(((Float) value).floatValue());
- }
- else if (value instanceof Double)
- {
- channel.transmitByte(DOUBLE);
- channel.transmitDouble(((Double) value).doubleValue());
- }
- else if (value instanceof String)
- {
- channel.transmitByte(STRING);
- channel.transmitString((String) value);
- }
- else
- {
- throw new ImplementationError("invalid class: " + value.getClass().getName());
- }
- }
-
- channel.transmitByte(END_OF_TRANSMISSION);
- }
-
- @SuppressWarnings("unchecked")
- public static Object[] receiveValues(Channel channel)
- {
- List list = new ArrayList();
-
- for (;;)
- {
- byte type = channel.receiveByte();
-
- switch (type)
- {
- case END_OF_TRANSMISSION:
- return list.toArray();
-
- case BOOLEAN:
- list.add(new Boolean(channel.receiveBoolean()));
- break;
-
- case CHARACTER:
- list.add(new Character(channel.receiveChar()));
- break;
-
- case BYTE:
- list.add(new Byte(channel.receiveByte()));
- break;
-
- case SHORT:
- list.add(new Short(channel.receiveShort()));
- break;
-
- case INTEGER:
- list.add(new Integer(channel.receiveInt()));
- break;
-
- case LONG:
- list.add(new Long(channel.receiveLong()));
- break;
-
- case FLOAT:
- list.add(new Float(channel.receiveFloat()));
- break;
-
- case DOUBLE:
- list.add(new Double(channel.receiveDouble()));
- break;
-
- case STRING:
- list.add(channel.receiveString());
- break;
- }
- }
- }
-
- public static int sizeOf(Object[] values)
- {
- int sum = 4; // END_OF_TRANSMISSION
- for (int i = 0; i < values.length; i++)
- {
- Object value = values[i];
-
- if (value instanceof Boolean)
- {
- sum += 1 + 1;
- }
- else if (value instanceof Character)
- {
- sum += 1 + 2;
- }
- else if (value instanceof Byte)
- {
- sum += 1 + 1;
- }
- else if (value instanceof Short)
- {
- sum += 1 + 2;
- }
- else if (value instanceof Integer)
- {
- sum += 1 + 4;
- }
- else if (value instanceof Long)
- {
- sum += 1 + 8;
- }
- else if (value instanceof Float)
- {
- sum += 1 + 4;
- }
- else if (value instanceof Double)
- {
- sum += 1 + 8;
- }
- else if (value instanceof String)
- {
- sum += 1 + 4 + 2 * ((String) value).length();
- }
- else
- {
- throw new ImplementationError("invalid class: " + value.getClass().getName());
- }
- }
-
- return sum;
- }
-}
diff --git a/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/util/BlockingDetector.java b/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/util/BlockingDetector.java
deleted file mode 100644
index 6a941d0..0000000
--- a/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/util/BlockingDetector.java
+++ /dev/null
@@ -1,100 +0,0 @@
-/***************************************************************************
- * Copyright (c) 2004-2006 Eike Stepper, Fuggerstr. 39, 10777 Berlin, Germany.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Eike Stepper - initial API and implementation
- **************************************************************************/
-package org.eclipse.net4j.tests.util;
-
-
-import junit.framework.Assert;
-
-
-public abstract class BlockingDetector
-{
- public static final long DEFAULT_WAIT_MILLIS = 100;
-
- protected Thread thread;
-
- protected BlockableOperationException exception;
-
- public BlockingDetector(Object target, Object monitor, boolean blockingExpected) throws Throwable
- {
- this(target, monitor, blockingExpected, DEFAULT_WAIT_MILLIS);
- }
-
- public BlockingDetector(Object target, Object monitor, boolean blockingExpected, long waitMillis)
- throws Throwable
- {
- startOperation(target);
-
- try
- {
- Thread.sleep(waitMillis);
- }
- catch (InterruptedException ex)
- {
- throw new BlockableOperationException(ex);
- }
-
- if (exception != null)
- {
- throw exception.getCause();
- }
-
- boolean alive = thread.isAlive();
-
- if (alive) synchronized (monitor)
- {
- monitor.notifyAll();
- }
-
- if (blockingExpected)
- {
- Assert.assertTrue("blocking expected", alive);
- }
- else
- {
- Assert.assertTrue("no blocking expected", !alive);
- }
- }
-
- public void startOperation(final Object target)
- {
- thread = new Thread()
- {
-
- public void run()
- {
- try
- {
- blockableOperation(target);
- }
- catch (Exception ex)
- {
- exception = new BlockableOperationException(ex);
- throw exception;
- }
- }
- };
-
- thread.start();
- }
-
- protected abstract void blockableOperation(Object target) throws Exception;
-
-
- private static class BlockableOperationException extends RuntimeException
- {
- private static final long serialVersionUID = 1L;
-
- public BlockableOperationException(Exception ex)
- {
- super(ex);
- }
- }
-}
diff --git a/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/util/ServiceInvoker.java b/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/util/ServiceInvoker.java
deleted file mode 100644
index 0aa1bd7..0000000
--- a/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/util/ServiceInvoker.java
+++ /dev/null
@@ -1,61 +0,0 @@
-/***************************************************************************
- * Copyright (c) 2004-2006 Eike Stepper, Fuggerstr. 39, 10777 Berlin, Germany.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Eike Stepper - initial API and implementation
- **************************************************************************/
-package org.eclipse.net4j.tests.util;
-
-
-import org.eclipse.net4j.spring.InactiveException;
-import org.eclipse.net4j.spring.Service;
-import org.eclipse.net4j.spring.impl.ServiceImpl;
-
-import junit.framework.Assert;
-
-
-public abstract class ServiceInvoker
-{
- private static final byte[] STATES = { ServiceImpl.ServiceStateMachine.STATE_STOPPING,
- ServiceImpl.ServiceStateMachine.STATE_STOPPING,
- ServiceImpl.ServiceStateMachine.STATE_INCONSISTENT,
- ServiceImpl.ServiceStateMachine.STATE_ACTIVE, ServiceImpl.ServiceStateMachine.STATE_DISPOSED};
-
- private static final int OK_INDEX = 2;
-
- public ServiceInvoker(Service bean)
- {
- for (int i = 0; i < STATES.length; i++)
- {
- byte state = STATES[i];
- bean.testSetState(state);
- Throwable throwable = null;
-
- try
- {
- invokeService(bean);
- }
- catch (Throwable t)
- {
- throwable = t;
- }
-
- if (i == OK_INDEX)
- {
- Assert.assertFalse("No InactiveException is thrown", throwable != null
- && throwable instanceof InactiveException);
- }
- else
- {
- Assert.assertNotNull("An exception is thrown", throwable);
- Assert.assertTrue("An InactiveException is thrown", throwable instanceof InactiveException);
- }
- }
- }
-
- protected abstract void invokeService(Service bean) throws Exception;
-}
diff --git a/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/util/TestUtils.java b/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/util/TestUtils.java
deleted file mode 100644
index bfa0b75..0000000
--- a/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/tests/util/TestUtils.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/***************************************************************************
- * Copyright (c) 2004-2006 Eike Stepper, Fuggerstr. 39, 10777 Berlin, Germany.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Eike Stepper - initial API and implementation
- **************************************************************************/
-package org.eclipse.net4j.tests.util;
-
-
-import junit.framework.Assert;
-
-
-public class TestUtils
-{
- public static void assertContains(String message, String text, String word)
- {
- if (text == null)
- {
- Assert.assertNull(message, word);
- }
-
- Assert.assertTrue(message, text.matches(".*" + word + ".*"));
- }
-
- public static void assertContains(String text, String word)
- {
- String message = "'" + text + "' should contain '" + word + "'";
- assertContains(message, text, word);
- }
-
- public static void assertContains(String message, Throwable t, String word)
- {
- String text = t.getMessage();
- assertContains(message, text, word);
- }
-
- public static void assertContains(Throwable t, String word)
- {
- String text = t.getMessage();
- assertContains(text, word);
- }
-}
diff --git a/plugins/org.eclipse.net4j.tests/test.xml b/plugins/org.eclipse.net4j.tests/test.xml
deleted file mode 100644
index da9d622..0000000
--- a/plugins/org.eclipse.net4j.tests/test.xml
+++ /dev/null
@@ -1,94 +0,0 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!--
-/**
- * <copyright>
- *
- * Copyright (c) 2006 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM - Initial API and implementation
- *
- * </copyright>
- *
- * $Id$
- */
--->
-
-<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 plugin-name, and library-file -->
- <property name="plugin-name" value="org.eclipse.net4j.tests"/>
- <property name="library-file" value="${eclipse-home}/plugins/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">
- <echo message="Set javacSource and javacTarget = 1.5"/>
- <property name="javacSource" value="1.5" />
- <property name="javacTarget" value="1.5" />
-
- <path id="bc">
- <fileset dir="${java.home}/lib">
- <include name="*.jar" />
- </fileset>
- </path>
- <property name="bootclasspath" refid="bc" />
-
- <!-- new 060508 to make build work when using JDK1.5 source/target -->
- <echo message="Set J2SE-1.5 = ${bootclasspath}"/>
- <property name="J2SE-1.5" value="${bootclasspath}"/>
- <condition property="bundleBootClasspath" value="${J2SE-1.5}"><isset property="J2SE-1.5"/></condition>
- <condition property="bundleJavacSource" value="1.5"><isset property="J2SE-1.5"/></condition>
- <condition property="bundleJavacTarget" value="1.5"><isset property="J2SE-1.5"/></condition>
- <property name="emft-folder" value="${eclipse-home}/emf_folder"/>
- <delete dir="${emft-folder}" quiet="true"/>
- <property name="core.test.vmargs" value="-DJ2SE-1.5=${bootclasspath} -Djava15-home=${java.home}"/>
-
- <echo message="About to run core-test:"/>
- <echo message="library-file = ${library-file}"/>
- <echo message="eclipse-home = ${eclipse-home}"/>
- <echo message="data-dir = ${emft-folder}"/>
- <echo message="plugin-name = ${plugin-name}"/>
- <echo message="classname = org.eclipse.net4j.tests.AllSuites"/>
- <echo message="vmargs = ${core.test.vmargs}"/>
-
- <ant target="core-test" antfile="${library-file}" dir="${eclipse-home}" >
- <property name="data-dir" value="${emft-folder}"/>
- <property name="plugin-name" value="${plugin-name}"/>
- <property name="classname" value="org.eclipse.net4j.tests.AllSuites"/>
- <property name="vmargs" value="${core.test.vmargs}"/>
- </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>
diff --git a/plugins/org.eclipse.net4j.util/.classpath b/plugins/org.eclipse.net4j.util/.classpath
deleted file mode 100644
index 2231f19..0000000
--- a/plugins/org.eclipse.net4j.util/.classpath
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="src" path="config"/>
- <classpathentry exported="true" kind="lib" path="lib/commons-logging.jar"/>
- <classpathentry exported="true" kind="lib" path="lib/log4j-1.2.13.jar"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/plugins/org.eclipse.net4j.util/.cvsignore b/plugins/org.eclipse.net4j.util/.cvsignore
deleted file mode 100644
index eb65b4b..0000000
--- a/plugins/org.eclipse.net4j.util/.cvsignore
+++ /dev/null
@@ -1,5 +0,0 @@
-tmp
-bin
-dist
-build
-runtime
diff --git a/plugins/org.eclipse.net4j.util/.project b/plugins/org.eclipse.net4j.util/.project
deleted file mode 100644
index b52e9e4..0000000
--- a/plugins/org.eclipse.net4j.util/.project
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.net4j.util</name>
- <comment></comment>
- <projects>
- </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/plugins/org.eclipse.net4j.util/.settings/org.eclipse.jdt.core.prefs b/plugins/org.eclipse.net4j.util/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index bebcb41..0000000
--- a/plugins/org.eclipse.net4j.util/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,256 +0,0 @@
-#Mon Mar 13 12:05:55 CET 2006
-eclipse.preferences.version=1
-org.eclipse.jdt.core.codeComplete.argumentPrefixes=
-org.eclipse.jdt.core.codeComplete.argumentSuffixes=
-org.eclipse.jdt.core.codeComplete.fieldPrefixes=
-org.eclipse.jdt.core.codeComplete.fieldSuffixes=
-org.eclipse.jdt.core.codeComplete.localPrefixes=
-org.eclipse.jdt.core.codeComplete.localSuffixes=
-org.eclipse.jdt.core.codeComplete.staticFieldPrefixes=
-org.eclipse.jdt.core.codeComplete.staticFieldSuffixes=
-org.eclipse.jdt.core.formatter.align_type_members_on_columns=false
-org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16
-org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16
-org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16
-org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16
-org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16
-org.eclipse.jdt.core.formatter.alignment_for_assignment=0
-org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16
-org.eclipse.jdt.core.formatter.alignment_for_compact_if=16
-org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80
-org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0
-org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16
-org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16
-org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16
-org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16
-org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=16
-org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16
-org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16
-org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16
-org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16
-org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16
-org.eclipse.jdt.core.formatter.blank_lines_after_imports=2
-org.eclipse.jdt.core.formatter.blank_lines_after_package=2
-org.eclipse.jdt.core.formatter.blank_lines_before_field=1
-org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0
-org.eclipse.jdt.core.formatter.blank_lines_before_imports=1
-org.eclipse.jdt.core.formatter.blank_lines_before_member_type=2
-org.eclipse.jdt.core.formatter.blank_lines_before_method=1
-org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1
-org.eclipse.jdt.core.formatter.blank_lines_before_package=0
-org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=2
-org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=next_line
-org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_block=next_line
-org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=next_line
-org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=next_line
-org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=next_line
-org.eclipse.jdt.core.formatter.brace_position_for_switch=next_line
-org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=next_line
-org.eclipse.jdt.core.formatter.comment.clear_blank_lines=false
-org.eclipse.jdt.core.formatter.comment.format_comments=false
-org.eclipse.jdt.core.formatter.comment.format_header=false
-org.eclipse.jdt.core.formatter.comment.format_html=true
-org.eclipse.jdt.core.formatter.comment.format_source_code=true
-org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true
-org.eclipse.jdt.core.formatter.comment.indent_root_tags=true
-org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert
-org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert
-org.eclipse.jdt.core.formatter.comment.line_length=100
-org.eclipse.jdt.core.formatter.compact_else_if=true
-org.eclipse.jdt.core.formatter.continuation_indentation=2
-org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2
-org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false
-org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true
-org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true
-org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true
-org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true
-org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true
-org.eclipse.jdt.core.formatter.indent_empty_lines=false
-org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true
-org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true
-org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true
-org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=true
-org.eclipse.jdt.core.formatter.indentation.size=4
-org.eclipse.jdt.core.formatter.insert_new_line_after_annotation=insert
-org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=insert
-org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=insert
-org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=insert
-org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert
-org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert
-org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert
-org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert
-org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert
-org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert
-org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert
-org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert
-org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert
-org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert
-org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert
-org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert
-org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert
-org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert
-org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert
-org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert
-org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert
-org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert
-org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert
-org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert
-org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert
-org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert
-org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false
-org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false
-org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=true
-org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false
-org.eclipse.jdt.core.formatter.lineSplit=100
-org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0
-org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1
-org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true
-org.eclipse.jdt.core.formatter.tabulation.char=space
-org.eclipse.jdt.core.formatter.tabulation.size=2
-org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false
diff --git a/plugins/org.eclipse.net4j.util/.settings/org.eclipse.jdt.ui.prefs b/plugins/org.eclipse.net4j.util/.settings/org.eclipse.jdt.ui.prefs
deleted file mode 100644
index 6b2f797..0000000
--- a/plugins/org.eclipse.net4j.util/.settings/org.eclipse.jdt.ui.prefs
+++ /dev/null
@@ -1,19 +0,0 @@
-#Mon Mar 13 08:16:19 CET 2006
-comment_clear_blank_lines=false
-comment_format_comments=false
-comment_format_header=false
-comment_format_html=true
-comment_format_source_code=true
-comment_indent_parameter_description=true
-comment_indent_root_tags=true
-comment_line_length=100
-comment_new_line_for_parameter=true
-comment_separate_root_tags=true
-eclipse.preferences.version=1
-formatter_settings_version=10
-org.eclipse.jdt.ui.exception.name=ex
-org.eclipse.jdt.ui.gettersetter.use.is=true
-org.eclipse.jdt.ui.ignorelowercasenames=true
-org.eclipse.jdt.ui.importorder=org.eclipse.net4j;org.eclipse.emf;org.eclipse;org.apache;org;com;java.lang;java.util;java.io;java.nio;java.net;java;javax;
-org.eclipse.jdt.ui.keywordthis=false
-org.eclipse.jdt.ui.ondemandthreshold=99
diff --git a/plugins/org.eclipse.net4j.util/META-INF/MANIFEST.MF b/plugins/org.eclipse.net4j.util/META-INF/MANIFEST.MF
deleted file mode 100644
index 761f121..0000000
--- a/plugins/org.eclipse.net4j.util/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,23 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: %pluginName
-Bundle-SymbolicName: org.eclipse.net4j.util
-Bundle-Version: 1.0.0.qualifier
-Bundle-ClassPath: org.eclipse.net4j.util.jar,
- lib/commons-logging.jar,
- lib/log4j-1.2.13.jar
-Bundle-Vendor: %providerName
-Bundle-Localization: plugin
-Export-Package: org.apache.commons.logging,
- org.apache.commons.logging.impl,
- org.apache.log4j,
- org.eclipse.net4j.util,
- org.eclipse.net4j.util.eclipse,
- org.eclipse.net4j.util.fsm,
- org.eclipse.net4j.util.store,
- org.eclipse.net4j.util.store.handlers,
- org.eclipse.net4j.util.thread
-Require-Bundle: org.eclipse.core.runtime;visibility:=reexport,
- org.eclipse.core.resources;visibility:=reexport
-Eclipse-LazyStart: true
-Bundle-Activator: org.eclipse.net4j.util.Net4jUtilPlugin
diff --git a/plugins/org.eclipse.net4j.util/about.html b/plugins/org.eclipse.net4j.util/about.html
deleted file mode 100644
index 373f387..0000000
--- a/plugins/org.eclipse.net4j.util/about.html
+++ /dev/null
@@ -1,42 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html>
-
- <head>
-
- <meta content="text/html; charset=ISO-8859-1"
- http-equiv="Content-Type"/>
-
- <title>About</title>
-
- </head>
-
- <body lang="EN-US">
-
- <h2>About This Content</h2>
-
- <p>Januaray 22, 2006</p>
-
- <h3>License</h3>
-
- <p>The Eclipse Foundation makes available all content in this
- plug-in (&quot;Content&quot;). Unless otherwise indicated below,
- the Content is provided to you under the terms and conditions of
- the Eclipse Public License Version 1.0 (&quot;EPL&quot;). A copy of
- the EPL is available at
- <a href="http://www.eclipse.org/legal/epl-v10.html">
- http://www.eclipse.org/legal/epl-v10.html</a>. For purposes of the
- EPL, &quot;Program&quot; will mean the Content.</p>
-
- <p>If you did not receive this Content directly from the Eclipse
- Foundation, the Content is being redistributed by another party
- (&quot;Redistributor&quot;) and different terms and conditions may
- apply to your use of any object code in the Content. Check the
- Redistributor&apos;s license that was provided with the Content. If
- no such license exists, contact the Redistributor. Unless otherwise
- indicated below, the terms and conditions of the EPL still apply to
- any source code in the Content.</p>
-
- </body>
-
-</html>
-
diff --git a/plugins/org.eclipse.net4j.util/build.properties b/plugins/org.eclipse.net4j.util/build.properties
deleted file mode 100644
index 8f7f071..0000000
--- a/plugins/org.eclipse.net4j.util/build.properties
+++ /dev/null
@@ -1,17 +0,0 @@
-# NLS_MESSAGEFORMAT_VAR
-bin.includes = plugin.xml,\
- META-INF/,\
- config/,\
- plugin.properties,\
- lib/,\
- epl-v10.html,\
- copyright.txt,\
- about.html,\
- org.eclipse.net4j.util.jar,\
- license.html,\
- lib/log4j-1.2.13.jar
-jars.compile.order = org.eclipse.net4j.util.jar
-source.org.eclipse.net4j.util.jar = src/,\
- config/
-output.org.eclipse.net4j.util.jar = bin/
- \ No newline at end of file
diff --git a/plugins/org.eclipse.net4j.util/config/log4j.dtd b/plugins/org.eclipse.net4j.util/config/log4j.dtd
deleted file mode 100644
index d92a6e7..0000000
--- a/plugins/org.eclipse.net4j.util/config/log4j.dtd
+++ /dev/null
@@ -1,166 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-
-<!-- Authors: Chris Taylor, Ceki Gulcu. -->
-
-<!-- Version: 1.2 -->
-
-<!-- A configuration element consists of optional renderer
-elements,appender elements, categories and an optional root
-element. -->
-
-<!ELEMENT log4j:configuration (renderer*, appender*,(category|logger)*,root?,
- categoryFactory?)>
-
-<!-- The "threshold" attribute takes a level value such that all -->
-<!-- logging statements with a level equal or below this value are -->
-<!-- disabled. -->
-
-<!-- Setting the "debug" enable the printing of internal log4j logging -->
-<!-- statements. -->
-
-<!-- By default, debug attribute is "null", meaning that we not do touch -->
-<!-- internal log4j logging settings. The "null" value for the threshold -->
-<!-- attribute can be misleading. The threshold field of a repository -->
-<!-- cannot be set to null. The "null" value for the threshold attribute -->
-<!-- simply means don't touch the threshold field, the threshold field -->
-<!-- keeps its old value. -->
-
-<!ATTLIST log4j:configuration
- xmlns:log4j CDATA #FIXED "http://jakarta.apache.org/log4j/"
- threshold (all|debug|info|warn|error|fatal|off|null) "null"
- debug (true|false|null) "null"
->
-
-<!-- renderer elements allow the user to customize the conversion of -->
-<!-- message objects to String. -->
-
-<!ELEMENT renderer EMPTY>
-<!ATTLIST renderer
- renderedClass CDATA #REQUIRED
- renderingClass CDATA #REQUIRED
->
-
-<!-- Appenders must have a name and a class. -->
-<!-- Appenders may contain an error handler, a layout, optional parameters -->
-<!-- and filters. They may also reference (or include) other appenders. -->
-<!ELEMENT appender (errorHandler?, param*, layout?, filter*, appender-ref*)>
-<!ATTLIST appender
- name ID #REQUIRED
- class CDATA #REQUIRED
->
-
-<!ELEMENT layout (param*)>
-<!ATTLIST layout
- class CDATA #REQUIRED
->
-
-<!ELEMENT filter (param*)>
-<!ATTLIST filter
- class CDATA #REQUIRED
->
-
-<!-- ErrorHandlers can be of any class. They can admit any number of -->
-<!-- parameters. -->
-
-<!ELEMENT errorHandler (param*, root-ref?, logger-ref*, appender-ref?)>
-<!ATTLIST errorHandler
- class CDATA #REQUIRED
->
-
-<!ELEMENT root-ref EMPTY>
-
-<!ELEMENT logger-ref EMPTY>
-<!ATTLIST logger-ref
- ref IDREF #REQUIRED
->
-
-<!ELEMENT param EMPTY>
-<!ATTLIST param
- name CDATA #REQUIRED
- value CDATA #REQUIRED
->
-
-
-<!-- The priority class is org.apache.log4j.Level by default -->
-<!ELEMENT priority (param*)>
-<!ATTLIST priority
- class CDATA #IMPLIED
- value CDATA #REQUIRED
->
-
-<!-- The level class is org.apache.log4j.Level by default -->
-<!ELEMENT level (param*)>
-<!ATTLIST level
- class CDATA #IMPLIED
- value CDATA #REQUIRED
->
-
-
-<!-- If no level element is specified, then the configurator MUST not -->
-<!-- touch the level of the named category. -->
-<!ELEMENT category (param*,(priority|level)?,appender-ref*)>
-<!ATTLIST category
- class CDATA #IMPLIED
- name CDATA #REQUIRED
- additivity (true|false) "true"
->
-
-<!-- If no level element is specified, then the configurator MUST not -->
-<!-- touch the level of the named logger. -->
-<!ELEMENT logger (level?,appender-ref*)>
-<!ATTLIST logger
- name ID #REQUIRED
- additivity (true|false) "true"
->
-
-
-<!ELEMENT categoryFactory (param*)>
-<!ATTLIST categoryFactory
- class CDATA #REQUIRED>
-
-<!ELEMENT appender-ref EMPTY>
-<!ATTLIST appender-ref
- ref IDREF #REQUIRED
->
-
-<!-- If no priority element is specified, then the configurator MUST not -->
-<!-- touch the priority of root. -->
-<!-- The root category always exists and cannot be subclassed. -->
-<!ELEMENT root (param*, (priority|level)?, appender-ref*)>
-
-
-<!-- ==================================================================== -->
-<!-- A logging event -->
-<!-- ==================================================================== -->
-<!ELEMENT log4j:eventSet (log4j:event*)>
-<!ATTLIST log4j:eventSet
- xmlns:log4j CDATA #FIXED "http://jakarta.apache.org/log4j/"
- version (1.1|1.2) "1.2"
- includesLocationInfo (true|false) "true"
->
-
-
-
-<!ELEMENT log4j:event (log4j:message, log4j:NDC?, log4j:throwable?,
- log4j:locationInfo?) >
-
-<!-- The timestamp format is application dependent. -->
-<!ATTLIST log4j:event
- logger CDATA #REQUIRED
- level CDATA #REQUIRED
- thread CDATA #REQUIRED
- timestamp CDATA #REQUIRED
->
-
-<!ELEMENT log4j:message (#PCDATA)>
-<!ELEMENT log4j:NDC (#PCDATA)>
-
-<!ELEMENT log4j:throwable (#PCDATA)>
-
-<!ELEMENT log4j:locationInfo EMPTY>
-<!ATTLIST log4j:locationInfo
- class CDATA #REQUIRED
- method CDATA #REQUIRED
- file CDATA #REQUIRED
- line CDATA #REQUIRED
->
diff --git a/plugins/org.eclipse.net4j.util/config/log4j.xml b/plugins/org.eclipse.net4j.util/config/log4j.xml
deleted file mode 100644
index 350ec0a..0000000
--- a/plugins/org.eclipse.net4j.util/config/log4j.xml
+++ /dev/null
@@ -1,62 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!DOCTYPE log4j:configuration SYSTEM "../../org.eclipse.net4j.util/config/log4j.dtd">
-<log4j:configuration debug="false" xmlns:log4j="http://jakarta.apache.org/log4j/">
-
- <appender name="LOGFACTOR" class="org.apache.log4j.lf5.LF5Appender">
- <param name="MaxNumberOfRecords" value="1000"/>
- </appender>
-
- <appender name="GANYMEDE" class="org.apache.log4j.net.SocketAppender">
- <param name="RemoteHost" value="localhost"/>
- <param name="Port" value="4445"/>
- <param name="LocationInfo" value="true"/>
- </appender>
-
- <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
- <layout class="org.apache.log4j.PatternLayout">
- <param name="ConversionPattern" value="[%p] %c: %m%n"/>
- </layout>
- </appender>
-
- <appender name="FILE" class="org.apache.log4j.FileAppender">
- <param name="File" value="densityd.log"/>
- <param name="Append" value="false"/>
- <layout class="org.apache.log4j.PatternLayout">
- <param name="ConversionPattern" value="[%p] %c: %m%n"/>
- </layout>
- </appender>
-
- <category name="org.eclipse.net4j.spring.impl.ContainerImpl">
- <priority value="warn"/>
- </category>
-
- <category name="org.eclipse.net4j.util.fsm.StateMachine">
- <priority value="warn"/>
- </category>
-
- <category name="org.eclipse.net4j.core.impl.ChannelImpl$ClientStateMachine">
- <priority value="warn"/>
- </category>
-
- <category name="org.eclipse.net4j.core.impl.ChannelImpl$ServerStateMachine">
- <priority value="warn"/>
- </category>
-
- <category name="org.springframework">
- <priority value="warn"/>
- </category>
-
- <category name="org.springframework.jdbc">
- <priority value="error"/>
- </category>
-
- <root>
- <priority value="info"/>
- <!--
- <appender-ref ref="LOGFACTOR" />
- <appender-ref ref="FILE"/>
- -->
- <appender-ref ref="CONSOLE"/>
- </root>
-
-</log4j:configuration>
diff --git a/plugins/org.eclipse.net4j.util/copyright.txt b/plugins/org.eclipse.net4j.util/copyright.txt
deleted file mode 100644
index 0451a0d..0000000
--- a/plugins/org.eclipse.net4j.util/copyright.txt
+++ /dev/null
@@ -1,8 +0,0 @@
-Copyright (c) 2004-2006 Eike Stepper, Fuggerstr. 39, 10777 Berlin, Germany.
-All rights reserved. This program and the accompanying materials
-are made available under the terms of the Eclipse Public License v1.0
-which accompanies this distribution, and is available at
-http://www.eclipse.org/legal/epl-v10.html
-
-Contributors:
- Eike Stepper - initial API and implementation \ No newline at end of file
diff --git a/plugins/org.eclipse.net4j.util/epl-v10.html b/plugins/org.eclipse.net4j.util/epl-v10.html
deleted file mode 100644
index d7b88e9..0000000
--- a/plugins/org.eclipse.net4j.util/epl-v10.html
+++ /dev/null
@@ -1,319 +0,0 @@
-<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40"><head>
-<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
-<meta name="ProgId" content="Word.Document">
-<meta name="Generator" content="Microsoft Word 9">
-<meta name="Originator" content="Microsoft Word 9">
-<link rel="File-List" href="http://www.eclipse.org/org/documents/Eclipse%20EPL%202003_11_10%20Final_files/filelist.xml"><title>Eclipse Public License - Version 1.0</title><!--[if gte mso 9]><xml>
- <o:DocumentProperties>
- <o:Revision>2</o:Revision>
- <o:TotalTime>3</o:TotalTime>
- <o:Created>2004-03-05T23:03:00Z</o:Created>
- <o:LastSaved>2004-03-05T23:03:00Z</o:LastSaved>
- <o:Pages>4</o:Pages>
- <o:Words>1626</o:Words>
- <o:Characters>9270</o:Characters>
- <o:Lines>77</o:Lines>
- <o:Paragraphs>18</o:Paragraphs>
- <o:CharactersWithSpaces>11384</o:CharactersWithSpaces>
- <o:Version>9.4402</o:Version>
- </o:DocumentProperties>
-</xml><![endif]--><!--[if gte mso 9]><xml>
- <w:WordDocument>
- <w:TrackRevisions/>
- </w:WordDocument>
-</xml><![endif]-->
-
-
-<style>
-<!--
- /* Font Definitions */
-@font-face
- {font-family:Tahoma;
- panose-1:2 11 6 4 3 5 4 4 2 4;
- mso-font-charset:0;
- mso-generic-font-family:swiss;
- mso-font-pitch:variable;
- mso-font-signature:553679495 -2147483648 8 0 66047 0;}
- /* Style Definitions */
-p.MsoNormal, li.MsoNormal, div.MsoNormal
- {mso-style-parent:"";
- margin:0in;
- margin-bottom:.0001pt;
- mso-pagination:widow-orphan;
- font-size:12.0pt;
- font-family:"Times New Roman";
- mso-fareast-font-family:"Times New Roman";}
-p
- {margin-right:0in;
- mso-margin-top-alt:auto;
- mso-margin-bottom-alt:auto;
- margin-left:0in;
- mso-pagination:widow-orphan;
- font-size:12.0pt;
- font-family:"Times New Roman";
- mso-fareast-font-family:"Times New Roman";}
-p.BalloonText, li.BalloonText, div.BalloonText
- {mso-style-name:"Balloon Text";
- margin:0in;
- margin-bottom:.0001pt;
- mso-pagination:widow-orphan;
- font-size:8.0pt;
- font-family:Tahoma;
- mso-fareast-font-family:"Times New Roman";}
-@page Section1
- {size:8.5in 11.0in;
- margin:1.0in 1.25in 1.0in 1.25in;
- mso-header-margin:.5in;
- mso-footer-margin:.5in;
- mso-paper-source:0;}
-div.Section1
- {page:Section1;}
--->
-</style></head>
-
-<body style="" lang="EN-US">
-
-<div class="Section1">
-
-<p style="text-align: center;" align="center"><b>Eclipse Public License - v 1.0</b>
-</p>
-
-<p><span style="font-size: 10pt;">THE ACCOMPANYING PROGRAM IS PROVIDED UNDER
-THE TERMS OF THIS ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE,
-REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE
-OF THIS AGREEMENT.</span> </p>
-
-<p><b><span style="font-size: 10pt;">1. DEFINITIONS</span></b> </p>
-
-<p><span style="font-size: 10pt;">"Contribution" means:</span> </p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">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:</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">i)
-changes to the Program, and</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">ii)
-additions to the Program;</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">where
-such changes and/or additions to the Program originate from and are distributed
-by that particular Contributor. 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. 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. </span></p>
-
-<p><span style="font-size: 10pt;">"Contributor" means any person or
-entity that distributes the Program.</span> </p>
-
-<p><span style="font-size: 10pt;">"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. </span></p>
-
-<p><span style="font-size: 10pt;">"Program" means the Contributions
-distributed in accordance with this Agreement.</span> </p>
-
-<p><span style="font-size: 10pt;">"Recipient" means anyone who
-receives the Program under this Agreement, including all Contributors.</span> </p>
-
-<p><b><span style="font-size: 10pt;">2. GRANT OF RIGHTS</span></b> </p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
-Subject to the terms of this Agreement, each Contributor hereby grants Recipient
-a non-exclusive, worldwide, royalty-free copyright license to<span style="color: red;"> </span>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.</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">b)
-Subject to the terms of this Agreement, each Contributor hereby grants
-Recipient a non-exclusive, worldwide,<span style="color: green;"> </span>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. </span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">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.</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">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. </span></p>
-
-<p><b><span style="font-size: 10pt;">3. REQUIREMENTS</span></b> </p>
-
-<p><span style="font-size: 10pt;">A Contributor may choose to distribute the
-Program in object code form under its own license agreement, provided that:</span>
-</p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
-it complies with the terms and conditions of this Agreement; and</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">b)
-its license agreement:</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">i)
-effectively disclaims 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; </span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">ii)
-effectively excludes on behalf of all Contributors all liability for damages,
-including direct, indirect, special, incidental and consequential damages, such
-as lost profits; </span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">iii)
-states that any provisions which differ from this Agreement are offered by that
-Contributor alone and not by any other party; and</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">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.<span style="color: blue;"> </span></span></p>
-
-<p><span style="font-size: 10pt;">When the Program is made available in source
-code form:</span> </p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
-it must be made available under this Agreement; and </span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">b) a
-copy of this Agreement must be included with each copy of the Program. </span></p>
-
-<p><span style="font-size: 10pt;">Contributors may not remove or alter any
-copyright notices contained within the Program. </span></p>
-
-<p><span style="font-size: 10pt;">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. </span></p>
-
-<p><b><span style="font-size: 10pt;">4. COMMERCIAL DISTRIBUTION</span></b> </p>
-
-<p><span style="font-size: 10pt;">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.</span> </p>
-
-<p><span style="font-size: 10pt;">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.</span> </p>
-
-<p><b><span style="font-size: 10pt;">5. NO WARRANTY</span></b> </p>
-
-<p><span style="font-size: 10pt;">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 solely
-responsible for determining the appropriateness of using and distributing the
-Program and assumes all risks associated with its exercise of rights under this
-Agreement , including but not limited to the risks and costs of program errors,
-compliance with applicable laws, damage to or loss of data, programs or
-equipment, and unavailability or interruption of operations. </span></p>
-
-<p><b><span style="font-size: 10pt;">6. DISCLAIMER OF LIABILITY</span></b> </p>
-
-<p><span style="font-size: 10pt;">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
-(INCLUDING WITHOUT LIMITATION LOST PROFITS), 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.</span> </p>
-
-<p><b><span style="font-size: 10pt;">7. GENERAL</span></b> </p>
-
-<p><span style="font-size: 10pt;">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.</span> </p>
-
-<p><span style="font-size: 10pt;">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. </span></p>
-
-<p><span style="font-size: 10pt;">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. </span></p>
-
-<p><span style="font-size: 10pt;">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 publish new versions (including revisions) of
-this Agreement from time to time. No one other than the Agreement Steward has
-the right to modify this Agreement. The Eclipse Foundation is the initial
-Agreement Steward. The Eclipse Foundation may assign the responsibility to
-serve as the Agreement Steward to a suitable separate entity. 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 version. 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, by implication, estoppel or otherwise. All rights in the Program not
-expressly granted under this Agreement are reserved.</span> </p>
-
-<p><span style="font-size: 10pt;">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.</span> </p>
-
-<p class="MsoNormal"><!--[if !supportEmptyParas]-->&nbsp;<!--[endif]--><o:p></o:p></p>
-
-</div>
-
-</body></html> \ No newline at end of file
diff --git a/plugins/org.eclipse.net4j.util/license.html b/plugins/org.eclipse.net4j.util/license.html
deleted file mode 100644
index d7b88e9..0000000
--- a/plugins/org.eclipse.net4j.util/license.html
+++ /dev/null
@@ -1,319 +0,0 @@
-<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40"><head>
-<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
-<meta name="ProgId" content="Word.Document">
-<meta name="Generator" content="Microsoft Word 9">
-<meta name="Originator" content="Microsoft Word 9">
-<link rel="File-List" href="http://www.eclipse.org/org/documents/Eclipse%20EPL%202003_11_10%20Final_files/filelist.xml"><title>Eclipse Public License - Version 1.0</title><!--[if gte mso 9]><xml>
- <o:DocumentProperties>
- <o:Revision>2</o:Revision>
- <o:TotalTime>3</o:TotalTime>
- <o:Created>2004-03-05T23:03:00Z</o:Created>
- <o:LastSaved>2004-03-05T23:03:00Z</o:LastSaved>
- <o:Pages>4</o:Pages>
- <o:Words>1626</o:Words>
- <o:Characters>9270</o:Characters>
- <o:Lines>77</o:Lines>
- <o:Paragraphs>18</o:Paragraphs>
- <o:CharactersWithSpaces>11384</o:CharactersWithSpaces>
- <o:Version>9.4402</o:Version>
- </o:DocumentProperties>
-</xml><![endif]--><!--[if gte mso 9]><xml>
- <w:WordDocument>
- <w:TrackRevisions/>
- </w:WordDocument>
-</xml><![endif]-->
-
-
-<style>
-<!--
- /* Font Definitions */
-@font-face
- {font-family:Tahoma;
- panose-1:2 11 6 4 3 5 4 4 2 4;
- mso-font-charset:0;
- mso-generic-font-family:swiss;
- mso-font-pitch:variable;
- mso-font-signature:553679495 -2147483648 8 0 66047 0;}
- /* Style Definitions */
-p.MsoNormal, li.MsoNormal, div.MsoNormal
- {mso-style-parent:"";
- margin:0in;
- margin-bottom:.0001pt;
- mso-pagination:widow-orphan;
- font-size:12.0pt;
- font-family:"Times New Roman";
- mso-fareast-font-family:"Times New Roman";}
-p
- {margin-right:0in;
- mso-margin-top-alt:auto;
- mso-margin-bottom-alt:auto;
- margin-left:0in;
- mso-pagination:widow-orphan;
- font-size:12.0pt;
- font-family:"Times New Roman";
- mso-fareast-font-family:"Times New Roman";}
-p.BalloonText, li.BalloonText, div.BalloonText
- {mso-style-name:"Balloon Text";
- margin:0in;
- margin-bottom:.0001pt;
- mso-pagination:widow-orphan;
- font-size:8.0pt;
- font-family:Tahoma;
- mso-fareast-font-family:"Times New Roman";}
-@page Section1
- {size:8.5in 11.0in;
- margin:1.0in 1.25in 1.0in 1.25in;
- mso-header-margin:.5in;
- mso-footer-margin:.5in;
- mso-paper-source:0;}
-div.Section1
- {page:Section1;}
--->
-</style></head>
-
-<body style="" lang="EN-US">
-
-<div class="Section1">
-
-<p style="text-align: center;" align="center"><b>Eclipse Public License - v 1.0</b>
-</p>
-
-<p><span style="font-size: 10pt;">THE ACCOMPANYING PROGRAM IS PROVIDED UNDER
-THE TERMS OF THIS ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE,
-REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE
-OF THIS AGREEMENT.</span> </p>
-
-<p><b><span style="font-size: 10pt;">1. DEFINITIONS</span></b> </p>
-
-<p><span style="font-size: 10pt;">"Contribution" means:</span> </p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">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:</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">i)
-changes to the Program, and</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">ii)
-additions to the Program;</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">where
-such changes and/or additions to the Program originate from and are distributed
-by that particular Contributor. 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. 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. </span></p>
-
-<p><span style="font-size: 10pt;">"Contributor" means any person or
-entity that distributes the Program.</span> </p>
-
-<p><span style="font-size: 10pt;">"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. </span></p>
-
-<p><span style="font-size: 10pt;">"Program" means the Contributions
-distributed in accordance with this Agreement.</span> </p>
-
-<p><span style="font-size: 10pt;">"Recipient" means anyone who
-receives the Program under this Agreement, including all Contributors.</span> </p>
-
-<p><b><span style="font-size: 10pt;">2. GRANT OF RIGHTS</span></b> </p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
-Subject to the terms of this Agreement, each Contributor hereby grants Recipient
-a non-exclusive, worldwide, royalty-free copyright license to<span style="color: red;"> </span>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.</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">b)
-Subject to the terms of this Agreement, each Contributor hereby grants
-Recipient a non-exclusive, worldwide,<span style="color: green;"> </span>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. </span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">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.</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">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. </span></p>
-
-<p><b><span style="font-size: 10pt;">3. REQUIREMENTS</span></b> </p>
-
-<p><span style="font-size: 10pt;">A Contributor may choose to distribute the
-Program in object code form under its own license agreement, provided that:</span>
-</p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
-it complies with the terms and conditions of this Agreement; and</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">b)
-its license agreement:</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">i)
-effectively disclaims 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; </span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">ii)
-effectively excludes on behalf of all Contributors all liability for damages,
-including direct, indirect, special, incidental and consequential damages, such
-as lost profits; </span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">iii)
-states that any provisions which differ from this Agreement are offered by that
-Contributor alone and not by any other party; and</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">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.<span style="color: blue;"> </span></span></p>
-
-<p><span style="font-size: 10pt;">When the Program is made available in source
-code form:</span> </p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
-it must be made available under this Agreement; and </span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">b) a
-copy of this Agreement must be included with each copy of the Program. </span></p>
-
-<p><span style="font-size: 10pt;">Contributors may not remove or alter any
-copyright notices contained within the Program. </span></p>
-
-<p><span style="font-size: 10pt;">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. </span></p>
-
-<p><b><span style="font-size: 10pt;">4. COMMERCIAL DISTRIBUTION</span></b> </p>
-
-<p><span style="font-size: 10pt;">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.</span> </p>
-
-<p><span style="font-size: 10pt;">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.</span> </p>
-
-<p><b><span style="font-size: 10pt;">5. NO WARRANTY</span></b> </p>
-
-<p><span style="font-size: 10pt;">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 solely
-responsible for determining the appropriateness of using and distributing the
-Program and assumes all risks associated with its exercise of rights under this
-Agreement , including but not limited to the risks and costs of program errors,
-compliance with applicable laws, damage to or loss of data, programs or
-equipment, and unavailability or interruption of operations. </span></p>
-
-<p><b><span style="font-size: 10pt;">6. DISCLAIMER OF LIABILITY</span></b> </p>
-
-<p><span style="font-size: 10pt;">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
-(INCLUDING WITHOUT LIMITATION LOST PROFITS), 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.</span> </p>
-
-<p><b><span style="font-size: 10pt;">7. GENERAL</span></b> </p>
-
-<p><span style="font-size: 10pt;">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.</span> </p>
-
-<p><span style="font-size: 10pt;">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. </span></p>
-
-<p><span style="font-size: 10pt;">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. </span></p>
-
-<p><span style="font-size: 10pt;">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 publish new versions (including revisions) of
-this Agreement from time to time. No one other than the Agreement Steward has
-the right to modify this Agreement. The Eclipse Foundation is the initial
-Agreement Steward. The Eclipse Foundation may assign the responsibility to
-serve as the Agreement Steward to a suitable separate entity. 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 version. 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, by implication, estoppel or otherwise. All rights in the Program not
-expressly granted under this Agreement are reserved.</span> </p>
-
-<p><span style="font-size: 10pt;">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.</span> </p>
-
-<p class="MsoNormal"><!--[if !supportEmptyParas]-->&nbsp;<!--[endif]--><o:p></o:p></p>
-
-</div>
-
-</body></html> \ No newline at end of file
diff --git a/plugins/org.eclipse.net4j.util/plugin.properties b/plugins/org.eclipse.net4j.util/plugin.properties
deleted file mode 100644
index 8fb336a..0000000
--- a/plugins/org.eclipse.net4j.util/plugin.properties
+++ /dev/null
@@ -1,2 +0,0 @@
-pluginName = Net4j Utilities
-providerName = Eclipse.org
diff --git a/plugins/org.eclipse.net4j.util/plugin.xml b/plugins/org.eclipse.net4j.util/plugin.xml
deleted file mode 100644
index 635a28e..0000000
--- a/plugins/org.eclipse.net4j.util/plugin.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.0"?>
-
-<plugin>
-
-
-</plugin>
diff --git a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/Argument.java b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/Argument.java
deleted file mode 100644
index bc3c2c8..0000000
--- a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/Argument.java
+++ /dev/null
@@ -1,85 +0,0 @@
-/***************************************************************************
- * Copyright (c) 2004-2006 Eike Stepper, Fuggerstr. 39, 10777 Berlin, Germany.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Eike Stepper - initial API and implementation
- **************************************************************************/
-package org.eclipse.net4j.util;
-
-
-/**
- * <code>Assert</code> is useful for for embedding runtime sanity checks
- * in code.
- * The predicate methods all test a condition and throw some
- * type of unchecked exception if the condition does not hold.
- * <p>
- * Assertion failure exceptions, like most runtime exceptions, are
- * thrown when something is misbehaving. Assertion failures are invariably
- * unspecified behavior; consequently, clients should never rely on
- * these being thrown (and certainly should not being catching them
- * specifically).
- * </p>
- */
-public final class Argument
-{
- /* This class is not intended to be instantiated. */
- private Argument()
- {
- // not allowed
- }
-
- /** Asserts that the given object is not <code>null</code>. If this
- * is not the case, some kind of unchecked exception is thrown.
- *
- * @param object the value to test
- * @exception IllegalArgumentException if the object is <code>null</code>
- */
- public static void isNotNull(Object object)
- {
- isNotNull(object, ""); //$NON-NLS-1$
- }
-
- /** Asserts that the given object is not <code>null</code>. If this
- * is not the case, some kind of unchecked exception is thrown.
- * The given message is included in that exception, to aid debugging.
- *
- * @param object the value to test
- * @param message the message to include in the exception
- * @exception IllegalArgumentException if the object is <code>null</code>
- */
- public static void isNotNull(Object object, String message)
- {
- if (object == null) throw new IllegalArgumentException("null argument:" + message); //$NON-NLS-1$
- }
-
- /** Asserts that the given boolean is <code>true</code>. If this
- * is not the case, some kind of unchecked exception is thrown.
- *
- * @param expression the outcode of the check
- * @return <code>true</code> if the check passes (does not return
- * if the check fails)
- */
- public static boolean isTrue(boolean expression)
- {
- return isTrue(expression, ""); //$NON-NLS-1$
- }
-
- /** Asserts that the given boolean is <code>true</code>. If this
- * is not the case, some kind of unchecked exception is thrown.
- * The given message is included in that exception, to aid debugging.
- *
- * @param expression the outcode of the check
- * @param message the message to include in the exception
- * @return <code>true</code> if the check passes (does not return
- * if the check fails)
- */
- public static boolean isTrue(boolean expression, String message)
- {
- if (!expression) throw new IllegalArgumentException("assertion failed: " + message); //$NON-NLS-1$
- return expression;
- }
-}
diff --git a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/Assert.java b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/Assert.java
deleted file mode 100644
index 266dd60..0000000
--- a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/Assert.java
+++ /dev/null
@@ -1,63 +0,0 @@
-/***************************************************************************
- * Copyright (c) 2004-2006 Eike Stepper, Fuggerstr. 39, 10777 Berlin, Germany.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Eike Stepper - initial API and implementation
- **************************************************************************/
-package org.eclipse.net4j.util;
-
-
-public final class Assert
-{
- /* This class is not intended to be instantiated. */
- private Assert()
- {
- // not allowed
- }
-
- public static void isNotNull(Object object)
- {
- isNotNull(object, ""); //$NON-NLS-1$
- }
-
- public static void isNotNull(Object object, String message)
- {
- if (object == null)
- {
- String txt = "null argument:" + message; //$NON-NLS-1$
- System.out.println(txt);
- throw new AssertionFailedError(txt);
- }
- }
-
- public static boolean isTrue(boolean expression)
- {
- return isTrue(expression, ""); //$NON-NLS-1$
- }
-
- public static boolean isTrue(boolean expression, String message)
- {
- if (!expression)
- {
- String txt = "assertion failed: " + message; //$NON-NLS-1$
- System.out.println(txt);
- throw new AssertionFailedError(txt);
- }
-
- return expression;
- }
-
- public static boolean fail()
- {
- return fail(""); //$NON-NLS-1$
- }
-
- public static boolean fail(String message)
- {
- return isTrue(false, message);
- }
-}
diff --git a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/AssertionFailedError.java b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/AssertionFailedError.java
deleted file mode 100644
index 703ad99..0000000
--- a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/AssertionFailedError.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/***************************************************************************
- * Copyright (c) 2004-2006 Eike Stepper, Fuggerstr. 39, 10777 Berlin, Germany.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Eike Stepper - initial API and implementation
- **************************************************************************/
-package org.eclipse.net4j.util;
-
-
-/**
- * <code>AssertionFailedException</code> is a runtime exception thrown
- * by some of the methods in <code>Assert</code>.
- * <p>
- * This class is not declared public to prevent some misuses; programs that catch
- * or otherwise depend on assertion failures are susceptible to unexpected
- * breakage when assertions in the code are added or removed.
- * </p>
- */
-class AssertionFailedError extends ImplementationError
-{
- private static final long serialVersionUID = -1363257600902142582L;
-
- /** Constructs a new exception with the given message.
- */
- public AssertionFailedError(String detail)
- {
- super(detail);
- }
-}
diff --git a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/BeanException.java b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/BeanException.java
deleted file mode 100644
index c969b1c..0000000
--- a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/BeanException.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/***************************************************************************
- * Copyright (c) 2004-2006 Eike Stepper, Fuggerstr. 39, 10777 Berlin, Germany.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Eike Stepper - initial API and implementation
- **************************************************************************/
-package org.eclipse.net4j.util;
-
-
-public class BeanException extends RuntimeException
-{
- /**
- *
- */
- private static final long serialVersionUID = 3979274633562501681L;
-
- /**
- *
- */
- public BeanException()
- {
- super();
- }
-
- /**
- * @param arg0
- */
- public BeanException(String arg0)
- {
- super(arg0);
- }
-
- /**
- * @param arg0
- */
- public BeanException(Throwable arg0)
- {
- super(arg0);
- }
-
- /**
- * @param arg0
- * @param arg1
- */
- public BeanException(String arg0, Throwable arg1)
- {
- super(arg0, arg1);
- }
-}
diff --git a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/BeanHelper.java b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/BeanHelper.java
deleted file mode 100644
index e33854b..0000000
--- a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/BeanHelper.java
+++ /dev/null
@@ -1,286 +0,0 @@
-/***************************************************************************
- * Copyright (c) 2004-2006 Eike Stepper, Fuggerstr. 39, 10777 Berlin, Germany.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Eike Stepper - initial API and implementation
- **************************************************************************/
-package org.eclipse.net4j.util;
-
-
-import java.lang.reflect.Method;
-
-
-public class BeanHelper
-{
- public static Class<?> mostSpecificClass(Class[] classes)
- {
- int size = classes.length;
-
- for (int i = 0; i < size; i++)
- {
- Class<?> iClass = classes[i];
-
- for (int k = i + 1; k < size; k++)
- {
- Class<?> kClass = classes[k];
-
- if (iClass.isAssignableFrom(kClass))
- {
- // iClass is super class of kClass
- // iClass is less specific
- classes[i] = classes[--size];
- break;
- }
- else if (kClass.isAssignableFrom(iClass))
- {
- // kClass is super class of iClass
- // kClass is less specific
- classes[k] = classes[--size];
- break;
- }
- }
- }
-
- if (size > 1)
- {
- throw new RuntimeException("Ambiguous ViewFacories");
- }
-
- if (size < 1)
- {
- throw new RuntimeException("No ViewFacories");
- }
-
- return classes[0];
- }
-
- public static void dispatchChild(Object object, String name, Object value)
- {
- Method adder = findAdder(object.getClass(), name);
- if (adder == null) throw new BeanException("Child " + name + " not reognized");
-
- try
- {
- adder.invoke(object, new Object[] { value});
- }
- catch (Throwable t)
- {
- throw new BeanException("Child " + name + " not accessible", t);
- }
- }
-
- public static Object[] children(Object object, String name)
- {
- Method getter = findChildGetter(object.getClass(), name);
- if (getter == null) throw new BeanException("Child " + name + " not reognized");
-
- try
- {
- return (Object[]) getter.invoke(object, (Object[]) null);
- }
- catch (Throwable t)
- {
- throw new BeanException("Child " + name + " not accessible", t);
- }
- }
-
- public static void dispatchAttributeValue(Object object, String name, String value)
- {
- Method setter = findSetter(object.getClass(), name);
- if (setter == null) throw new BeanException("Attribute " + name + " not reognized");
-
- try
- {
- Class<?> type = setter.getParameterTypes()[0];
-
- if (type == Boolean.class)
- {
- Boolean bool = value == null ? null : Boolean.valueOf(value);
- setter.invoke(object, new Object[] { bool});
- }
- else
- {
- // if (type == String)
- setter.invoke(object, new Object[] { value});
- }
- }
- catch (Throwable t)
- {
- throw new BeanException("Attribute " + name + " not accessible", t);
- }
- }
-
- public static void dispatchAttributeValueBoolean(Object object, String name, Boolean value)
- {
- Method setter = findSetter(object.getClass(), name);
- if (setter == null) throw new BeanException("Attribute " + name + " not reognized");
- if (setter.getParameterTypes()[0] != Boolean.class)
- throw new BeanException("Attribute " + name + " is not Boolean");
-
- try
- {
- setter.invoke(object, new Object[] { value});
- }
- catch (Throwable t)
- {
- throw new BeanException("Attribute " + name + " not accessible", t);
- }
- }
-
- public static String attributeValue(Object object, String name)
- {
- Method getter = findGetter(object.getClass(), name);
- if (getter == null) throw new BeanException("Attribute " + name + " not reognized");
-
- try
- {
- Object returnValue = getter.invoke(object, (Object[]) null);
- if (returnValue == null) return null;
- if (returnValue instanceof String) return (String) returnValue;
-
- //if (returnValue instanceof Boolean)
- return ((Boolean) returnValue).toString();
-
- }
- catch (Throwable t)
- {
- throw new BeanException("Attribute " + name + " not accessible", t);
- }
- }
-
- public static Boolean attributeValueBoolean(Object object, String name)
- {
- Method getter = findGetter(object.getClass(), name);
- if (getter == null) throw new BeanException("Attribute " + name + " not reognized");
- if (getter.getReturnType() != Boolean.class)
- throw new BeanException("Attribute " + name + " is not Boolean");
-
- try
- {
- return (Boolean) getter.invoke(object, (Object[]) null);
- }
- catch (Throwable t)
- {
- throw new BeanException("Attribute " + name + " accessible", t);
- }
- }
-
- public static Method findGetter(Class<? extends Object> clazz, String name)
- {
- String accessor = "is" + capitalize(name);
- Method method = findMethod(clazz, accessor);
- if (validGetter(method)) return method;
-
- accessor = "get" + capitalize(name);
- method = findMethod(clazz, accessor);
- if (validGetter(method)) return method;
-
- return null;
- }
-
- public static Method findChildGetter(Class<? extends Object> clazz, String name)
- {
- String accessor = "get" + capitalize(name) + "s";
- Method method = findMethod(clazz, accessor);
- if (validChildGetter(method)) return method;
-
- return null;
- }
-
- public static Method findSetter(Class<? extends Object> clazz, String name)
- {
- String accessor = "set" + capitalize(name);
- Method method = findMethod(clazz, accessor);
- return validSetter(method) ? method : null;
- }
-
- public static Method findAdder(Class<? extends Object> clazz, String name)
- {
- String accessor = "add" + capitalize(name);
- Method method = findMethod(clazz, accessor);
- return validAdder(method) ? method : null;
- }
-
- public static Method findMethod(Class<? extends Object> clazz, String name)
- {
- Method[] methods = clazz.getMethods();
- for (int i = 0; i < methods.length; i++)
- {
- Method method = methods[i];
- if (name.equals(method.getName())) return method;
- }
- return null;
- }
-
- private static boolean validGetter(Method method)
- {
- if (method == null) return false;
-
- Class[] paramTypes = method.getParameterTypes();
- if (paramTypes != null || paramTypes.length != 0) return false;
-
- Class<?> returnType = method.getReturnType();
- if (returnType == null || !validAttributeType(returnType)) return false;
-
- return true;
- }
-
- private static boolean validSetter(Method method)
- {
- if (method == null) return false;
-
- Class[] paramTypes = method.getParameterTypes();
- if (paramTypes == null || paramTypes.length != 1 || !validAttributeType(paramTypes[0]))
- return false;
-
- Class<?> returnType = method.getReturnType();
- if (returnType != null && returnType != void.class) return false;
-
- return true;
- }
-
- private static boolean validAdder(Method method)
- {
- if (method == null) return false;
-
- Class[] paramTypes = method.getParameterTypes();
- if (paramTypes == null || paramTypes.length != 1) return false;
-
- Class<?> returnType = method.getReturnType();
- if (returnType != null && returnType != void.class) return false;
-
- return true;
- }
-
- private static boolean validChildGetter(Method method)
- {
- if (method == null) return false;
-
- Class[] paramTypes = method.getParameterTypes();
- if (paramTypes != null || paramTypes.length != 0) return false;
-
- Class<?> returnType = method.getReturnType();
- if (returnType == null || !validChildType(returnType)) return false;
-
- return true;
- }
-
- private static boolean validAttributeType(Class<?> type)
- {
- return type == String.class || type == Boolean.class;
- }
-
- private static boolean validChildType(Class<?> type)
- {
- return type.isArray();
- }
-
- private static String capitalize(String name)
- {
- return StringHelper.firstToUpper(name);
- }
-}
diff --git a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/BitHelper.java b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/BitHelper.java
deleted file mode 100644
index d803107..0000000
--- a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/BitHelper.java
+++ /dev/null
@@ -1,36 +0,0 @@
-/***************************************************************************
- * Copyright (c) 2004-2006 Eike Stepper, Fuggerstr. 39, 10777 Berlin, Germany.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Eike Stepper - initial API and implementation
- **************************************************************************/
-package org.eclipse.net4j.util;
-
-
-public class BitHelper
-{
- public static final int LOWEST_BIT = 0x0000001;
-
- public static int getMask(int bits, int rightPad)
- {
- int mask = LOWEST_BIT;
-
- // Create bit mask
- for (int i = 0; i < bits - 1; i++)
- {
- mask <<= 1;
- mask |= LOWEST_BIT;
- }
-
- return mask << rightPad;
- }
-
- public static int getMask(int bits)
- {
- return getMask(bits, 0);
- }
-}
diff --git a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/DateHelper.java b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/DateHelper.java
deleted file mode 100644
index fe8e246..0000000
--- a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/DateHelper.java
+++ /dev/null
@@ -1,168 +0,0 @@
-/***************************************************************************
- * Copyright (c) 2004-2006 Eike Stepper, Fuggerstr. 39, 10777 Berlin, Germany.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Eike Stepper - initial API and implementation
- **************************************************************************/
-package org.eclipse.net4j.util;
-
-
-import java.util.Calendar;
-import java.util.Date;
-import java.util.GregorianCalendar;
-import java.util.TimeZone;
-
-import java.text.DateFormat;
-import java.text.SimpleDateFormat;
-
-
-/**
- * This is a timezone conversion utility class.
- */
-public class DateHelper
-{
-
- private static final String[] MONTHS = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug",
- "Sep", "Oct", "Nov", "Dec"};
-
- // as SimpleDateFormat is not thread-safe - we have to use ThreadLocal
- private final static ThreadLocal AFTER_SIX = new ThreadLocal()
- {
-
- protected Object initialValue()
- {
- return new SimpleDateFormat(" yyyy");
- }
- };
-
- private final static ThreadLocal BEFORE_SIX = new ThreadLocal()
- {
-
- protected Object initialValue()
- {
- return new SimpleDateFormat("HH:mm");
- }
- };
-
- /**
- * Get unix style date string.
- */
- public static String getUnixDate(Date date)
- {
- long dateTime = date.getTime();
- if (dateTime < 0)
- {
- return "------------";
- }
-
- Calendar cal = new GregorianCalendar();
- cal.setTime(date);
- String firstPart = MONTHS[cal.get(Calendar.MONTH)] + ' ';
-
- String dateStr = String.valueOf(cal.get(Calendar.DATE));
- if (dateStr.length() == 1)
- {
- dateStr = ' ' + dateStr;
- }
- firstPart += dateStr + ' ';
-
- long nowTime = System.currentTimeMillis();
- if (Math.abs(nowTime - dateTime) > 183L * 24L * 60L * 60L * 1000L)
- {
- DateFormat fmt = (DateFormat) AFTER_SIX.get();
- return firstPart + fmt.format(date);
- }
- else
- {
- DateFormat fmt = (DateFormat) BEFORE_SIX.get();
- return firstPart + fmt.format(date);
- }
- }
-
- /**
- * Get the timezone specific string.
- */
- public static String getString(Date dt, DateFormat df, TimeZone to)
- {
- df.setTimeZone(to);
- return df.format(dt);
- }
-
- /**
- * Get the timezone specific calendar.
- */
- public static Calendar getCalendar(Date dt, TimeZone to)
- {
- Calendar cal = Calendar.getInstance(to);
- cal.setTime(dt);
- return cal;
- }
-
- /**
- * Get date object.
- */
- public static Date getDate(String str, DateFormat df, TimeZone from)
- throws java.text.ParseException
- {
- df.setTimeZone(from);
- return df.parse(str);
- }
-
- /**
- * Get date difference => d1 - d2.
- */
- public static String getDifference(Date d1, Date d2)
- {
- Calendar calendar = new GregorianCalendar();
- calendar.setTime(d2);
- int year2 = calendar.get(Calendar.YEAR);
- int day2 = calendar.get(Calendar.DAY_OF_YEAR);
- int hour2 = calendar.get(Calendar.HOUR_OF_DAY);
- int min2 = calendar.get(Calendar.MINUTE);
-
- calendar.setTime(d1);
- int year1 = calendar.get(Calendar.YEAR);
- int day1 = calendar.get(Calendar.DAY_OF_YEAR);
- int hour1 = calendar.get(Calendar.HOUR_OF_DAY);
- int min1 = calendar.get(Calendar.MINUTE);
-
- int leftDays = (day1 - day2) + (year1 - year2) * 365;
- int leftHours = hour1 - hour2;
- int leftMins = min1 - min2;
-
- if (leftMins < 0)
- {
- leftMins += 60;
- --leftHours;
- }
- if (leftHours < 0)
- {
- leftHours += 24;
- --leftDays;
- }
-
- String interval = "";
- if (leftDays > 0)
- {
- interval = leftDays + " Days";
- }
- else if ((leftHours > 0) && (leftDays == 0))
- {
- interval = leftHours + " Hours";
- }
- else if ((leftMins > 0) && (leftHours == 0) && (leftDays == 0))
- {
- interval = leftMins + " Minutes";
- }
- else
- {
- interval = "";
- }
- return interval;
- }
-
-}
diff --git a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/DigestHelper.java b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/DigestHelper.java
deleted file mode 100644
index 3aabfdd..0000000
--- a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/DigestHelper.java
+++ /dev/null
@@ -1,89 +0,0 @@
-/***************************************************************************
- * Copyright (c) 2004-2006 Eike Stepper, Fuggerstr. 39, 10777 Berlin, Germany.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Eike Stepper - initial API and implementation
- **************************************************************************/
-package org.eclipse.net4j.util;
-
-
-import java.security.MessageDigest;
-import java.security.NoSuchAlgorithmException;
-
-
-public class DigestHelper
-{
-
- /**
- * Encrypt byte array.
- */
- public static byte[] encrypt(byte[] source, String algorithm) throws NoSuchAlgorithmException
- {
- MessageDigest md = MessageDigest.getInstance(algorithm);
- md.reset();
- md.update(source);
- return md.digest();
- }
-
- /**
- * Encrypt string
- */
- public static String encrypt(String source, String algorithm) throws NoSuchAlgorithmException
- {
- byte[] resByteArray = encrypt(source.getBytes(), algorithm);
- return StringHelper.toHexString(resByteArray);
- }
-
- /**
- * Encrypt string using MD5 algorithm
- */
- public static String encryptMD5(String source)
- {
- if (source == null)
- {
- source = "";
- }
-
- String result = "";
-
- try
- {
- result = encrypt(source, "MD5");
- }
- catch (NoSuchAlgorithmException ex)
- {
- ex.printStackTrace();
- }
-
- return result;
- }
-
- /**
- * Encrypt string using SHA algorithm
- */
- public static String encryptSHA(String source)
- {
- if (source == null)
- {
- source = "";
- }
-
- String result = "";
-
- try
- {
- result = encrypt(source, "SHA");
- }
- catch (NoSuchAlgorithmException ex)
- {
- ex.printStackTrace();
- }
-
- return result;
- }
-
-}
diff --git a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/IOHelper.java b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/IOHelper.java
deleted file mode 100644
index 9e8b1c0..0000000
--- a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/IOHelper.java
+++ /dev/null
@@ -1,683 +0,0 @@
-/***************************************************************************
- * Copyright (c) 2004-2006 Eike Stepper, Fuggerstr. 39, 10777 Berlin, Germany.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Eike Stepper - initial API and implementation
- **************************************************************************/
-package org.eclipse.net4j.util;
-
-
-import java.util.Date;
-import java.util.Random;
-import java.util.jar.JarEntry;
-import java.util.jar.JarOutputStream;
-import java.util.jar.Manifest;
-import java.util.zip.ZipEntry;
-import java.util.zip.ZipInputStream;
-import java.util.zip.ZipOutputStream;
-
-import java.io.BufferedInputStream;
-import java.io.BufferedOutputStream;
-import java.io.BufferedReader;
-import java.io.BufferedWriter;
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.FileOutputStream;
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.InputStreamReader;
-import java.io.OutputStream;
-import java.io.OutputStreamWriter;
-import java.io.PrintWriter;
-import java.io.Reader;
-import java.io.StringWriter;
-import java.io.Writer;
-
-import java.text.SimpleDateFormat;
-
-
-public class IOHelper
-{
- public static String currentDirectory()
- {
- String path = new File(".").getAbsolutePath();
- return path.substring(0, path.length() - 2);
- }
-
- /**
- * Random number generator to make unique file name
- */
- private static final Random RANDOM_GEN = new Random(System.currentTimeMillis());
-
- /**
- * Get a <code>BufferedInputStream</code>.
- */
- public static BufferedInputStream getBufferedInputStream(InputStream in)
- {
- BufferedInputStream bin = null;
- if (in instanceof java.io.BufferedInputStream)
- {
- bin = (BufferedInputStream) in;
- }
- else
- {
- bin = new BufferedInputStream(in);
- }
- return bin;
- }
-
- /**
- * Get a <code>BufferedOutputStream</code>.
- */
- public static BufferedOutputStream getBufferedOutputStream(OutputStream out)
- {
- BufferedOutputStream bout = null;
- if (out instanceof java.io.BufferedOutputStream)
- {
- bout = (BufferedOutputStream) out;
- }
- else
- {
- bout = new BufferedOutputStream(out);
- }
- return bout;
- }
-
- /**
- * Get <code>BufferedReader</code>.
- */
- public static BufferedReader getBufferedReader(Reader rd)
- {
- if (rd instanceof java.io.BufferedReader)
- {
- return (BufferedReader) rd;
- }
- else
- {
- return new BufferedReader(rd);
- }
- }
-
- /**
- * Get <code>BufferedWriter</code>.
- */
- public static BufferedWriter getBufferedWriter(Writer wr)
- {
- BufferedWriter bw = null;
- if (wr instanceof java.io.BufferedWriter)
- {
- bw = (BufferedWriter) wr;
- }
- else
- {
- bw = new BufferedWriter(wr);
- }
- return bw;
- }
-
- /**
- * Get unique file object.
- */
- public static File getUniqueFile(File oldFile)
- {
- File newFile = oldFile;
-
- while (true)
- {
- if (!newFile.exists())
- {
- break;
- }
-
- newFile = new File(oldFile.getAbsolutePath() + '.' + Math.abs(RANDOM_GEN.nextLong()));
- }
- return newFile;
- }
-
- /**
- * No exception <code>InputStream</code> close method.
- */
- public static void close(InputStream is)
- {
- if (is != null)
- {
- try
- {
- is.close();
- }
- catch (Exception ignore)
- {
- ignore.printStackTrace();
- }
- }
- }
-
- /**
- * No exception <code>OutputStream</code> close method.
- */
- public static void close(OutputStream os)
- {
- if (os != null)
- {
- try
- {
- os.close();
- }
- catch (Exception ignore)
- {
- ignore.printStackTrace();
- }
- }
- }
-
- /**
- * No exception <code>java.io.Reader</code> close method.
- */
- public static void close(Reader rd)
- {
- if (rd != null)
- {
- try
- {
- rd.close();
- }
- catch (Exception ignore)
- {
- ignore.printStackTrace();
- }
- }
- }
-
- /**
- * No exception <code>java.io.Writer</code> close method.
- */
- public static void close(Writer wr)
- {
- if (wr != null)
- {
- try
- {
- wr.close();
- }
- catch (Exception ignore)
- {
- ignore.printStackTrace();
- }
- }
- }
-
- /**
- * Get exception stack trace.
- */
- public static String getStackTrace(Throwable ex)
- {
- String result = "";
- try
- {
- StringWriter sw = new StringWriter();
- PrintWriter pw = new PrintWriter(sw);
- ex.printStackTrace(pw);
- pw.close();
- sw.close();
- result = sw.toString();
- }
- catch (Exception e)
- {
- e.printStackTrace();
- }
- return result;
- }
-
- /**
- * Copy chars from a <code>Reader</code> to a <code>Writer</code>.
- *
- * @param bufferSize
- * Size of internal buffer to use.
- */
- public static void copy(Reader input, Writer output, int bufferSize) throws IOException
- {
- char buffer[] = new char[bufferSize];
- int n = 0;
-
- while ((n = input.read(buffer)) != -1)
- {
- output.write(buffer, 0, n);
- }
- }
-
- public static void copy(InputStream input, OutputStream output, byte buffer[]) throws IOException
- {
- int n = 0;
-
- while ((n = input.read(buffer)) != -1)
- {
- output.write(buffer, 0, n);
- }
- }
-
- public static void copy(InputStream input, OutputStream output, int bufferSize)
- throws IOException
- {
- copy(input, output, new byte[bufferSize]);
- }
-
- public static void copy(InputStream input, OutputStream output) throws IOException
- {
- copy(input, output, 4096);
- }
-
- public static void copy(File input, File output) throws IOException
- {
- FileInputStream fis = null;
- FileOutputStream fos = null;
-
- try
- {
- fis = new FileInputStream(input);
- fos = new FileOutputStream(output);
-
- copy(fis, fos);
- }
- finally
- {
- close(fis);
- close(fos);
- }
- }
-
- /**
- * Read fully from reader
- */
- public static String readFully(Reader reader) throws IOException
- {
- StringWriter writer = new StringWriter();
- copy(reader, writer, 1024);
- return writer.toString();
- }
-
- /**
- * Read fully from stream
- */
- public static String readFully(InputStream input) throws IOException
- {
- InputStreamReader reader = new InputStreamReader(input);
- return readFully(reader);
- }
-
- /**
- * Read fully from file
- */
- public static String readFully(File file) throws IOException
- {
- FileInputStream stream = null;
-
- try
- {
- stream = new FileInputStream(file);
- return readFully(stream);
- }
- finally
- {
- close(stream);
- }
- }
-
- public static void log(String message)
- {
- log(message, null);
- }
-
- public static void log(String message, Throwable t)
- {
- PrintWriter writer = null;
-
- try
- {
- writer = new PrintWriter(new OutputStreamWriter(new FileOutputStream("log.txt", true)));
- writer.println(new SimpleDateFormat().format(new Date()) + " " + message);
-
- if (t != null)
- {
- t.printStackTrace(writer);
- }
- }
- catch (Exception ignore)
- {
- }
- finally
- {
- if (writer != null)
- {
- try
- {
- writer.close();
- }
- catch (Exception ignore)
- {
- }
- }
- }
- }
-
- public static File createTempFolder() throws IOException
- {
- return createTempFolder("tmp");
- }
-
- public static File createTempFolder(String prefix) throws IOException
- {
- return createTempFolder(prefix, "");
- }
-
- public static File createTempFolder(String prefix, String suffix) throws IOException
- {
- return createTempFolder(prefix, suffix, null);
- }
-
- public static File createTempFolder(String prefix, String suffix, File directory)
- throws IOException
- {
- File tmp = File.createTempFile(prefix, suffix, directory);
- String tmpPath = tmp.getAbsolutePath();
- tmp.delete();
- tmp = new File(tmpPath);
- tmp.mkdirs();
- return tmp;
- }
-
- public static void zip(File source, File target)
- {
- zip(source, target, false);
- }
-
- public static void zip(File source, File target, boolean excludeRoot)
- {
- ZipOutputStream zos = null;
-
- try
- {
- File root = excludeRoot ? source : source.getParentFile();
- int prefixLength = root.getAbsolutePath().length() + (excludeRoot ? 1 : 0);
-
- zos = new ZipOutputStream(new FileOutputStream(target));
- zipRecurse(source, prefixLength, zos);
- zos.flush();
- }
- catch (IOException ex)
- {
- throw new UnderlyingIOException("Error while jaring " + source + " to " + target, ex);
- }
- finally
- {
- close(zos);
- }
- }
-
- public static void unzip(String zipFilePath, String targetPath)
- {
- final int BUFFER = 4096;
- byte data[] = new byte[BUFFER];
- int count;
-
- BufferedOutputStream dest = null;
- ZipInputStream zis = null;
-
- try
- {
- new File(targetPath).mkdirs();
-
- FileInputStream fis = new FileInputStream(zipFilePath);
- zis = new ZipInputStream(new BufferedInputStream(fis));
- ZipEntry entry;
-
- while ((entry = zis.getNextEntry()) != null)
- {
- File path = new File(targetPath, entry.getName());
- if (entry.isDirectory())
- {
- path.mkdirs();
- }
- else
- {
- path.getParentFile().mkdirs();
- FileOutputStream fos = new FileOutputStream(path);
- dest = new BufferedOutputStream(fos, BUFFER);
-
- while ((count = zis.read(data, 0, BUFFER)) != -1)
- {
- dest.write(data, 0, count);
- }
-
- dest.flush();
- dest.close();
- dest = null;
- }
- }
- }
- catch (IOException ex)
- {
- throw new UnderlyingIOException("Error while unzipping " + zipFilePath + " to " + targetPath,
- ex);
- }
- finally
- {
- IOHelper.close(dest);
- IOHelper.close(zis);
- }
- }
-
- public static void jar(File source, File target)
- {
- jar(source, target, false);
- }
-
- public static void jar(File source, File target, boolean excludeRoot)
- {
- FileOutputStream fos = null;
- JarOutputStream jos = null;
-
- try
- {
- Manifest manifest = null;
- File metainfFolder = new File(source, "META-INF");
- File manifestFile = metainfFolder.exists() ? new File(metainfFolder, "MANIFEST.MF") : null;
-
- if (manifestFile == null)
- {
- manifest = new Manifest();
- }
- else
- {
- FileInputStream fis = null;
-
- try
- {
- fis = new FileInputStream(manifestFile);
- manifest = new Manifest(fis);
- }
- catch (IOException ex)
- {
- throw ex;
- }
- finally
- {
- close(fis);
- }
- }
-
- File root = excludeRoot ? source : source.getParentFile();
- int prefixLength = root.getAbsolutePath().length() + 1;
-
- fos = new FileOutputStream(target);
- jos = new JarOutputStream(fos, manifest);
- jarRecurse(source, prefixLength, jos);
- jos.flush();
- }
- catch (IOException ex)
- {
- throw new UnderlyingIOException("Error while jaring " + source + " to " + target, ex);
- }
- finally
- {
- close(jos);
- close(fos);
- }
- }
-
- /**
- *
- * @param file
- * @param impliedPrefix
- * @param jos
- * @throws IOException
- */
-
- public static long diskUsage(File file)
- {
- if (file.isFile())
- {
- return file.length();
- }
- else if (file.isDirectory())
- {
- long usage = 0;
- File[] children = file.listFiles();
-
- for (int i = 0; i < children.length; i++)
- {
- File child = children[i];
- usage += diskUsage(child);
- }
-
- return usage;
- }
-
- return 0;
- }
-
- public static int deleteFile(File file)
- {
- if (file == null)
- {
- return 0;
- }
-
- int deleted = 0;
-
- if (file.isDirectory())
- {
- File[] children = file.listFiles();
- for (int i = 0; i < children.length; i++)
- {
- File child = children[i];
- deleted += deleteFile(child);
- }
- }
-
- return deleted + (file.delete() ? 1 : 0);
- }
-
- private static void zipRecurse(File file, int prefixLength, ZipOutputStream zos)
- throws IOException
- {
- ZipEntry entry = null;
-
- try
- {
- String name = file.getAbsolutePath() + (file.isDirectory() ? "/" : "");
- name = name.substring(prefixLength);
-
- if (name.length() > 0)
- {
- entry = new ZipEntry(name);
- zos.putNextEntry(entry);
-
- if (file.isFile())
- {
- FileInputStream fis = null;
-
- try
- {
- fis = new FileInputStream(file);
- copy(fis, zos, 4096);
- }
- finally
- {
- close(fis);
- }
- }
- }
- }
- finally
- {
- if (entry != null)
- {
- zos.closeEntry();
- }
- }
-
- if (file.isDirectory())
- {
- File[] children = file.listFiles();
- for (int i = 0; i < children.length; i++)
- {
- File child = children[i];
- zipRecurse(child, prefixLength, zos);
- }
- }
- }
-
- private static void jarRecurse(File file, int prefixLength, JarOutputStream jos)
- throws IOException
- {
- JarEntry entry = null;
-
- try
- {
- String name = file.getAbsolutePath() + (file.isDirectory() ? "/" : "");
- name = name.substring(prefixLength);
-
- if (name.length() > 0)
- {
- if (file.isFile() && !name.replace('\\', '/').equals("META-INF/MANIFEST.MF"))
- {
- entry = new JarEntry(name);
- jos.putNextEntry(entry);
-
- FileInputStream fis = null;
-
- try
- {
- fis = new FileInputStream(file);
- copy(fis, jos, 4096);
- }
- finally
- {
- close(fis);
- }
- }
- }
- }
- finally
- {
- if (entry != null)
- {
- jos.closeEntry();
- }
- }
-
- if (file.isDirectory())
- {
- File[] children = file.listFiles();
- for (int i = 0; i < children.length; i++)
- {
- File child = children[i];
- jarRecurse(child, prefixLength, jos);
- }
- }
- }
-}
diff --git a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/ImplementationError.java b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/ImplementationError.java
deleted file mode 100644
index 926f579..0000000
--- a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/ImplementationError.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/***************************************************************************
- * Copyright (c) 2004-2006 Eike Stepper, Fuggerstr. 39, 10777 Berlin, Germany.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Eike Stepper - initial API and implementation
- **************************************************************************/
-package org.eclipse.net4j.util;
-
-
-public class ImplementationError extends Net4jException
-{
-
- /**
- *
- */
- private static final long serialVersionUID = 3256718498427318836L;
-
- public ImplementationError()
- {
- super();
- }
-
- public ImplementationError(String arg0)
- {
- super(arg0);
- }
-
- public ImplementationError(Throwable arg0)
- {
- super(arg0);
- }
-
- public ImplementationError(String arg0, Throwable arg1)
- {
- super(arg0, arg1);
- }
-
-}
diff --git a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/MathHelper.java b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/MathHelper.java
deleted file mode 100644
index c602af0..0000000
--- a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/MathHelper.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/***************************************************************************
- * Copyright (c) 2004-2006 Eike Stepper, Fuggerstr. 39, 10777 Berlin, Germany.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Eike Stepper - initial API and implementation
- **************************************************************************/
-package org.eclipse.net4j.util;
-
-
-public class MathHelper
-{
-
- public static boolean isPrime(int number)
- {
- if (number % 2 == 0)
- {
- return false;
- }
- else
- {
- int max = (int) Math.floor(Math.sqrt(number));
- for (int i = 3; i <= max; i += 2)
- {
- if (number % i == 0)
- {
- return false;
- }
- }
- }
-
- return true;
- }
-
- public static int getPrime(int min)
- {
- while (!isPrime(min))
- {
- ++min;
- }
-
- return min;
- }
-
-}
diff --git a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/Net4jException.java b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/Net4jException.java
deleted file mode 100644
index 698f722..0000000
--- a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/Net4jException.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/***************************************************************************
- * Copyright (c) 2004-2006 Eike Stepper, Fuggerstr. 39, 10777 Berlin, Germany.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Eike Stepper - initial API and implementation
- **************************************************************************/
-package org.eclipse.net4j.util;
-
-
-public class Net4jException extends RuntimeException
-{
- /**
- *
- */
- private static final long serialVersionUID = 3978703987010976050L;
-
- /**
- *
- */
- public Net4jException()
- {
- super();
- }
-
- /**
- * @param message
- */
- public Net4jException(String message)
- {
- super(message);
- }
-
- /**
- * @param cause
- */
- public Net4jException(Throwable cause)
- {
- super(cause);
- }
-
- /**
- * @param message
- * @param cause
- */
- public Net4jException(String message, Throwable cause)
- {
- super(message, cause);
- }
-}
diff --git a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/Net4jUtilPlugin.java b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/Net4jUtilPlugin.java
deleted file mode 100644
index e847def..0000000
--- a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/Net4jUtilPlugin.java
+++ /dev/null
@@ -1,75 +0,0 @@
-/***************************************************************************
- * Copyright (c) 2004-2006 Eike Stepper, Fuggerstr. 39, 10777 Berlin, Germany.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Eike Stepper - initial API and implementation
- **************************************************************************/
-package org.eclipse.net4j.util;
-
-
-import org.eclipse.net4j.util.eclipse.AbstractPlugin;
-
-import org.eclipse.core.runtime.FileLocator;
-
-import org.apache.log4j.Logger;
-import org.apache.log4j.xml.DOMConfigurator;
-
-import java.net.URL;
-
-
-public class Net4jUtilPlugin extends AbstractPlugin
-{
- //The shared instance.
- private static Net4jUtilPlugin plugin;
-
- /**
- * The constructor.
- */
- public Net4jUtilPlugin()
- {
- if (plugin == null) plugin = this;
- }
-
- public void doStart() throws Exception
- {
- initializeLogger();
- }
-
- protected void doStop() throws Exception
- {
- plugin = null;
- }
-
- /**
- * Returns the shared instance.
- */
- public static Net4jUtilPlugin getDefault()
- {
- return plugin;
- }
-
- private void initializeLogger()
- {
- try
- {
- URL pluginURL = getBundle().getEntry("/config/log4j.xml");
- URL absoluteURL = FileLocator.toFileURL(pluginURL);
-
- DOMConfigurator.configure(absoluteURL);
- }
- catch (Exception ex)
- {
- IOHelper.log("Warning: Initialization of Log4j failed", ex);
- }
-
- Logger logger = Logger.getLogger(Net4jUtilPlugin.class);
- if (logger.isDebugEnabled())
- {
- logger.debug("Log4j initialized");
- }
- }
-}
diff --git a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/Pair.java b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/Pair.java
deleted file mode 100644
index 97329af..0000000
--- a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/Pair.java
+++ /dev/null
@@ -1,65 +0,0 @@
-/***************************************************************************
- * Copyright (c) 2004-2006 Eike Stepper, Fuggerstr. 39, 10777 Berlin, Germany.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Eike Stepper - initial API and implementation
- **************************************************************************/
-package org.eclipse.net4j.util;
-
-
-public final class Pair<T1, T2>
-{
- private final T1 first;
-
- private final T2 second;
-
- public Pair(T1 first, T2 second)
- {
- this.first = first;
- this.second = second;
- }
-
- public T1 getFirst()
- {
- return first;
- }
-
- public T2 getSecond()
- {
- return second;
- }
-
- @Override
- public boolean equals(Object o)
- {
- if (!(o instanceof Pair)) return false;
- Pair that = (Pair) o;
-
- Object f1 = getFirst();
- Object f2 = that.getFirst();
- if (f1 == f2 || (f1 != null && f1.equals(f2)))
- {
- Object s1 = getSecond();
- Object s2 = that.getSecond();
- if (s1 == s2 || (s1 != null && s1.equals(s2))) return true;
- }
-
- return false;
- }
-
- @Override
- public int hashCode()
- {
- return (first == null ? 0 : first.hashCode()) ^ (second == null ? 0 : second.hashCode());
- }
-
- @Override
- public String toString()
- {
- return "Pair[" + first + ", " + second + "]";
- }
-}
diff --git a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/StringHelper.java b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/StringHelper.java
deleted file mode 100644
index 1e2c44e..0000000
--- a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/StringHelper.java
+++ /dev/null
@@ -1,578 +0,0 @@
-/***************************************************************************
- * Copyright (c) 2004-2006 Eike Stepper, Fuggerstr. 39, 10777 Berlin, Germany.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Eike Stepper - initial API and implementation
- **************************************************************************/
-package org.eclipse.net4j.util;
-
-
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Map;
-
-import java.nio.ByteBuffer;
-
-
-public class StringHelper
-{
-
- public static final char HEX_DIGITS[] = { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a',
- 'b', 'c', 'd', 'e', 'f',};
-
- public static final String UTF8_CHARS = " "
- + " !\"#$%&'()*+,-./0123456789:;<=>?" + "@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_"
- + "`abcdefghijklmnopqrstuvwxyz{|}~";
-
- public static final char SEPARATOR = '\n';
-
- /**
- * This method is used to insert HTML block dynamically
- *
- * @param source
- * the HTML code to be processes
- * @param bReplaceNl
- * if true '\n' will be replaced by <br>
- * @param bReplaceTag
- * if true ' <' will be replaced by &lt; and '>' will be replaced by &gt;
- * @param bReplaceQuote
- * if true '\"' will be replaced by &quot;
- */
- public static String formatHtml(String source, boolean bReplaceNl, boolean bReplaceTag,
- boolean bReplaceQuote)
- {
-
- StringBuffer sb = new StringBuffer();
- int len = source.length();
- for (int i = 0; i < len; i++)
- {
- char c = source.charAt(i);
- switch (c)
- {
- case '\"':
- if (bReplaceQuote)
- sb.append("&quot;");
- else
- sb.append(c);
- break;
-
- case '<':
- if (bReplaceTag)
- sb.append("&lt;");
- else
- sb.append(c);
- break;
-
- case '>':
- if (bReplaceTag)
- sb.append("&gt;");
- else
- sb.append(c);
- break;
-
- case '\n':
- if (bReplaceNl)
- {
- if (bReplaceTag)
- sb.append("&lt;br&gt;");
- else
- sb.append("<br>");
- }
- else
- {
- sb.append(c);
- }
- break;
-
- case '\r':
- break;
-
- case '&':
- sb.append("&amp;");
- break;
-
- default:
- sb.append(c);
- break;
- }
- }
- return sb.toString();
- }
-
- public static String getLastToken(String str, char separator)
- {
- int pos = str.lastIndexOf(separator);
- if (pos != -1)
- {
- str = str.substring(pos + 1);
- }
- return str;
- }
-
- public static String getSimpleClassName(Class<?> aClass)
- {
- return getSimpleClassName(aClass.getName());
- }
-
- public static String getSimpleClassName(String qualifiedClassName)
- {
- return getLastToken(qualifiedClassName, '.');
- }
-
- /**
- * Pad string object
- */
- public static String pad(String src, char padChar, boolean rightPad, int totalLength)
- {
-
- int srcLength = src.length();
- if (srcLength >= totalLength)
- {
- return src;
- }
-
- int padLength = totalLength - srcLength;
- StringBuffer sb = new StringBuffer(padLength);
- for (int i = 0; i < padLength; ++i)
- {
- sb.append(padChar);
- }
-
- if (rightPad)
- {
- return src + sb.toString();
- }
- else
- {
- return sb.toString() + src;
- }
- }
-
- public static String removePrefix(String str, String prefix)
- {
- if (str.startsWith(prefix))
- {
- return str.substring(prefix.length());
- }
- return str;
- }
-
- public static String removeSuffix(String str, String suffix)
- {
- if (str.endsWith(suffix))
- {
- return str.substring(0, str.length() - suffix.length());
- }
- return str;
- }
-
- /**
- * Replace string
- */
- public static String replaceString(String source, Map<?, ?> args)
- {
- int startIndex = 0;
- int openIndex = source.indexOf('{', startIndex);
- if (openIndex == -1)
- {
- return source;
- }
-
- int closeIndex = source.indexOf('}', startIndex);
- if ((closeIndex == -1) || (openIndex > closeIndex))
- {
- return source;
- }
-
- StringBuffer sb = new StringBuffer();
- sb.append(source.substring(startIndex, openIndex));
- while (true)
- {
- String key = source.substring(openIndex + 1, closeIndex);
- Object val = args.get(key);
- if (val != null)
- {
- sb.append(val);
- }
-
- startIndex = closeIndex + 1;
- openIndex = source.indexOf('{', startIndex);
- if (openIndex == -1)
- {
- sb.append(source.substring(startIndex));
- break;
- }
-
- closeIndex = source.indexOf('}', startIndex);
- if ((closeIndex == -1) || (openIndex > closeIndex))
- {
- sb.append(source.substring(startIndex));
- break;
- }
- sb.append(source.substring(startIndex, openIndex));
- }
- return sb.toString();
- }
-
- /**
- * Replace string
- */
- public static String replaceString(String source, Object[] args)
- {
- int startIndex = 0;
- int openIndex = source.indexOf('{', startIndex);
- if (openIndex == -1)
- {
- return source;
- }
-
- int closeIndex = source.indexOf('}', startIndex);
- if ((closeIndex == -1) || (openIndex > closeIndex))
- {
- return source;
- }
-
- StringBuffer sb = new StringBuffer();
- sb.append(source.substring(startIndex, openIndex));
- while (true)
- {
- String intStr = source.substring(openIndex + 1, closeIndex);
- int index = Integer.parseInt(intStr);
- sb.append(args[index]);
-
- startIndex = closeIndex + 1;
- openIndex = source.indexOf('{', startIndex);
- if (openIndex == -1)
- {
- sb.append(source.substring(startIndex));
- break;
- }
-
- closeIndex = source.indexOf('}', startIndex);
- if ((closeIndex == -1) || (openIndex > closeIndex))
- {
- sb.append(source.substring(startIndex));
- break;
- }
- sb.append(source.substring(startIndex, openIndex));
- }
- return sb.toString();
- }
-
- /**
- * This is a string replacement method.
- */
- public static String replaceString(String source, String oldStr, String newStr)
- {
- StringBuffer sb = new StringBuffer(source.length());
- int sind = 0;
- int cind = 0;
- while ((cind = source.indexOf(oldStr, sind)) != -1)
- {
- sb.append(source.substring(sind, cind));
- sb.append(newStr);
- sind = cind + oldStr.length();
- }
- sb.append(source.substring(sind));
- return sb.toString();
- }
-
- public static String replaceWildcards(String source, String param, Object[] args)
- {
- String tmp = source;
- for (int i = 0; i < args.length; i++)
- {
- int pos = tmp.indexOf(param);
- if (pos == -1)
- throw new IllegalArgumentException("source '" + source + "' must contain at least "
- + args.length + " params '" + param + "'");
-
- String arg = args[i] == null ? "null" : args[i].toString();
- tmp = tmp.substring(0, pos) + arg + tmp.substring(pos + 1);
- }
- return tmp;
- }
-
- /**
- * Get byte array from hex string
- */
- public static byte[] toByteArray(String hexString)
- {
- int arrLength = hexString.length() >> 1;
- byte buff[] = new byte[arrLength];
- for (int i = 0; i < arrLength; i++)
- {
- int index = i << 1;
- String digit = hexString.substring(index, index + 2);
- buff[i] = (byte) Integer.parseInt(digit, 16);
- }
- return buff;
- }
-
- /**
- * Append hex string from byte to StringBuffer
- */
- public static void appendHexString(StringBuffer buffer, byte data)
- {
- int positive = data < 0 ? ~data : data;
- buffer.append(HEX_DIGITS[positive >> 4]);
- buffer.append(HEX_DIGITS[positive & 0xf]);
- }
-
- /**
- * Get hex string from byte
- */
- public static String toHexString(byte data)
- {
- StringBuffer buffer = new StringBuffer();
- appendHexString(buffer, data);
- return buffer.toString();
- }
-
- /**
- * Get hex string from byte array
- */
- public static String toHexString(byte[] data)
- {
- StringBuffer buffer = new StringBuffer();
- for (int i = 0; i < data.length; i++)
- {
- appendHexString(buffer, data[i]);
- buffer.append(' ');
- }
-
- return buffer.toString();
- }
-
- public static String toHexString(ByteBuffer buffer)
- {
- StringBuffer line = new StringBuffer();
-
- while (buffer.hasRemaining())
- {
- byte dec = buffer.get();
- StringHelper.appendHexString(line, dec);
- line.append(' ');
- }
-
- return line.toString();
- }
-
- /**
- * Append hex string from byte to StringBuffer
- */
- public static void appendUTF8String(StringBuffer buffer, byte data, boolean flat)
- {
- if (32 <= data && data < 127)
- {
- char c = UTF8_CHARS.charAt(data);
- buffer.append(c);
- }
- else
- {
- if (!flat)
- {
- buffer.append(".");
- }
- }
- }
-
- /**
- * Get hex string from byte
- */
- public static String toUTF8String(byte data, boolean flat)
- {
- StringBuffer buffer = new StringBuffer();
- appendUTF8String(buffer, data, flat);
- return buffer.toString();
- }
-
- /**
- * Get hex string from byte array
- */
- public static String toUTF8String(byte[] data, boolean flat)
- {
- StringBuffer buffer = new StringBuffer();
- for (int i = 0; i < data.length; i++)
- {
- appendUTF8String(buffer, data[i], flat);
- }
-
- return buffer.toString();
- }
-
- public static String toUTF8String(ByteBuffer buffer, boolean flat)
- {
- StringBuffer line = new StringBuffer();
-
- while (buffer.hasRemaining())
- {
- byte dec = buffer.get();
- StringHelper.appendUTF8String(line, dec, flat);
- }
-
- return line.toString();
- }
-
- public static boolean parseBoolean(String str) throws NumberFormatException
- {
- if (str.equals("true")) return true;
- if (str.equals("false")) return false;
- throw new NumberFormatException("'" + str + "' is neither 'true' nor 'false'");
- }
-
- public static String implode(Collection<?> collection, String separator)
- {
- if (collection == null) return null;
- if (collection.size() == 0) return "";
-
- Iterator<?> iter = collection.iterator();
- StringBuffer result = new StringBuffer(iter.next().toString());
-
- while (iter.hasNext())
- {
- if (separator != null) result.append(separator);
- result.append(iter.next().toString());
- }
-
- return result.toString();
- }
-
- public static String implode(Object[] array, String separator)
- {
- if (array == null) return null;
- if (array.length == 0) return "";
-
- StringBuffer result = new StringBuffer(array[0].toString());
-
- for (int i = 1; i < array.length; i++)
- {
- if (separator != null) result.append(separator);
- result.append(array[i].toString());
- }
-
- return result.toString();
- }
-
- public static int getChoice(String str, String[] choices)
- {
- if (choices == null) throw new IllegalArgumentException("choices should be non-null");
-
- for (int i = 0; i < choices.length; i++)
- {
- if ((str == null && choices[i] == null) || str.equals(choices[i]))
- {
- return i;
- }
- }
-
- return -1;
- }
-
- public static List<String> parseName(String name, char separator)
- {
- List<String> result = new ArrayList<String>();
- StringBuffer currentWord = new StringBuffer();
-
- int length = name.length();
- boolean lastIsLower = false;
-
- for (int index = 0; index < length; index++)
- {
- char curChar = name.charAt(index);
- if (Character.isUpperCase(curChar) || (!lastIsLower && Character.isDigit(curChar))
- || curChar == separator)
- {
- if (lastIsLower || curChar == separator)
- {
- result.add(currentWord.toString());
- currentWord = new StringBuffer();
- }
- lastIsLower = false;
- }
- else
- {
- if (!lastIsLower)
- {
- int currentWordLength = currentWord.length();
- if (currentWordLength > 1)
- {
- char lastChar = currentWord.charAt(--currentWordLength);
- currentWord.setLength(currentWordLength);
- result.add(currentWord.toString());
- currentWord = new StringBuffer();
- currentWord.append(lastChar);
- }
- }
- lastIsLower = true;
- }
- if (curChar != separator)
- {
- currentWord.append(curChar);
- }
- }
-
- result.add(currentWord.toString());
- return result;
- }
-
- /**
- * @param text
- */
- public static String firstToLower(String text)
- {
- if (text == null || text.length() == 0) return text;
- if (Character.isUpperCase(text.charAt(0)))
- {
- return text.substring(0, 1).toLowerCase() + text.substring(1);
- }
- return text;
- }
-
- /**
- * @param text
- */
- public static String firstToUpper(String text)
- {
- if (text == null || text.length() == 0) return text;
- if (Character.isLowerCase(text.charAt(0)))
- {
- return text.substring(0, 1).toUpperCase() + text.substring(1);
- }
- return text;
- }
-
- public static int toInt(String intValue, int defaultValue)
- {
- try
- {
- return Integer.valueOf(intValue).intValue();
- }
- catch (Exception e)
- {
- return defaultValue;
- }
- }
-
- public static boolean equals(Object obj1, Object obj2)
- {
- if (obj1 == null) return obj2 == null;
- return obj1.equals(obj2);
- }
-
- public static String formatNull(String str, String nullReplacement)
- {
- return str == null ? nullReplacement : str;
- }
-
- public static String toNonNull(String str)
- {
- return formatNull(str, "");
- }
-}
diff --git a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/ThreadInterruptedException.java b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/ThreadInterruptedException.java
deleted file mode 100644
index f04cb12..0000000
--- a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/ThreadInterruptedException.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/***************************************************************************
- * Copyright (c) 2004-2006 Eike Stepper, Fuggerstr. 39, 10777 Berlin, Germany.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Eike Stepper - initial API and implementation
- **************************************************************************/
-package org.eclipse.net4j.util;
-
-
-public class ThreadInterruptedException extends Net4jException
-{
- /**
- *
- */
- private static final long serialVersionUID = 3256443603340244792L;
-
- /**
- *
- */
- public ThreadInterruptedException()
- {
- super();
- }
-
- /**
- * @param message
- */
- public ThreadInterruptedException(String message)
- {
- super(message);
- }
-
- /**
- * @param cause
- */
- public ThreadInterruptedException(Throwable cause)
- {
- super(cause);
- }
-
- /**
- * @param message
- * @param cause
- */
- public ThreadInterruptedException(String message, Throwable cause)
- {
- super(message, cause);
- }
-}
diff --git a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/TimeOutException.java b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/TimeOutException.java
deleted file mode 100644
index 1119824..0000000
--- a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/TimeOutException.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/***************************************************************************
- * Copyright (c) 2004-2006 Eike Stepper, Fuggerstr. 39, 10777 Berlin, Germany.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Eike Stepper - initial API and implementation
- **************************************************************************/
-package org.eclipse.net4j.util;
-
-
-public class TimeOutException extends Net4jException
-{
- /**
- *
- */
- private static final long serialVersionUID = 3977295508371158066L;
-
- /**
- *
- */
- public TimeOutException()
- {
- super();
- }
-
- /**
- * @param message
- */
- public TimeOutException(String message)
- {
- super(message);
- }
-
- /**
- * @param cause
- */
- public TimeOutException(Throwable cause)
- {
- super(cause);
- }
-
- /**
- * @param message
- * @param cause
- */
- public TimeOutException(String message, Throwable cause)
- {
- super(message, cause);
- }
-}
diff --git a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/UnderlyingIOException.java b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/UnderlyingIOException.java
deleted file mode 100644
index b2306e9..0000000
--- a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/UnderlyingIOException.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/***************************************************************************
- * Copyright (c) 2004-2006 Eike Stepper, Fuggerstr. 39, 10777 Berlin, Germany.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Eike Stepper - initial API and implementation
- **************************************************************************/
-package org.eclipse.net4j.util;
-
-
-public class UnderlyingIOException extends Net4jException
-{
- /**
- *
- */
- private static final long serialVersionUID = 3833179220800386871L;
-
- /**
- *
- */
- public UnderlyingIOException()
- {
- super();
- }
-
- /**
- * @param message
- */
- public UnderlyingIOException(String message)
- {
- super(message);
- }
-
- /**
- * @param cause
- */
- public UnderlyingIOException(Throwable cause)
- {
- super(cause);
- }
-
- /**
- * @param message
- * @param cause
- */
- public UnderlyingIOException(String message, Throwable cause)
- {
- super(message, cause);
- }
-}
diff --git a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/eclipse/AbstractPlugin.java b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/eclipse/AbstractPlugin.java
deleted file mode 100644
index 3c404ce..0000000
--- a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/eclipse/AbstractPlugin.java
+++ /dev/null
@@ -1,263 +0,0 @@
-/***************************************************************************
- * Copyright (c) 2004-2006 Eike Stepper, Fuggerstr. 39, 10777 Berlin, Germany.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Eike Stepper - initial API and implementation
- **************************************************************************/
-package org.eclipse.net4j.util.eclipse;
-
-
-import org.eclipse.core.runtime.FileLocator;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.NullProgressMonitor;
-import org.eclipse.core.runtime.OperationCanceledException;
-import org.eclipse.core.runtime.Plugin;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.core.runtime.SubProgressMonitor;
-
-import org.apache.log4j.Logger;
-
-import org.osgi.framework.Bundle;
-import org.osgi.framework.BundleContext;
-
-import java.util.MissingResourceException;
-import java.util.ResourceBundle;
-
-import java.io.IOException;
-
-import java.net.URL;
-
-
-/**
- * The main plugin class to be used in the desktop.
- */
-public abstract class AbstractPlugin extends Plugin implements ClassLoaderFactory
-{
- /**
- * Logger for this class
- */
- private final Logger logger = Logger.getLogger(getClass());
-
- private String pluginId;
-
- private ResourceBundle resourceBundle;
-
- private BundleContext bundleContext;
-
- /**
- * The constructor.
- */
- protected AbstractPlugin()
- {
- }
-
- public String getPluginId()
- {
- return pluginId;
- }
-
- public ClassLoader getClassLoader()
- {
- return getClass().getClassLoader();
- }
-
- public Logger getLogger()
- {
- return logger;
- }
-
- /**
- * This method is called upon plug-in activation
- */
- public void start(BundleContext context) throws Exception
- {
- super.start(context);
- bundleContext = context;
- pluginId = context.getBundle().getSymbolicName();
-
- try
- {
- if (resourceBundle == null)
- {
- try
- {
- resourceBundle = ResourceBundle.getBundle(pluginId);
- }
- catch (MissingResourceException x)
- {
- resourceBundle = null;
- }
- }
-
- if (logger.isDebugEnabled()) logger.debug("ENTER STARTUP");
- doStart();
- }
- catch (Throwable t)
- {
- logger.error("Startup error", t);
- }
- finally
- {
- if (logger.isDebugEnabled()) logger.debug("EXIT STARTUP");
- }
- }
-
- /**
- * This method is called upon plug-in deactivation
- */
- public void stop(BundleContext context) throws Exception
- {
- try
- {
- if (logger.isDebugEnabled()) logger.debug("ENTER SHUTDOWN");
- doStop();
- }
- catch (Throwable t)
- {
- logger.error("Shutdown error", t);
- }
- finally
- {
- if (logger.isDebugEnabled()) logger.debug("EXIT SHUTDOWN");
- }
-
- super.stop(context);
- resourceBundle = null;
- }
-
- /**
- *
- */
- protected void doStart() throws Exception
- {
- }
-
- /**
- *
- */
- protected void doStop() throws Exception
- {
- }
-
- /**
- * Returns the string from the plugin's resource bundle,
- * or 'key' if not found.
- */
- public String getResourceString(String key)
- {
- ResourceBundle bundle = getResourceBundle();
-
- try
- {
- return (bundle != null) ? bundle.getString(key) : key;
- }
- catch (MissingResourceException e)
- {
- return key;
- }
- }
-
- /**
- * Returns the plugin's resource bundle,
- */
- public ResourceBundle getResourceBundle()
- {
- return resourceBundle;
- }
-
- /**
- * @return Returns the bundleContext.
- */
- public BundleContext getBundleContext()
- {
- return bundleContext;
- }
-
- public String getBundleLocation() throws IOException
- {
- Bundle bundle = bundleContext.getBundle();
- return getBundleLocation(bundle);
- }
-
- /**
- * Progress monitor helpers
- */
- public static void checkCanceled(IProgressMonitor monitor)
- {
- if (monitor.isCanceled()) cancelOperation();
- }
-
- public static void cancelOperation()
- {
- throw new OperationCanceledException();
- }
-
- public static IProgressMonitor monitorFor(IProgressMonitor monitor)
- {
- if (monitor == null) return new NullProgressMonitor();
- return monitor;
- }
-
- public static IProgressMonitor subMonitorFor(IProgressMonitor monitor, int ticks)
- {
- if (monitor == null) return new NullProgressMonitor();
- if (monitor instanceof NullProgressMonitor) return monitor;
- return new SubProgressMonitor(monitor, ticks);
- }
-
- public static IProgressMonitor subMonitorFor(IProgressMonitor monitor, int ticks, int style)
- {
- if (monitor == null) return new NullProgressMonitor();
- if (monitor instanceof NullProgressMonitor) return monitor;
- return new SubProgressMonitor(monitor, ticks, style);
- }
-
- public static String getBundleLocation(Bundle bundle) throws IOException
- {
- URL url = bundle.getEntry("/");
- return FileLocator.toFileURL(url).getFile();
- }
-
- public void debug(String message)
- {
- logger.debug(message);
- getLog().log(new Status(IStatus.INFO, pluginId, IStatus.OK, message, null));
- }
-
- public void warn(String message)
- {
- warn(message, null);
- }
-
- public void error(String message)
- {
- error(message, null);
- }
-
- public void warn(Throwable t)
- {
- warn(t.getMessage(), t);
- }
-
- public void error(Throwable t)
- {
- error(t.getMessage(), t);
- }
-
- public void warn(String message, Throwable t)
- {
- logger.warn(message, t);
- getLog().log(new Status(IStatus.WARNING, pluginId, IStatus.OK, message, t));
- }
-
- public void error(String message, Throwable t)
- {
- logger.error(message, t);
- getLog().log(new Status(IStatus.ERROR, pluginId, IStatus.OK, message, t));
- }
-}
diff --git a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/eclipse/ClassLoaderFactory.java b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/eclipse/ClassLoaderFactory.java
deleted file mode 100644
index 39a7e7f..0000000
--- a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/eclipse/ClassLoaderFactory.java
+++ /dev/null
@@ -1,17 +0,0 @@
-/***************************************************************************
- * Copyright (c) 2004-2006 Eike Stepper, Fuggerstr. 39, 10777 Berlin, Germany.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Eike Stepper - initial API and implementation
- **************************************************************************/
-package org.eclipse.net4j.util.eclipse;
-
-
-public interface ClassLoaderFactory
-{
- public ClassLoader getClassLoader();
-}
diff --git a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/eclipse/Element.java b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/eclipse/Element.java
deleted file mode 100644
index 6bdbb32..0000000
--- a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/eclipse/Element.java
+++ /dev/null
@@ -1,72 +0,0 @@
-/***************************************************************************
- * Copyright (c) 2004-2006 Eike Stepper, Fuggerstr. 39, 10777 Berlin, Germany.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Eike Stepper - initial API and implementation
- **************************************************************************/
-package org.eclipse.net4j.util.eclipse;
-
-
-import org.eclipse.net4j.util.BeanHelper;
-
-import org.eclipse.core.runtime.IConfigurationElement;
-import org.eclipse.core.runtime.IExtension;
-
-
-public class Element extends BeanHelper
-{
- protected IConfigurationElement configurationElement;
-
- public Element()
- {
- }
-
- public void internalSetConfigurationElement(IConfigurationElement configurationElement)
- {
- this.configurationElement = configurationElement;
- }
-
- public void validate(ExtensionParser parser)
- {
- }
-
- public IConfigurationElement configurationElement()
- {
- return configurationElement;
- }
-
- public IExtension declaringExtension()
- {
- return configurationElement.getDeclaringExtension();
- }
-
- public String name()
- {
- return configurationElement.getName();
- }
-
- public void dispatchChild(String name, Object value)
- {
- dispatchChild(this, name, value);
- }
-
- public void dispatchAttributeValue(String name, String value)
- {
- dispatchAttributeValue(this, name, value);
- }
-
- protected String executableExtensionPropertyName()
- {
- return "className";
- }
-
-
- public interface Factory
- {
- public Element createElementData();
- }
-}
diff --git a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/eclipse/ElementRegistry.java b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/eclipse/ElementRegistry.java
deleted file mode 100644
index c779631..0000000
--- a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/eclipse/ElementRegistry.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/***************************************************************************
- * Copyright (c) 2004-2006 Eike Stepper, Fuggerstr. 39, 10777 Berlin, Germany.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Eike Stepper - initial API and implementation
- **************************************************************************/
-package org.eclipse.net4j.util.eclipse;
-
-
-import java.util.HashMap;
-import java.util.Map;
-
-
-public class ElementRegistry extends HashMap
-{
- /**
- *
- */
- private static final long serialVersionUID = 3762810506670847288L;
-
- public ElementRegistry()
- {
- super();
- }
-
- public ElementRegistry(int initialCapacity)
- {
- super(initialCapacity);
- }
-
- public ElementRegistry(int initialCapacity, float loadFactor)
- {
- super(initialCapacity, loadFactor);
- }
-
- public ElementRegistry(Map m)
- {
- super(m);
- }
-
- public Object put(Item value)
- {
- Object key = value.registryKey();
- return super.put(key, value);
- }
-
-
- public interface Item
- {
- public Object registryKey();
- }
-}
diff --git a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/eclipse/ExamplePlugin.java b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/eclipse/ExamplePlugin.java
deleted file mode 100644
index 6044138..0000000
--- a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/eclipse/ExamplePlugin.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/***************************************************************************
- * Copyright (c) 2004-2006 Eike Stepper, Fuggerstr. 39, 10777 Berlin, Germany.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Eike Stepper - initial API and implementation
- **************************************************************************/
-package org.eclipse.net4j.util.eclipse;
-
-
-/**
- * The main plugin class to be used in the desktop.
- */
-public class ExamplePlugin extends AbstractPlugin
-{
- //The shared instance.
- private static ExamplePlugin plugin;
-
- /**
- * The constructor.
- */
- public ExamplePlugin()
- {
- if (plugin == null) plugin = this;
- }
-
- protected void doStart() throws Exception
- {
- }
-
- public void doStop() throws Exception
- {
- plugin = null;
- }
-
- /**
- * Returns the shared instance.
- */
- public static ExamplePlugin getDefault()
- {
- return plugin;
- }
-}
diff --git a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/eclipse/ExecutableElement.java b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/eclipse/ExecutableElement.java
deleted file mode 100644
index ec94765..0000000
--- a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/eclipse/ExecutableElement.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/***************************************************************************
- * Copyright (c) 2004-2006 Eike Stepper, Fuggerstr. 39, 10777 Berlin, Germany.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Eike Stepper - initial API and implementation
- **************************************************************************/
-package org.eclipse.net4j.util.eclipse;
-
-
-import org.eclipse.core.runtime.CoreException;
-
-
-public class ExecutableElement extends Element
-{
- protected String className;
-
- public String getClassName()
- {
- return className;
- }
-
- public void setClassName(String className)
- {
- this.className = className;
- }
-
- public Object createExecutableExtension() throws CoreException
- {
- String propertyName = executableExtensionPropertyName();
- return configurationElement.createExecutableExtension(propertyName);
- }
-
- public Object createExecutableExtension(String propertyName) throws CoreException
- {
- return configurationElement.createExecutableExtension(propertyName);
- }
-
- public String toString()
- {
- return "Executable(" + className + ")";
- }
-}
diff --git a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/eclipse/ExtensionConfigException.java b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/eclipse/ExtensionConfigException.java
deleted file mode 100644
index 20800bf..0000000
--- a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/eclipse/ExtensionConfigException.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/***************************************************************************
- * Copyright (c) 2004-2006 Eike Stepper, Fuggerstr. 39, 10777 Berlin, Germany.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Eike Stepper - initial API and implementation
- **************************************************************************/
-package org.eclipse.net4j.util.eclipse;
-
-
-public class ExtensionConfigException extends RuntimeException
-{
- /**
- *
- */
- private static final long serialVersionUID = 3979274633562501681L;
-
- /**
- *
- */
- public ExtensionConfigException()
- {
- super();
- }
-
- /**
- * @param arg0
- */
- public ExtensionConfigException(String arg0)
- {
- super(arg0);
- }
-
- /**
- * @param arg0
- */
- public ExtensionConfigException(Throwable arg0)
- {
- super(arg0);
- }
-
- /**
- * @param arg0
- * @param arg1
- */
- public ExtensionConfigException(String arg0, Throwable arg1)
- {
- super(arg0, arg1);
- }
-}
diff --git a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/eclipse/ExtensionParser.java b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/eclipse/ExtensionParser.java
deleted file mode 100644
index e1be920..0000000
--- a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/eclipse/ExtensionParser.java
+++ /dev/null
@@ -1,181 +0,0 @@
-/***************************************************************************
- * Copyright (c) 2004-2006 Eike Stepper, Fuggerstr. 39, 10777 Berlin, Germany.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Eike Stepper - initial API and implementation
- **************************************************************************/
-package org.eclipse.net4j.util.eclipse;
-
-
-import org.eclipse.net4j.util.ImplementationError;
-import org.eclipse.net4j.util.StringHelper;
-import org.eclipse.net4j.util.eclipse.Element.Factory;
-
-import org.eclipse.core.runtime.IConfigurationElement;
-import org.eclipse.core.runtime.IExtension;
-import org.eclipse.core.runtime.IExtensionPoint;
-import org.eclipse.core.runtime.IExtensionRegistry;
-import org.eclipse.core.runtime.Platform;
-
-import org.apache.log4j.Logger;
-
-import java.util.ArrayList;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
-import java.util.regex.Matcher;
-import java.util.regex.Pattern;
-
-
-public class ExtensionParser
-{
- protected Map<Pattern, Factory> elementDataFactoryRegistry = new HashMap<Pattern, Factory>();
-
- protected List<String> contextStack = new ArrayList<String>();
-
- private static final Logger logger = Logger.getLogger(ExtensionParser.class.getName());
-
- public void parse(String extPointId)
- {
- IExtensionRegistry registry = Platform.getExtensionRegistry();
- IExtensionPoint point = registry.getExtensionPoint(extPointId);
-
- if (point == null)
- {
- String msg = "Extension point '" + extPointId + "' does not exist.";
- logger.error(msg);
- return;
- }
-
- parse(point);
- }
-
- public void parse(IExtensionPoint point)
- {
- IExtension[] extensions = point.getExtensions();
- for (int i = 0; extensions != null && i < extensions.length; i++)
- {
- try
- {
- parse(extensions[i]);
- }
- catch (Throwable t)
- {
- String msg = "Error in plugin " + extensions[i].getNamespaceIdentifier()
- + " while reading extension to " + point.getUniqueIdentifier();
- logger.error(msg, t);
- }
- }
- }
-
- public Element[] parse(IExtension extension)
- {
- if (logger.isDebugEnabled())
- logger.debug("Parsing plugin " + extension.getNamespaceIdentifier() + " (extension-point = "
- + extension.getExtensionPointUniqueIdentifier() + ")");
-
- IConfigurationElement[] elems = extension.getConfigurationElements();
- return parse(elems);
- }
-
- public Element[] parse(IConfigurationElement[] elems)
- {
- Element[] result = new Element[elems.length];
-
- for (int i = 0; i < elems.length; i++)
- {
- IConfigurationElement elem = elems[i];
- result[i] = parse(elem);
- }
-
- if (logger.isDebugEnabled())
- logger.debug("All extension data: " + StringHelper.implode(result, ", "));
-
- return result;
- }
-
- public Element parse(IConfigurationElement elem)
- {
- pushContext(elem.getName());
- String context = getContextString();
-
- Element.Factory factory = findFactory(context);
- if (factory == null)
- throw new ExtensionConfigException("No element factory for context " + context);
-
- Element elementData = factory.createElementData();
- if (elementData == null)
- throw new ExtensionConfigException("No element created for context " + context);
- elementData.internalSetConfigurationElement(elem);
-
- String[] attributeNames = elem.getAttributeNames();
- for (int i = 0; i < attributeNames.length; i++)
- {
- String attributeName = attributeNames[i];
- String attributeValue = elem.getAttribute(attributeName);
-
- if (logger.isDebugEnabled())
- logger.debug("Dispatching " + context + "." + attributeName + " = " + attributeValue);
-
- elementData.dispatchAttributeValue(attributeName, attributeValue);
- }
-
- // Recurse
- for (int i = 0; i < elem.getChildren().length; i++)
- {
- IConfigurationElement child = elem.getChildren()[i];
- Element childData = parse(child);
- elementData.dispatchChild(child.getName(), childData);
- }
-
- popContext();
- validate(elementData);
- return elementData;
- }
-
- public void addFactory(String contextPattern, Factory factory)
- {
- Pattern pattern = Pattern.compile(contextPattern);
- elementDataFactoryRegistry.put(pattern, factory);
- }
-
- public Factory findFactory(String context)
- {
- for (Map.Entry<Pattern, Factory> entry : elementDataFactoryRegistry.entrySet())
- {
- Pattern pattern = entry.getKey();
- Matcher matcher = pattern.matcher(context);
- if (matcher.matches())
- {
- return entry.getValue();
- }
- }
-
- return null;
- }
-
- protected void pushContext(String elementName)
- {
- contextStack.add(elementName);
- }
-
- protected String popContext()
- {
- if (contextStack.isEmpty()) throw new ImplementationError("contextStack is empty");
- return contextStack.remove(contextStack.size() - 1);
- }
-
- protected String getContextString()
- {
- return StringHelper.implode(contextStack, "/");
- }
-
- protected void validate(Element elementData)
- {
- elementData.validate(this);
- }
-}
diff --git a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/eclipse/ListExtensionParser.java b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/eclipse/ListExtensionParser.java
deleted file mode 100644
index 539989d..0000000
--- a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/eclipse/ListExtensionParser.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/***************************************************************************
- * Copyright (c) 2004-2006 Eike Stepper, Fuggerstr. 39, 10777 Berlin, Germany.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Eike Stepper - initial API and implementation
- **************************************************************************/
-package org.eclipse.net4j.util.eclipse;
-
-
-import java.util.ArrayList;
-import java.util.List;
-
-
-public class ListExtensionParser extends ExtensionParser
-{
- protected List list;
-
- public ListExtensionParser()
- {
- }
-
- public ListExtensionParser(List list)
- {
- this.list = list;
- }
-
- public List getList()
- {
- if (list == null)
- {
- list = new ArrayList();
- }
-
- return list;
- }
-
- public void setList(List list)
- {
- this.list = list;
- }
-
- protected void validate(Element elementData)
- {
- super.validate(elementData);
- if (contextStack.isEmpty())
- {
- getList().add(elementData);
- }
- }
-}
diff --git a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/eclipse/RegistryExtensionParser.java b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/eclipse/RegistryExtensionParser.java
deleted file mode 100644
index a733a11..0000000
--- a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/eclipse/RegistryExtensionParser.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/***************************************************************************
- * Copyright (c) 2004-2006 Eike Stepper, Fuggerstr. 39, 10777 Berlin, Germany.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Eike Stepper - initial API and implementation
- **************************************************************************/
-package org.eclipse.net4j.util.eclipse;
-
-
-public class RegistryExtensionParser extends ExtensionParser
-{
- protected ElementRegistry registry;
-
- public RegistryExtensionParser()
- {
- }
-
- public RegistryExtensionParser(ElementRegistry registry)
- {
- this.registry = registry;
- }
-
- public ElementRegistry getRegistry()
- {
- if (registry == null)
- {
- registry = new ElementRegistry();
- }
-
- return registry;
- }
-
- public void setRegistry(ElementRegistry registry)
- {
- this.registry = registry;
- }
-
- protected void validate(Element elementData)
- {
- super.validate(elementData);
-
- if (elementData instanceof ElementRegistry.Item)
- {
- getRegistry().put((ElementRegistry.Item) elementData);
- }
- }
-}
diff --git a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/eclipse/ResourcesHelper.java b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/eclipse/ResourcesHelper.java
deleted file mode 100644
index e10cc14..0000000
--- a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/eclipse/ResourcesHelper.java
+++ /dev/null
@@ -1,167 +0,0 @@
-/***************************************************************************
- * Copyright (c) 2004-2006 Eike Stepper, Fuggerstr. 39, 10777 Berlin, Germany.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Eike Stepper - initial API and implementation
- **************************************************************************/
-package org.eclipse.net4j.util.eclipse;
-
-
-import org.eclipse.core.resources.IContainer;
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.IFolder;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.NullProgressMonitor;
-import org.eclipse.core.runtime.Path;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import java.io.BufferedReader;
-import java.io.ByteArrayInputStream;
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.InputStreamReader;
-
-
-public class ResourcesHelper
-{
- public static void writeFile(IFile file, String[] content, IProgressMonitor monitor)
- throws CoreException
- {
- StringBuffer buffer = new StringBuffer();
- for (int i = 0; i < content.length; i++)
- {
- String line = content[i];
- buffer.append(line);
- buffer.append("\n");
- }
-
- writeFile(file, buffer.toString(), monitor);
- }
-
- public static void writeFile(IFile file, String content, IProgressMonitor monitor)
- throws CoreException
- {
- InputStream stream = new ByteArrayInputStream(content.getBytes());
- writeFile(file, stream, monitor);
- }
-
- public static void writeFile(IFile file, InputStream content, IProgressMonitor monitor)
- throws CoreException
- {
- if (file.exists())
- {
- file.setContents(content, false, true, monitor);
- }
- else
- {
- if (file.getParent() instanceof IFolder)
- {
- mkdirs((IFolder) file.getParent(), monitor);
- }
-
- file.create(content, true, monitor);
- }
- }
-
- public static void mkdirs(IFolder folder, IProgressMonitor monitor) throws CoreException
- {
- if (folder != null && !folder.exists())
- {
- IContainer parent = folder.getParent();
- if (parent != null && parent instanceof IFolder)
- {
- mkdirs((IFolder) parent, monitor);
- }
-
- folder.create(true, true, monitor);
- }
- }
-
- public static String readFileIntoString(IFile file) throws CoreException, IOException
- {
- return readFileIntoString(file, null);
- }
-
- public static String readFileIntoString(IFile file, String linePrefix) throws CoreException,
- IOException
- {
- BufferedReader br = new BufferedReader(new InputStreamReader(file.getContents()));
- StringBuffer buffer = new StringBuffer();
- String line;
-
- while ((line = br.readLine()) != null)
- {
- if (linePrefix != null)
- {
- buffer.append(linePrefix);
- }
-
- buffer.append(line);
- buffer.append("\n");
- }
-
- return buffer.toString();
- }
-
- public static String[] readFileIntoStringArray(IFile file) throws IOException, CoreException
- {
- return readFileIntoStringArray(file.getContents());
- }
-
- public static String[] readFileIntoStringArray(InputStream stream) throws IOException
- {
- BufferedReader br = new BufferedReader(new InputStreamReader(stream));
- List<String> result = new ArrayList<String>();
- String line;
-
- while ((line = br.readLine()) != null)
- {
- result.add(line);
- }
-
- return result.toArray(new String[result.size()]);
- }
-
- public static IProject ensureProject(String name) throws CoreException
- {
- IProject project = ResourcesPlugin.getWorkspace().getRoot().getProject(name);
-
- if (!project.exists())
- {
- project.create(new NullProgressMonitor());
- }
-
- if (!project.isOpen())
- {
- project.open(new NullProgressMonitor());
- }
-
- return project;
- }
-
- public static IFolder ensureFolder(IContainer container, String path) throws CoreException
- {
- if (container == null)
- {
- container = ResourcesPlugin.getWorkspace().getRoot();
- }
-
- IFolder folder = container.getFolder(new Path(path));
-
- if (!folder.exists())
- {
- folder.create(true, true, new NullProgressMonitor());
- }
-
- return folder;
- }
-}
diff --git a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/fsm/IStateMachine.java b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/fsm/IStateMachine.java
deleted file mode 100644
index 2048e70..0000000
--- a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/fsm/IStateMachine.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/***************************************************************************
- * Copyright (c) 2004-2006 Eike Stepper, Fuggerstr. 39, 10777 Berlin, Germany.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Eike Stepper - initial API and implementation
- **************************************************************************/
-package org.eclipse.net4j.util.fsm;
-
-
-public interface IStateMachine<SUBJECT>
-{
- public int getStateCount();
-
- public int getEventCount();
-
- public String getStateName(int state);
-
- public String getEventName(int event);
-
- public ITransition<SUBJECT> getIdentityTransition();
-
- public void process(SUBJECT subject, int event, Object data) throws Exception;
-
- public void handle(int state, int event, ITransition<SUBJECT> transition);
-
- public void handle(int state, int event, int newState);
-
- public void ignore(int state, int event);
-
- public void cancel(int state, int event);
-
-
- public interface ITransition<SUBJECT>
- {
- public void process(SUBJECT subject, int event, Object data) throws Exception;
- }
-}
diff --git a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/fsm/StateMachine.java b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/fsm/StateMachine.java
deleted file mode 100644
index b6afadf..0000000
--- a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/fsm/StateMachine.java
+++ /dev/null
@@ -1,159 +0,0 @@
-/***************************************************************************
- * Copyright (c) 2004-2006 Eike Stepper, Fuggerstr. 39, 10777 Berlin, Germany.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Eike Stepper - initial API and implementation
- **************************************************************************/
-package org.eclipse.net4j.util.fsm;
-
-
-import org.apache.log4j.Logger;
-
-
-public abstract class StateMachine<SUBJECT> implements IStateMachine<SUBJECT>
-{
- private static final Logger logger = Logger.getLogger(StateMachine.class.getName());
-
- private String[] stateNames;
-
- private String[] eventNames;
-
- private ITransition<SUBJECT>[][] matrix;
-
- public StateMachine(String[] stateNames, String[] eventNames,
- ITransition<SUBJECT> defaultTransition)
- {
- this.stateNames = stateNames;
- this.eventNames = eventNames;
-
- matrix = new ITransition[stateNames.length][eventNames.length];
-
- if (defaultTransition != null)
- {
- for (int state = 0; state < stateNames.length; state++)
- {
- for (int event = 0; event < eventNames.length; event++)
- {
- handle(state, event, defaultTransition);
- }
- }
- }
- }
-
- public StateMachine(String[] stateNames, String[] eventNames)
- {
- this(stateNames, eventNames, null);
- }
-
- public int getStateCount()
- {
- return stateNames.length;
- }
-
- public int getEventCount()
- {
- return eventNames.length;
- }
-
- public String getStateName(int state)
- {
- return stateNames[state];
- }
-
- public String getEventName(int event)
- {
- return eventNames[event];
- }
-
- public ITransition<SUBJECT> getIdentityTransition()
- {
- return new ITransition<SUBJECT>()
- {
- public void process(SUBJECT subject, int event, Object data) throws Exception
- {
- if (getLogger().isDebugEnabled())
- {
- int state = getState(subject);
- getLogger().debug("Ignoring " + makeLabel(subject, state, event));
- }
- }
- };
- }
-
- public void handle(int state, int event, ITransition<SUBJECT> transition)
- {
- matrix[state][event] = transition;
- }
-
- public void handle(int state, int event, final int newState)
- {
- handle(state, event, new ITransition<SUBJECT>()
- {
- public void process(SUBJECT subject, int event, Object data) throws Exception
- {
- setState(subject, newState);
- }
- });
- }
-
- public void ignore(int state, int event)
- {
- handle(state, event, getIdentityTransition());
- }
-
- public void cancel(int state, int event)
- {
- handle(state, event, null);
- }
-
- public void process(SUBJECT subject, int event, Object data) throws Exception
- {
- int state = getState(subject);
- ITransition<SUBJECT> transition = matrix[state][event];
-
- if (transition == null)
- {
- if (getLogger().isDebugEnabled())
- {
- getLogger().warn("Ignoring " + makeLabel(subject, state, event));
- }
-
- return;
- }
-
- if (getLogger().isDebugEnabled())
- {
- getLogger().debug("Processing " + makeLabel(subject, state, event));
- }
-
- transition.process(subject, event, data);
-
- if (getLogger().isDebugEnabled())
- {
- int newState = getState(subject);
- getLogger()
- .debug(
- "Finished " + makeLabel(subject, state, event) + ", newState="
- + getStateName(newState));
- }
- }
-
- protected Logger getLogger()
- {
- return logger;
- }
-
- protected String makeLabel(SUBJECT subject, int state, int event)
- {
- return "event " + eventNames[event] + " in state " + stateNames[state] + " for subject "
- + subject;
- }
-
- protected abstract int getState(SUBJECT subject);
-
- protected abstract void setState(SUBJECT subject, int state);
-}
diff --git a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/store/ISession.java b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/store/ISession.java
deleted file mode 100644
index 31d0280..0000000
--- a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/store/ISession.java
+++ /dev/null
@@ -1,23 +0,0 @@
-package org.eclipse.net4j.util.store;
-
-
-import org.eclipse.net4j.util.store.handlers.IQueryContentHandler;
-import org.eclipse.net4j.util.store.handlers.IQueryMembersHandler;
-
-import org.eclipse.core.runtime.IPath;
-
-
-public interface ISession
-{
- public IUser getUser();
-
- public ITransaction beginTransaction();
-
- public void queryMembers(IPath container, IQueryMembersHandler handler);
-
- public void queryContent(IPath file, IQueryContentHandler handler);
-
- public void setContent(IPath file, IQueryContentHandler handler);
-
- public void close();
-}
diff --git a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/store/IStore.java b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/store/IStore.java
deleted file mode 100644
index b3f9269..0000000
--- a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/store/IStore.java
+++ /dev/null
@@ -1,7 +0,0 @@
-package org.eclipse.net4j.util.store;
-
-
-public interface IStore
-{
- public ISession createSession(IUser user);
-}
diff --git a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/store/ITransaction.java b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/store/ITransaction.java
deleted file mode 100644
index 31b5541..0000000
--- a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/store/ITransaction.java
+++ /dev/null
@@ -1,6 +0,0 @@
-package org.eclipse.net4j.util.store;
-
-public interface ITransaction
-{
-
-}
diff --git a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/store/IUser.java b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/store/IUser.java
deleted file mode 100644
index 7131d79..0000000
--- a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/store/IUser.java
+++ /dev/null
@@ -1,7 +0,0 @@
-package org.eclipse.net4j.util.store;
-
-
-public interface IUser
-{
- public String getId();
-}
diff --git a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/store/handlers/IQueryContentHandler.java b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/store/handlers/IQueryContentHandler.java
deleted file mode 100644
index ed3910d..0000000
--- a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/store/handlers/IQueryContentHandler.java
+++ /dev/null
@@ -1,6 +0,0 @@
-package org.eclipse.net4j.util.store.handlers;
-
-public interface IQueryContentHandler
-{
-
-}
diff --git a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/store/handlers/IQueryMembersHandler.java b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/store/handlers/IQueryMembersHandler.java
deleted file mode 100644
index cfe66cd..0000000
--- a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/store/handlers/IQueryMembersHandler.java
+++ /dev/null
@@ -1,6 +0,0 @@
-package org.eclipse.net4j.util.store.handlers;
-
-public interface IQueryMembersHandler
-{
-
-}
diff --git a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/thread/DeadlockDetector.java b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/thread/DeadlockDetector.java
deleted file mode 100644
index 7aaa1e4..0000000
--- a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/thread/DeadlockDetector.java
+++ /dev/null
@@ -1,135 +0,0 @@
-/***************************************************************************
- * Copyright (c) 2004-2006 Eike Stepper, Fuggerstr. 39, 10777 Berlin, Germany.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Eike Stepper - initial API and implementation
- **************************************************************************/
-package org.eclipse.net4j.util.thread;
-
-
-import org.eclipse.net4j.util.ImplementationError;
-import org.eclipse.net4j.util.ThreadInterruptedException;
-
-import java.util.HashMap;
-import java.util.Map;
-import java.util.Map.Entry;
-
-
-public final class DeadlockDetector
-{
- public static boolean DETECTION = false;
-
- public static final boolean COMPLETE_TRACE = true;
-
- protected static final HashMap locks = new HashMap();
-
- public static void preLock()
- {
- if (DETECTION)
- {
- Object old = locks.put(Thread.currentThread(), identifySource());
- if (old != null) throw new ImplementationError("Don't nest deadlock detection!");
- }
- }
-
- public static void postLock()
- {
- if (DETECTION) locks.remove(Thread.currentThread());
- }
-
- public static void sleep(long millis) throws ThreadInterruptedException
- {
- preLock();
-
- try
- {
- Thread.sleep(millis);
- }
- catch (InterruptedException ex)
- {
- throw new ThreadInterruptedException(ex);
- }
- finally
- {
- postLock();
- }
- }
-
- public static void wait(Object object) throws ThreadInterruptedException
- {
- preLock();
-
- try
- {
- object.wait();
- }
- catch (InterruptedException ex)
- {
- throw new ThreadInterruptedException(ex);
- }
- finally
- {
- postLock();
- }
- }
-
- public static void dump()
- {
- System.out.println();
- System.out.println("Deadlock Detection Dump");
- System.out.println("=====================================================================");
-
- Map.Entry[] array = (Map.Entry[]) locks.entrySet().toArray(new Map.Entry[locks.size()]);
- for (int i = 0; i < array.length; i++)
- {
- Entry entry = array[i];
- Thread key = (Thread) entry.getKey();
- String val = (String) entry.getValue();
- System.out.println("Lock in " + key + "\n" + val);
- }
-
- System.out.println("=====================================================================");
- System.out.println();
- // locks.clear();
- }
-
- public static String identifySource()
- {
- class SourceIdentificationException extends Exception
- {
- private static final long serialVersionUID = 1L;
- }
-
- try
- {
- throw new SourceIdentificationException();
- }
- catch (SourceIdentificationException ex)
- {
- String ignore = DeadlockDetector.class.getName();
- StackTraceElement[] frames = ex.getStackTrace();
-
- for (int i = 0; i < frames.length; i++)
- {
- if (!frames[i].getClassName().equals(ignore))
- {
- if (!COMPLETE_TRACE) return frames[i].toString();
-
- StringBuffer result = new StringBuffer();
- for (int j = i; j < frames.length; j++)
- {
- result.append("\tat " + frames[j].toString() + "\n");
- }
- return result.toString();
- }
- }
-
- throw new ImplementationError("identifySource() must not be called from inside the class "
- + ignore);
- }
- }
-}
diff --git a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/thread/Worker.java b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/thread/Worker.java
deleted file mode 100644
index 4e13615..0000000
--- a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/thread/Worker.java
+++ /dev/null
@@ -1,356 +0,0 @@
-/***************************************************************************
- * Copyright (c) 2004-2006 Eike Stepper, Fuggerstr. 39, 10777 Berlin, Germany.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Eike Stepper - initial API and implementation
- **************************************************************************/
-package org.eclipse.net4j.util.thread;
-
-
-import org.eclipse.net4j.util.ImplementationError;
-
-import org.apache.log4j.Logger;
-import org.apache.log4j.spi.ThrowableInformation;
-
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.List;
-
-
-public abstract class Worker extends Thread
-{
- public static final long TERMINATE = -1;
-
- public static final long NO_PAUSE = 0;
-
- /**
- * Logger for this class
- */
- private static final Logger logger = Logger.getLogger(Worker.class);
-
- private List<ProgressListener> progressListeners;
-
- private List<ShutdownListener> shutdownListeners;
-
- private int progress;
-
- private boolean running;
-
- private Object waitMonitor;
-
- /**
- *
- */
- public Worker()
- {
- super();
- }
-
- /**
- * @param target
- */
- public Worker(Runnable target)
- {
- super(target);
- }
-
- /**
- * @param name
- */
- public Worker(String name)
- {
- super(name);
- }
-
- /**
- * @param group
- * @param target
- */
- public Worker(ThreadGroup group, Runnable target)
- {
- super(group, target);
- }
-
- /**
- * @param target
- * @param name
- */
- public Worker(Runnable target, String name)
- {
- super(target, name);
- }
-
- /**
- * @param group
- * @param name
- */
- public Worker(ThreadGroup group, String name)
- {
- super(group, name);
- }
-
- /**
- * @param group
- * @param target
- * @param name
- */
- public Worker(ThreadGroup group, Runnable target, String name)
- {
- super(group, target, name);
- }
-
- /**
- * @param group
- * @param target
- * @param name
- * @param stackSize
- */
- public Worker(ThreadGroup group, Runnable target, String name, long stackSize)
- {
- super(group, target, name, stackSize);
- }
-
- public String getLabel()
- {
- String name = getName();
- return name == null ? toString() : name;
- }
-
- /**
- * @return Returns the running.
- */
- public boolean isRunning()
- {
- return running;
- }
-
- /* (non-Javadoc)
- * @see java.lang.Runnable#run()
- */
- public final void run()
- {
- notifyProgress();
-
- try
- {
- while (running && !isInterrupted())
- {
- if (progress == Integer.MAX_VALUE)
- {
- progress = 0;
- }
- else
- {
- ++progress;
- }
-
- long pause = doWorkStep(progress);
- notifyProgress();
-
- if (pause == TERMINATE)
- {
- break;
- }
-
- if (pause > 0)
- {
- try
- {
- Thread.sleep(pause);
- }
- catch (InterruptedException ex)
- {
- if (logger.isDebugEnabled())
- logger.debug("Interrupted while pausing worker " + getLabel());
- break;
- }
- }
- }
- }
- catch (Throwable t)
- {
- try
- {
- Class test = ThrowableInformation.class; //Check if Log4j is still loaded
- if (test != null)
- {
- logger.error("Error in worker " + getLabel(), t);
- }
- }
- catch (Error ignore)
- {
- ; // Can happen due to already unloaded plugins (logging)!
- }
- catch (Exception ignore)
- {
- ; // Can happen due to already unloaded plugins (logging)!
- }
- }
-
- notifyShutdown();
- }
-
- protected void doWait(Object object) throws InterruptedException
- {
- synchronized (this)
- {
- waitMonitor = object;
- }
-
- DeadlockDetector.wait(waitMonitor);
-
- synchronized (this)
- {
- waitMonitor = null;
- }
-
- if (!running)
- {
- throw new InterruptedException();
- }
- }
-
- /**
- *
- * @param progress
- * @return The duration to sleep after this step in milliseconds.
- */
- protected abstract long doWorkStep(int progress);
-
- /* (non-Javadoc)
- * @see java.lang.Thread#start()
- */
- public final void start()
- {
- throw new ImplementationError("use startup()");
- }
-
- public void startup()
- {
- running = true;
- super.start();
- }
-
- public void shutdown()
- {
- shutdown(0);
- }
-
- public void shutdown(long timeoutMillis)
- {
- if (logger.isDebugEnabled()) logger.debug("Shutting down worker " + getLabel());
- running = false;
-
- synchronized (this)
- {
- if (waitMonitor != null)
- {
- synchronized (waitMonitor)
- {
- waitMonitor.notifyAll();
- }
- }
- }
-
- try
- {
- join(timeoutMillis);
- }
- catch (InterruptedException ex)
- {
- if (logger.isDebugEnabled()) logger.debug(ex);
- }
-
- if (running)
- {
- if (logger.isDebugEnabled())
- logger.debug("Shutdown timeout expired. Interrupting worker " + getLabel());
-
- interrupt();
-
- try
- {
- join();
- }
- catch (InterruptedException ex)
- {
- if (logger.isDebugEnabled()) logger.debug(ex);
- }
- }
- }
-
- public void addProgressListener(ProgressListener listener)
- {
- if (progressListeners == null)
- {
- progressListeners = new ArrayList<ProgressListener>();
- }
-
- progressListeners.add(listener);
- }
-
- public void removeProgressListener(ProgressListener listener)
- {
- if (progressListeners != null)
- {
- progressListeners.remove(listener);
- }
- }
-
- public void addShutdownListener(ShutdownListener listener)
- {
- if (shutdownListeners == null)
- {
- shutdownListeners = new ArrayList<ShutdownListener>();
- }
- shutdownListeners.add(listener);
- }
-
- public void removeShutdownListener(ShutdownListener listener)
- {
- if (shutdownListeners != null)
- {
- shutdownListeners.remove(listener);
- }
- }
-
- protected void notifyProgress()
- {
- if (progressListeners != null)
- {
- for (Iterator<ProgressListener> it = progressListeners.iterator(); it.hasNext();)
- {
- ProgressListener listener = it.next();
- listener.notifyProgress(this, progress);
- }
- }
- }
-
- protected void notifyShutdown()
- {
- if (shutdownListeners != null)
- {
- for (Iterator<ShutdownListener> it = shutdownListeners.iterator(); it.hasNext();)
- {
- ShutdownListener listener = it.next();
- listener.notifyShutdown(this);
- }
- }
- }
-
-
- public interface ProgressListener
- {
- public void notifyProgress(Worker worker, int progress);
- }
-
-
- public interface ShutdownListener
- {
- public void notifyShutdown(Worker worker);
- }
-}
diff --git a/plugins/org.eclipse.net4j/.project b/plugins/org.eclipse.net4j/.project
deleted file mode 100644
index 6ee99bc..0000000
--- a/plugins/org.eclipse.net4j/.project
+++ /dev/null
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.net4j</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <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>
- </natures>
-</projectDescription>
diff --git a/plugins/org.eclipse.net4j/META-INF/MANIFEST.MF b/plugins/org.eclipse.net4j/META-INF/MANIFEST.MF
deleted file mode 100644
index ebbd8bf..0000000
--- a/plugins/org.eclipse.net4j/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,8 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: %pluginName
-Bundle-SymbolicName: org.eclipse.net4j
-Bundle-Version: 1.0.0.qualifier
-Bundle-Vendor: %providerName
-Bundle-Localization: plugin
-Eclipse-LazyStart: true
diff --git a/plugins/org.eclipse.net4j/about.html b/plugins/org.eclipse.net4j/about.html
deleted file mode 100644
index 4c99086..0000000
--- a/plugins/org.eclipse.net4j/about.html
+++ /dev/null
@@ -1,22 +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>About</title>
-</head>
-<body lang="EN-US">
-<h2>About This Content</h2>
-
-<p>February 24, 2005</p>
-<h3>License</h3>
-
-<p>The Eclipse Foundation makes available all content in this plug-in (&quot;Content&quot;). Unless otherwise indicated below, the Content is provided to you under the terms and conditions of the
-Eclipse Public License Version 1.0 (&quot;EPL&quot;). A copy of the EPL is available at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
-For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
-
-<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is being redistributed by another party (&quot;Redistributor&quot;) and different terms and conditions may
-apply to your use of any object code in the Content. Check the Redistributor's license that was provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise
-indicated below, the terms and conditions of the EPL still apply to any source code in the Content.</p>
-
-</body>
-</html> \ No newline at end of file
diff --git a/plugins/org.eclipse.net4j/about.ini b/plugins/org.eclipse.net4j/about.ini
deleted file mode 100644
index c96a946..0000000
--- a/plugins/org.eclipse.net4j/about.ini
+++ /dev/null
@@ -1,17 +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=%featureText
-
-# Property "featureImage" contains path to feature image (32x32)
-featureImage=eclipse32.png
-
-# Property "appName" contains name of the application (translated)
-appName=%featureName
-
-# Property "welcomePage" contains path to welcome page (special XML-based format)
-welcomePage=$nl$/welcome.xml
diff --git a/plugins/org.eclipse.net4j/about.mappings b/plugins/org.eclipse.net4j/about.mappings
deleted file mode 100644
index a28390a..0000000
--- a/plugins/org.eclipse.net4j/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@
diff --git a/plugins/org.eclipse.net4j/about.properties b/plugins/org.eclipse.net4j/about.properties
deleted file mode 100644
index 0e7a5b3..0000000
--- a/plugins/org.eclipse.net4j/about.properties
+++ /dev/null
@@ -1,11 +0,0 @@
-# NLS_MESSAGEFORMAT_VAR
-
-featureName=Net4j
-
-featureText=Net4j \n\
-Version: {featureVersion}\n\
-Build id: {0}\n\
-\n\
-(c) Copyright Eclipse contributors and others. 2006. All rights reserved.\n\
-\n\
-Visit http://www.eclipse.org/emft/projects/net4j
diff --git a/plugins/org.eclipse.net4j/build.properties b/plugins/org.eclipse.net4j/build.properties
deleted file mode 100644
index 775b44f..0000000
--- a/plugins/org.eclipse.net4j/build.properties
+++ /dev/null
@@ -1,17 +0,0 @@
-# NLS_MESSAGEFORMAT_VAR
-bin.includes = about.html,\
- about.ini,\
- about.mappings,\
- about.properties,\
- plugin.xml,\
- plugin.properties,\
- META-INF/,\
- eclipse.gif,\
- eclipse.png,\
- eclipse24.gif,\
- eclipse32.gif,\
- eclipse32.png,\
- eclipse48.gif,\
- eclipse48.png,\
- eclipse_lg.gif,\
- license.html
diff --git a/plugins/org.eclipse.net4j/eclipse.gif b/plugins/org.eclipse.net4j/eclipse.gif
deleted file mode 100644
index bdc2912..0000000
--- a/plugins/org.eclipse.net4j/eclipse.gif
+++ /dev/null
Binary files differ
diff --git a/plugins/org.eclipse.net4j/eclipse.png b/plugins/org.eclipse.net4j/eclipse.png
deleted file mode 100644
index 7397524..0000000
--- a/plugins/org.eclipse.net4j/eclipse.png
+++ /dev/null
Binary files differ
diff --git a/plugins/org.eclipse.net4j/eclipse24.gif b/plugins/org.eclipse.net4j/eclipse24.gif
deleted file mode 100644
index fbb1d47..0000000
--- a/plugins/org.eclipse.net4j/eclipse24.gif
+++ /dev/null
Binary files differ
diff --git a/plugins/org.eclipse.net4j/eclipse32.gif b/plugins/org.eclipse.net4j/eclipse32.gif
deleted file mode 100644
index e6ad7cc..0000000
--- a/plugins/org.eclipse.net4j/eclipse32.gif
+++ /dev/null
Binary files differ
diff --git a/plugins/org.eclipse.net4j/eclipse32.png b/plugins/org.eclipse.net4j/eclipse32.png
deleted file mode 100644
index 568fac1..0000000
--- a/plugins/org.eclipse.net4j/eclipse32.png
+++ /dev/null
Binary files differ
diff --git a/plugins/org.eclipse.net4j/eclipse48.gif b/plugins/org.eclipse.net4j/eclipse48.gif
deleted file mode 100644
index 501ab99..0000000
--- a/plugins/org.eclipse.net4j/eclipse48.gif
+++ /dev/null
Binary files differ
diff --git a/plugins/org.eclipse.net4j/eclipse48.png b/plugins/org.eclipse.net4j/eclipse48.png
deleted file mode 100644
index b60ab3c..0000000
--- a/plugins/org.eclipse.net4j/eclipse48.png
+++ /dev/null
Binary files differ
diff --git a/plugins/org.eclipse.net4j/eclipse_lg.gif b/plugins/org.eclipse.net4j/eclipse_lg.gif
deleted file mode 100644
index bf8b872..0000000
--- a/plugins/org.eclipse.net4j/eclipse_lg.gif
+++ /dev/null
Binary files differ
diff --git a/plugins/org.eclipse.net4j/license.html b/plugins/org.eclipse.net4j/license.html
deleted file mode 100644
index d7b88e9..0000000
--- a/plugins/org.eclipse.net4j/license.html
+++ /dev/null
@@ -1,319 +0,0 @@
-<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40"><head>
-<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
-<meta name="ProgId" content="Word.Document">
-<meta name="Generator" content="Microsoft Word 9">
-<meta name="Originator" content="Microsoft Word 9">
-<link rel="File-List" href="http://www.eclipse.org/org/documents/Eclipse%20EPL%202003_11_10%20Final_files/filelist.xml"><title>Eclipse Public License - Version 1.0</title><!--[if gte mso 9]><xml>
- <o:DocumentProperties>
- <o:Revision>2</o:Revision>
- <o:TotalTime>3</o:TotalTime>
- <o:Created>2004-03-05T23:03:00Z</o:Created>
- <o:LastSaved>2004-03-05T23:03:00Z</o:LastSaved>
- <o:Pages>4</o:Pages>
- <o:Words>1626</o:Words>
- <o:Characters>9270</o:Characters>
- <o:Lines>77</o:Lines>
- <o:Paragraphs>18</o:Paragraphs>
- <o:CharactersWithSpaces>11384</o:CharactersWithSpaces>
- <o:Version>9.4402</o:Version>
- </o:DocumentProperties>
-</xml><![endif]--><!--[if gte mso 9]><xml>
- <w:WordDocument>
- <w:TrackRevisions/>
- </w:WordDocument>
-</xml><![endif]-->
-
-
-<style>
-<!--
- /* Font Definitions */
-@font-face
- {font-family:Tahoma;
- panose-1:2 11 6 4 3 5 4 4 2 4;
- mso-font-charset:0;
- mso-generic-font-family:swiss;
- mso-font-pitch:variable;
- mso-font-signature:553679495 -2147483648 8 0 66047 0;}
- /* Style Definitions */
-p.MsoNormal, li.MsoNormal, div.MsoNormal
- {mso-style-parent:"";
- margin:0in;
- margin-bottom:.0001pt;
- mso-pagination:widow-orphan;
- font-size:12.0pt;
- font-family:"Times New Roman";
- mso-fareast-font-family:"Times New Roman";}
-p
- {margin-right:0in;
- mso-margin-top-alt:auto;
- mso-margin-bottom-alt:auto;
- margin-left:0in;
- mso-pagination:widow-orphan;
- font-size:12.0pt;
- font-family:"Times New Roman";
- mso-fareast-font-family:"Times New Roman";}
-p.BalloonText, li.BalloonText, div.BalloonText
- {mso-style-name:"Balloon Text";
- margin:0in;
- margin-bottom:.0001pt;
- mso-pagination:widow-orphan;
- font-size:8.0pt;
- font-family:Tahoma;
- mso-fareast-font-family:"Times New Roman";}
-@page Section1
- {size:8.5in 11.0in;
- margin:1.0in 1.25in 1.0in 1.25in;
- mso-header-margin:.5in;
- mso-footer-margin:.5in;
- mso-paper-source:0;}
-div.Section1
- {page:Section1;}
--->
-</style></head>
-
-<body style="" lang="EN-US">
-
-<div class="Section1">
-
-<p style="text-align: center;" align="center"><b>Eclipse Public License - v 1.0</b>
-</p>
-
-<p><span style="font-size: 10pt;">THE ACCOMPANYING PROGRAM IS PROVIDED UNDER
-THE TERMS OF THIS ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE,
-REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE
-OF THIS AGREEMENT.</span> </p>
-
-<p><b><span style="font-size: 10pt;">1. DEFINITIONS</span></b> </p>
-
-<p><span style="font-size: 10pt;">"Contribution" means:</span> </p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">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:</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">i)
-changes to the Program, and</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">ii)
-additions to the Program;</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">where
-such changes and/or additions to the Program originate from and are distributed
-by that particular Contributor. 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. 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. </span></p>
-
-<p><span style="font-size: 10pt;">"Contributor" means any person or
-entity that distributes the Program.</span> </p>
-
-<p><span style="font-size: 10pt;">"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. </span></p>
-
-<p><span style="font-size: 10pt;">"Program" means the Contributions
-distributed in accordance with this Agreement.</span> </p>
-
-<p><span style="font-size: 10pt;">"Recipient" means anyone who
-receives the Program under this Agreement, including all Contributors.</span> </p>
-
-<p><b><span style="font-size: 10pt;">2. GRANT OF RIGHTS</span></b> </p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
-Subject to the terms of this Agreement, each Contributor hereby grants Recipient
-a non-exclusive, worldwide, royalty-free copyright license to<span style="color: red;"> </span>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.</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">b)
-Subject to the terms of this Agreement, each Contributor hereby grants
-Recipient a non-exclusive, worldwide,<span style="color: green;"> </span>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. </span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">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.</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">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. </span></p>
-
-<p><b><span style="font-size: 10pt;">3. REQUIREMENTS</span></b> </p>
-
-<p><span style="font-size: 10pt;">A Contributor may choose to distribute the
-Program in object code form under its own license agreement, provided that:</span>
-</p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
-it complies with the terms and conditions of this Agreement; and</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">b)
-its license agreement:</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">i)
-effectively disclaims 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; </span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">ii)
-effectively excludes on behalf of all Contributors all liability for damages,
-including direct, indirect, special, incidental and consequential damages, such
-as lost profits; </span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">iii)
-states that any provisions which differ from this Agreement are offered by that
-Contributor alone and not by any other party; and</span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">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.<span style="color: blue;"> </span></span></p>
-
-<p><span style="font-size: 10pt;">When the Program is made available in source
-code form:</span> </p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
-it must be made available under this Agreement; and </span></p>
-
-<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">b) a
-copy of this Agreement must be included with each copy of the Program. </span></p>
-
-<p><span style="font-size: 10pt;">Contributors may not remove or alter any
-copyright notices contained within the Program. </span></p>
-
-<p><span style="font-size: 10pt;">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. </span></p>
-
-<p><b><span style="font-size: 10pt;">4. COMMERCIAL DISTRIBUTION</span></b> </p>
-
-<p><span style="font-size: 10pt;">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.</span> </p>
-
-<p><span style="font-size: 10pt;">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.</span> </p>
-
-<p><b><span style="font-size: 10pt;">5. NO WARRANTY</span></b> </p>
-
-<p><span style="font-size: 10pt;">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 solely
-responsible for determining the appropriateness of using and distributing the
-Program and assumes all risks associated with its exercise of rights under this
-Agreement , including but not limited to the risks and costs of program errors,
-compliance with applicable laws, damage to or loss of data, programs or
-equipment, and unavailability or interruption of operations. </span></p>
-
-<p><b><span style="font-size: 10pt;">6. DISCLAIMER OF LIABILITY</span></b> </p>
-
-<p><span style="font-size: 10pt;">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
-(INCLUDING WITHOUT LIMITATION LOST PROFITS), 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.</span> </p>
-
-<p><b><span style="font-size: 10pt;">7. GENERAL</span></b> </p>
-
-<p><span style="font-size: 10pt;">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.</span> </p>
-
-<p><span style="font-size: 10pt;">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. </span></p>
-
-<p><span style="font-size: 10pt;">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. </span></p>
-
-<p><span style="font-size: 10pt;">Everyone is permitted to copy and distrib