How to specify BundleActivator class for OSGi launcher [message #46108] |
Tue, 10 February 2009 11:59 |
Eclipse User |
|
|
|
Originally posted by: david.roamware.co.uk
Hi,
I have developed 3 plugins, one depends on the other 2. In Debug
configurations I select the 'top' one and click "Add Required Bundles".
that works beuatifully. But there is no where to define where my class
that implements BundleActivator resdies. So when I run it, it does not
seem to find this class and thus the embedded Jetty (not the one
provided as the servlet I needed a later version) never gets started.
So how do I specify where that BundleActivator class is? I cannot find
documentation on this.
Secondly is there a way for it to generate the config.ini that I need in
the std directory layout defined in the quickstart?
Thx.
David
|
|
|
Re: How to specify BundleActivator class for OSGi launcher [message #46140 is a reply to message #46108] |
Tue, 10 February 2009 12:27 |
Eclipse User |
|
|
|
Originally posted by: david.roamware.co.uk
Hi,
A bit more digging and I found the Bundle-Activator: entry for the
MANIFEST.MF.
Is there a way to take the required jar dependencies in plugin.xml and
generate the required Bundle-Classpath: entry on each MANIFEST.MF?
thanks,
David
David Wynter wrote:
> Hi,
>
> I have developed 3 plugins, one depends on the other 2. In Debug
> configurations I select the 'top' one and click "Add Required Bundles".
> that works beuatifully. But there is no where to define where my class
> that implements BundleActivator resdies. So when I run it, it does not
> seem to find this class and thus the embedded Jetty (not the one
> provided as the servlet I needed a later version) never gets started.
>
> So how do I specify where that BundleActivator class is? I cannot find
> documentation on this.
>
> Secondly is there a way for it to generate the config.ini that I need in
> the std directory layout defined in the quickstart?
>
> Thx.
>
> David
|
|
|
|
Powered by
FUDForum. Page generated in 0.03404 seconds