You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by th...@artenum.com on 2011/11/11 12:15:19 UTC
missing requirement apple.awt
Hi list,
I have an error message when starting a bundle on Mac OS X:
missing requirement [19.0] package; (package=apple.awt) [caused by: Unable to resolve 1.0: missing requirement [1.0] host; (bundle-symbolic-name=system.bundle)]
I know there is a problem with AWT on OS X, as I explained here:
http://dev.artenum.com/blog/ben/posts/osgi_vtk_and_macosx
and as discussed here:
http://www.mail-archive.com/users@felix.apache.org/msg08864.html
This is why I created the bundle that is numbered 1 in my felix instance:
1|Installed | 1|Apple AWT export module (1.0.0)
This is an empty jar with the following manifest :
Manifest-Version: 1.0
Export-Package: apple.awt
Fragment-Host: system.bundle
Bundle-Version: 1.0.0
Bundle-Name: Apple AWT export module
Created-By: 1.6.0_22 (Apple Inc.)
Bundle-ManifestVersion: 2
Bundle-SymbolicName: apple.awt
But when I run the gogo command:
inspect package capability apple.awt
I have:
apple.awt [1] exports packages:
-------------------------------
Nothing
Which seems inconsistent with the bundle manifest.
I also changed the configuration file by adding:
org.osgi.framework.bootdelegation=apple.*
without success.
Any idea why it does not work?
Kind regards
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org
Re: missing requirement apple.awt
Posted by Felix Meschberger <fm...@adobe.com>.
Hi
Am 11.11.2011 um 12:15 schrieb <th...@artenum.com>:
> Hi list,
>
> I have an error message when starting a bundle on Mac OS X:
>
> missing requirement [19.0] package; (package=apple.awt) [caused by: Unable to resolve 1.0: missing requirement [1.0] host; (bundle-symbolic-name=system.bundle)]
>
> I know there is a problem with AWT on OS X, as I explained here:
> http://dev.artenum.com/blog/ben/posts/osgi_vtk_and_macosx
> and as discussed here:
> http://www.mail-archive.com/users@felix.apache.org/msg08864.html
>
> This is why I created the bundle that is numbered 1 in my felix instance:
> 1|Installed | 1|Apple AWT export module (1.0.0)
>
> This is an empty jar with the following manifest :
> Manifest-Version: 1.0
> Export-Package: apple.awt
> Fragment-Host: system.bundle
I suspect this is the wrong Fragment-Host header.
This should probably read:
Fragment-Host: system.bundle;extension:=framework
The crucial part is the extension directive.
Regards
Felix
> Bundle-Version: 1.0.0
> Bundle-Name: Apple AWT export module
> Created-By: 1.6.0_22 (Apple Inc.)
> Bundle-ManifestVersion: 2
> Bundle-SymbolicName: apple.awt
>
> But when I run the gogo command:
> inspect package capability apple.awt
>
> I have:
> apple.awt [1] exports packages:
> -------------------------------
> Nothing
>
> Which seems inconsistent with the bundle manifest.
>
> I also changed the configuration file by adding:
> org.osgi.framework.bootdelegation=apple.*
>
> without success.
>
> Any idea why it does not work?
>
> Kind regards
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org