Typically the version is inserted by bnd based on the version it compiles
against. If you are compiling it against R4.3 API and then deploying to an
R4.2 framework, then you might see this issue. You should always compile
against the lowest required version.

-> richard

2011/10/4 Benoît Thiébault <[email protected]>

> Hi,
>
> When starting my bundle, I have the following error:
>
> org.osgi.framework.BundleException: Unresolved constraint in bundle
> org-keridwen-vtk-linux64b [12]: Unable to resolve 12.0: missing
> requirement [12.0] package;
> (&(package=org.osgi.framework)(version>=1.6.0)(!(version>=2.0.0)))
>
> In the bundle manifest, I have the following entry:
> <Import-Package>
> org.osgi.framework,
> javax.swing.*
> </Import-Package>
>
> The osgi framework is set as an import, but no version is provided.
> How can I know what version to set here? I guess it depends on my felix
> install? How do I know what version is exported by the my felix
> framework?
>
> Kind regards
>
> Ben
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to