Hi,
I was playing around with the Equinox resolver and state and observed something
that confused me.
I get a state object from PlatformAdmin and add some bundle descriptions that I
know won't be able to resolve - for example they trigger a uses conflict.
I call resolve and after that
The isResolved() method does not indicate that every bundle in the state is
in the resolved state. As the javadoc states it only indicates that the
State has not been modified since the last call to one of the State.resolve
methods. This method is intended to indicate that the State needs a
Thanks for the clarification :)
So there isn’t a way to get only the bundle descriptions that has a resolver
error. You have to check them all.
Best Regards
Borislav
From: equinox-dev-boun...@eclipse.org [mailto:equinox-dev-boun...@eclipse.org]
On Behalf Of Thomas Watson
Sent: Wednesday, July
There is no helper method on State to get only the bundle descriptions with
resolver errors. You should only have to get resolver errors for
descriptions that have BundleDescription.isResolved() return false. Once
that return true will have not resolver errors.
Tom
|
| From: