Well, if you are getting an "unresolved package" exception, then putting
it on the boot delegation property will not help, since this does not
provide it as an export to resolve the bundle's import of that package.
Boot delegation automatically gives bundles access to a class without
having to import it at all.
However, adding it to the org.osgi.framework.system.packages property
should work, but you cannot just add "sun" and "com.sun", you need to
add the explicit package you need to export from the class path, e.g.,
"sun.java2d" in your case.
-> richard
Elvy wrote:
hi all,
"org.osgi.framework.BundleException: Unresolved package in bundle 4:
package; (package=sun.java2d)"
As you can see, I'm having issues resolving the package sun.java2d.
I tried setting this on my config.properties file :
org.osgi.framework.bootdelegation=sun.*,com.sun.*, but it doesn't get any
better.
I even tried to add sun and com.sun to org.osgi.framework.system.packages
but that fails too.
I assume Felix does concider the bootdelegation property.
Some please help me !! :-((
-----
Tell me something you don't know!
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]