Skip to main content



      Home
Home » Eclipse Projects » Equinox » Update Bundles with P2 that are required by other bundles
Update Bundles with P2 that are required by other bundles [message #815124] Wed, 07 March 2012 04:03 Go to next message
Eclipse UserFriend
Hi,

I'm currently trying to get P2 working in our OSGI-based application. While Installing and Uninstalling seems to be working at the moment, I'm running into some problems with the update mechanism:
When I try to update a bundle A which exports a package that is imported by a second bundle B, the update operation can not be resolved.
It ends up with:
"'A' cannot be fully uninstalled because other installed software requires it.  The parts that are not required will be uninstalled."

The problem is of course very obvious: needed bundles cannot be uninstalled.
The question is: Do you have any ideas how I could update a bundle that is required by an other bundle?

best regards and thanks for your help in advance,
Daniel
Re: Update Bundles with P2 that are required by other bundles [message #822409 is a reply to message #815124] Fri, 16 March 2012 11:30 Go to previous message
Eclipse UserFriend
You would have to find the bundle or feature that explicitely install and requires it. For example in the following setup:
A -> B -> C

if updating C fails you would most likely have to update A.
Previous Topic:Event Admin Service. Thread configuration possible?
Next Topic:Control based authorization in eclipse RCP
Goto Forum:
  


Current Time: Fri Jul 04 15:12:26 EDT 2025

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

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

Back to the top