views:

30

answers:

2

Hello,

I've created one main bundle in wich one I've installed the equinox p2. Then I export it to obtain an executable. My executable works correctly.

I've also created one other Bundle that interact witt the first one. In eclipse, if I create a product configuration with this 2 bundles and run the product, everything works. After that, I export my second Bundle as a "deployable feature" and then I install this bundle wihtin my application via the "help->install new software". I'm able to install it, however, my Bundle stay always in the state "RESOLVED" even I restart my application. I'd like to set the state as "ACTIVE".

Do you know if I can configure somehting to autostart my bundle as I did in my "Product configuration"? Or is there an another solution?

Many thanks,

Bati

+1  A: 

Hi,

try to start your bundle manually with command line command "start ". It seems that there are some problems in BundleActivator of your bundle. I should get some logs (errors/warnings). Hope this helps you to resolve your problem.

Regards, Dmytro

Dmytro Pishchukhin
+1  A: 

The RESOLVED state is not an error state, it simply means nobody has activated your bundle. Why do you need it to be ACTIVE? Is there some other error caused by the fact that it is not ACTIVE?

Otherwise, if your application is working then just don't worry about it.

Neil Bartlett