On Dec 15, 2009, at 10:15 , Felix Meschberger wrote:

> If your other bundle is exporting the javax.* packages with an explicit
> version you might import-package the packages in your user bundle with
> the "same" version.
> 
> E.g. the provider exports javax.servlet;version=2.5, so you may declare
> 
>  Import-Package: javax.servlet;version=2.5
> 
> and get the proper export.

Just to be 100% correct, that import statement will import any version starting 
at 2.5 and higher. It might be a little detail, but it's something that might 
bite you if you misinterpret that.

Greetings, Marcel


_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to