Skip to main content



      Home
Home » Eclipse Projects » Virgo » Disable Automatic Fragment Resolution
Disable Automatic Fragment Resolution [message #855512] Tue, 24 April 2012 18:16 Go to next message
Eclipse UserFriend
Hi,

I'm installing a set of bundles using a plan in Virgo. Virgo automatically pulls in all related fragments from my repository.

I have many fragments that are optional and I do not want them pulled in automatically. Is there any way to disable this behavior? I just want to explicitly list the fragments I want in my plan file.
Re: Disable Automatic Fragment Resolution [message #865648 is a reply to message #855512] Mon, 30 April 2012 10:01 Go to previous message
Eclipse UserFriend
Hi,

There isn't any way to do this at present, both fragments and optional dependencies must be wired to a bundle when it is being resolved. Changing that after resolution requires your bundle to be refreshed. We have looked at a way of marking a plan as being transitively complete (disable auto provisioning) that would do some of what you want. It would stop fragments from attaching as long as they aren't already installed in the framework. This will be available in the upcoming 3.5.0 release. Have a look at https://bugs.eclipse.org/bugs/show_bug.cgi?id=315869 for more details.

Chris.
Previous Topic:Fail to load bundle from repository
Next Topic:trouble changing the greenpages sample to use hibernate
Goto Forum:
  


Current Time: Sun May 18 20:09:06 EDT 2025

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

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

Back to the top