Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2007-03-14 23:10:41 +0000
committerslewis2007-03-14 23:10:41 +0000
commitc4ea87e6276f72b9d4994da643bd011b791a3565 (patch)
tree37c751c1ed4033109c911c62ff747c28d1a629e3 /tests/bundles/org.eclipse.ecf.tests.remoteservice
parent8cad61c2c01c88b435ce6351c1e2a7841d43a1a3 (diff)
downloadorg.eclipse.ecf-c4ea87e6276f72b9d4994da643bd011b791a3565.tar.gz
org.eclipse.ecf-c4ea87e6276f72b9d4994da643bd011b791a3565.tar.xz
org.eclipse.ecf-c4ea87e6276f72b9d4994da643bd011b791a3565.zip
Changes to remove references to Plugin class.
Diffstat (limited to 'tests/bundles/org.eclipse.ecf.tests.remoteservice')
-rwxr-xr-xtests/bundles/org.eclipse.ecf.tests.remoteservice/META-INF/MANIFEST.MF7
-rwxr-xr-xtests/bundles/org.eclipse.ecf.tests.remoteservice/src/org/eclipse/ecf/tests/remoteservice/Activator.java6
2 files changed, 6 insertions, 7 deletions
diff --git a/tests/bundles/org.eclipse.ecf.tests.remoteservice/META-INF/MANIFEST.MF b/tests/bundles/org.eclipse.ecf.tests.remoteservice/META-INF/MANIFEST.MF
index 0b1cc5dca..38ad8a89c 100755
--- a/tests/bundles/org.eclipse.ecf.tests.remoteservice/META-INF/MANIFEST.MF
+++ b/tests/bundles/org.eclipse.ecf.tests.remoteservice/META-INF/MANIFEST.MF
@@ -5,10 +5,11 @@ Bundle-SymbolicName: org.eclipse.ecf.tests.remoteservice
Bundle-Version: 1.0.0.v20070313
Bundle-Activator: org.eclipse.ecf.tests.remoteservice.Activator
Bundle-Vendor: eclipse.org
-Require-Bundle: org.eclipse.core.runtime,
- org.junit,
+Require-Bundle: org.junit,
org.eclipse.ecf.tests,
org.eclipse.ecf.remoteservice,
- org.eclipse.ecf
+ org.eclipse.ecf,
+ org.eclipse.equinox.common
Eclipse-LazyStart: true
Export-Package: org.eclipse.ecf.tests.remoteservice
+Import-Package: org.osgi.framework;version="1.4.0"
diff --git a/tests/bundles/org.eclipse.ecf.tests.remoteservice/src/org/eclipse/ecf/tests/remoteservice/Activator.java b/tests/bundles/org.eclipse.ecf.tests.remoteservice/src/org/eclipse/ecf/tests/remoteservice/Activator.java
index 2c275aad8..4c3584a9e 100755
--- a/tests/bundles/org.eclipse.ecf.tests.remoteservice/src/org/eclipse/ecf/tests/remoteservice/Activator.java
+++ b/tests/bundles/org.eclipse.ecf.tests.remoteservice/src/org/eclipse/ecf/tests/remoteservice/Activator.java
@@ -1,12 +1,12 @@
package org.eclipse.ecf.tests.remoteservice;
-import org.eclipse.core.runtime.Plugin;
+import org.osgi.framework.BundleActivator;
import org.osgi.framework.BundleContext;
/**
* The activator class controls the plug-in life cycle
*/
-public class Activator extends Plugin {
+public class Activator implements BundleActivator {
// The plug-in ID
public static final String PLUGIN_ID = "org.eclipse.ecf.tests.remoteservice";
@@ -25,7 +25,6 @@ public class Activator extends Plugin {
* @see org.eclipse.core.runtime.Plugins#start(org.osgi.framework.BundleContext)
*/
public void start(BundleContext context) throws Exception {
- super.start(context);
plugin = this;
}
@@ -35,7 +34,6 @@ public class Activator extends Plugin {
*/
public void stop(BundleContext context) throws Exception {
plugin = null;
- super.stop(context);
}
/**

Back to the top