Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » How to specify BundleActivator class for OSGi launcher
How to specify BundleActivator class for OSGi launcher [message #46108] Tue, 10 February 2009 11:59 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
Re: How to specify BundleActivator class for OSGi launcher [message #591722 is a reply to message #46108] Tue, 10 February 2009 12:27 Go to previous message
David Wynter is currently offline David WynterFriend
Messages: 4624
Registered: July 2009
Senior Member
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
Previous Topic:How to specify BundleActivator class for OSGi launcher
Next Topic:why my svn in eclipse 3.4.1 doesn't display the file version number and modified state?
Goto Forum:
  


Current Time: Mon Jun 14 15:26:26 GMT 2021

Powered by FUDForum. Page generated in 0.02024 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top