You need to be a fragment of the system.bundle in order to be an extension bundle:
Fragment-Host: system.bundle Tom From: Cristiano Gavião <[email protected]> To: Equinox development mailing list <[email protected]>, Date: 01/13/2014 11:23 AM Subject: [equinox-dev] ExtensionBundle-Activator initialization problem Sent by: [email protected] 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 [email protected] https://dev.eclipse.org/mailman/listinfo/equinox-dev
<<inline: graycol.gif>>
_______________________________________________ equinox-dev mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/equinox-dev
