문제

I've created one main bundle in which 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 interacts with the first one. In eclipse, if I create a product configuration with these 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 stays always in the state "RESOLVED" even if 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?

도움이 되었습니까?

해결책

Try to start your bundle manually with the commandline command "start ". It seems that there are some problems in BundleActivator of your bundle. You should get some logs (errors/warnings).

다른 팁

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top