[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] How to get a bundle depdency graph

For this I would use the StateHelper class ( org.eclipse.osgi.service.resolver)
It will also help you to see which dependencies are not satisfied. Note that PDE Build also makes use of this class in the BuildTimeSite class (see getRegistry).
Note also that when I was referring to the PDEState class, I was suggesting that you may want to copy it :)

Ps: fait moi confiance, c'est ce dont tu as besoin.

"Philippe Ombredanne" <pombredanne@xxxxxxxxx>
Sent by: equinox-dev-bounces@xxxxxxxxxxx

07/04/2006 09:05 PM

Please respond to
Equinox development mailing list <equinox-dev@xxxxxxxxxxx>

"'Equinox development mailing list'" <equinox-dev@xxxxxxxxxxx>
[equinox-dev] How to get a bundle depdency graph

Another related question:
How could I obtain the dependency graph of a bundle to be able to report
on it?
Typically I would like to find useless  bundles that are there,
resolvable, but would never be activated because they provide no
servcies, or none uses their services.(criteria TBD)
And once found, whack'em savagely, those pesky space hogs! >:)


philippe ombredanne | 1 650 799 0949 | pombredanne at nexb.com
nexB - Open by Design (tm) - http://www.nexb.com
http://EasyEclipse.org  -  irc://irc.freenode.net/easyeclipse

equinox-dev mailing list