On 03/18/2009 06:28 PM, Dmitry Skavish wrote:
    1. Set org.osgi.framework.system.packages.extra to the packages you
       want to expose from the class path, which causes the system bundle
       to export them.

That's what I wanted to avoid, putting all those hundreds of packages into this 
property. It just does not seem right.

Well, then you are basically eliminating all preferred options. Your only choice is to use boot delegation "*".

Why is it you want to avoid setting the property? It wouldn't be too difficult to write a script to scan your JARs to define what the value should be. Further, you might be able to use BND to narrow the list down to only the packages you need to export.

-> richard

--
Dmitry Skavish

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

Reply via email to