Hello,

So I've run into this a few times in my own development but also in
using bundles supplied by other people.  I seem to be having a problem
where a packaging that I'm importing with a version can't be resolved
even though a bundle supplying that package with that version is
available and active.  Digging further I find that my Import-Package
is

Import-Package: org.apache.http;version="4.0"

but that the bundle that supplies it is exporting the package using

Export-Package: org.apache.http
Bundle-Version: 4.0

I had originally thought that if the package being exported didn't
have an explicit version set for it, that the bundle version would be
used.  But this doesn't seem to be the case as my import fails.  So is
it really necessary to specify the version explicitly  on each package
being exported?  Or is this maybe a bug in the version of Felix I'm
using, 1.2?

Thanks,
Rich

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to