It's possible, but unfortunately quite cumbersome. There is no way to
remove a single package, instead you have to list all of the packages
you still want using the 'org.osgi.framework.system.packages'
property. So you'll have to copy the existing value and then remove
just the package you don't want.

However, why do you need to do this? There is in general no need to
remove system exports just because another bundle exports the package;
OSGi can cope with multiple exports of the same package.

Incidentally you can easily *add* individual packages by listing them
with the 'org.osgi.framework.system.packages.extra' property.

Neil

On Thu, Aug 22, 2013 at 11:48 AM, bieniekmat <[email protected]> wrote:
> Hello,
>
> Thanks for creating Felix, I love it!
>
> Felix exports many useful packages using org.osgi.framework.system.packages,
> but it also exports a package that I do not want. I export my own version of
> the package with one of the bundles.
>
> Is there any way I could specify that I do not want Felix framework to
> export a javax.X package?
>
>
> Thanks!
>
>
>
> --
> View this message in context: 
> http://apache-felix.18485.x6.nabble.com/Specify-packages-that-should-not-be-exported-by-Felix-framework-tp5004647.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