|State doesn't return all plugin versions [message #644627]
||Mon, 13 December 2010 09:31
Registered: June 2010
I am using org.eclipse.osgi.service.resolver.State to get all versions of a Plugin installed i.e. latest version and older versions.|
The code I'm using is:
PlatformAdmin platformAdmin = Platform.getPlatformAdmin();
State state = platformAdmin.getState();
BundleDescription bundles = state.getBundles("com.my.plugin");
The State.getBundles(String symbolicName) is supposed to return all bundle descriptions with the given bundle symbolic name.
However, it is only returning the latest version 2.0.0. Older version 1.0.0 is not picked up.
Powered by FUDForum
. Page generated in 0.02419 seconds