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

PaScaL:
Thanks!
Thos sounds quite cool.

--
Cheers
Philippe

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


-----Original Message-----
From: equinox-dev-bounces@xxxxxxxxxxx
[mailto:equinox-dev-bounces@xxxxxxxxxxx] On Behalf Of Pascal Rapicault
Sent: Tuesday, July 04, 2006 6:22 PM
To: Equinox development mailing list
Cc: 'Equinox development mailing list'; equinox-dev-bounces@xxxxxxxxxxx
Subject: 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 :) 

PaScaL 
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>

To"'Equinox development mailing list'" <equinox-dev@xxxxxxxxxxx> 
cc<equinox-dev-bounces@xxxxxxxxxxx> 
Subject[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! >:)



--
Cheers
Philippe

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
equinox-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/equinox-dev