Yes, you can take advantage of the fact that that system bundle
exports javax.* as version 0.0.0. However this requires consistency:
your own export must be higher than 0.0.0 (e.g. 1.0.0) and all bundles
importing the package must import at least 1.0.0.

Unfortunately this consistency can be difficult to achieve in the
presence of third party bundles.

On Thu, Aug 22, 2013 at 12:17 PM, bieniekmat <[email protected]> wrote:
> Thanks for you help.
>
> I would not know how to do that since my own implementation is in my own
> bundle, so exporting it with packages.extra probably is not possible.
>
> A colleague at work suggested a simple solution - specifying the versions of
> the bundles to force the bundle to use my own bundle's implementation.
>
> Regards,
> Mat
>
>
>
> --
> View this message in context: 
> http://apache-felix.18485.x6.nabble.com/Specify-packages-that-should-not-be-exported-by-Felix-framework-tp5004647p5004650.html
> Sent from the Apache Felix - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>

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

Reply via email to