[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [equinox-dev] ExtensionBundle-Activator initialization problem
|
You need to be a fragment of the system.bundle in order to be an extension bundle:
Fragment-Host: system.bundle
Tom
Cristiano Gavião ---01/13/2014 11:23:16 AM---Hello, I'm trying to experiment with Extension Bundle Activator but couldn't
From: Cristiano Gavião <cvgaviao@xxxxxxxxx>
To: Equinox development mailing list <equinox-dev@xxxxxxxxxxx>,
Date: 01/13/2014 11:23 AM
Subject: [equinox-dev] ExtensionBundle-Activator initialization problem
Sent by: equinox-dev-bounces@xxxxxxxxxxx
Hello,
I'm trying to experiment with Extension Bundle Activator but couldn't
make my simple example to work.
I can't see any message in the console...
could someone point me what I'm missing?
below are my artifacts:
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: SystemBundleTest
Bundle-SymbolicName: SystemBundleTest
Bundle-Version: 1.0.0.qualifier
Bundle-RequiredExecutionEnvironment: JavaSE-1.7
ExtensionBundle-Activator: org.system.bundle.test.Activator
Import-Package: org.osgi.framework;version="1.3.0"
Bundle-ActivationPolicy: lazy
---------------------------------------------
public class Activator implements BundleActivator {
/*
* (non-Javadoc)
* @see
org.osgi.framework.BundleActivator#start(org.osgi.framework.BundleContext)
*/
public void start(BundleContext context) throws Exception {
System.out.println("Hello World!!");
}
/*
* (non-Javadoc)
* @see
org.osgi.framework.BundleActivator#stop(org.osgi.framework.BundleContext)
*/
public void stop(BundleContext context) throws Exception {
System.out.println("Goodbye World!!");
}
}
thanks,
Cristiano
_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/equinox-dev
