Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Sorting a list of bundles, based on the dependencies between them
Sorting a list of bundles, based on the dependencies between them [message #1010979] Mon, 18 February 2013 10:46 Go to previous message
Cristian Mising name is currently offline Cristian Mising name
Messages: 72
Registered: July 2009
Member
Hello,

My plugin declares an extension point, used by various plugins. I would like to sort these contributing plugins, based on the dependencies between them. I.e. plugins on which others depend: at the beginning of the list; plugins that don't have dependencies: at the end.

E.g.:
PluginA depends on PluginB that depends on PluginC
PluginD has no dependencies

I would like to have them in the order: C, B, A, D.

I guess that this kind of sorting of the plugins is done by osgi as well, when it starts them, in order to ensure that when a plugin is started, for sure the plugins on which it depends are already started.

Have you got some pointers on how to achieve this?

Thank you in advance.

Best regards,
Cristian.
 
Read Message
Read Message
Read Message
Previous Topic:p2 eclipse.publish.featuresAndBundles does not ignor .svn files
Next Topic:Question about the OSGI console commands: packages& bundle
Goto Forum:
  


Current Time: Sat May 18 18:43:40 EDT 2013

Powered by FUDForum. Page generated in 0.01555 seconds