Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsImport-Bundle resolution not able to import packages
https://www.eclipse.org/forums/index.php/mv/msg/460868/1021016/#msg_1021016
With 3.5.0 I'm finding that whenever I import a bundle using Import-Bundle I have to specify the version, the implicit 0.0.0 never finds the bundle that's there (no version conflict either). Further, I also have to specify one package from that bundle in the Import-Package declaration, also with an explicit version otherwise none of the packages are found from it. After adding just one package import, all the other packages from the imported bundle are then resolved.
So like this:
1. Add Import-Bundle with no version specified: ClassNotFound, etc.
2. Add version to Import-Bundle: Cannot satisfy import constraint on package;version="0.0.0" which that bundle exports.
3. Add an Import-Package for that package without version. Still cannot satisfy.
4. Add version to Import-Package: all other packages exported from the imported bundle are now resolved.
Is this normal?
I'm not sure what other debugging information it would help to provide.
Thanks, Dan.]]>Daniel McGreal2013-03-19T11:21:28-00:00Re: Import-Bundle resolution not able to import packages
https://www.eclipse.org/forums/index.php/mv/msg/460868/1037470/#msg_1037470
]]>Glyn Normington2013-04-09T15:40:15-00:00