OSGi Manifest change (patch)

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

OSGi Manifest change (patch)

Peter Taylor-5
Dear All,

Please find below a suggested patch to enable the project to work in an
Equinox/Eclipse OSGi container (again).

Without this change I have to change the manifest myself. The most
important change is the '-noimport:=true'.

I assume this will not cause a regression re: Issue #454, since I can't
believe any OSGi containers in this case require the same packages to be
BOTH imported and exported since the project is contained in a single
jar.

Thanks,
Peter Taylor

patch for glazedlists.bnd

28,29c28,31
< Export-Package: !ca.odell.glazedlists.impl.*,*
< Import-Package: *;resolution:=optional
\ No newline at end of file
---
> Export-Package: !ca.odell.glazedlists.impl.*,*;-noimport:=true
> Import-Package: *;resolution:=optional
>
> -nouses=true

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

Reply | Threaded
Open this post in threaded view
|

Re: OSGi Manifest change (patch)

hbrands
Administrator
Hi Peter,

would you mind explaining your problem with the current manifest a little bit more?
Was there a non-compatible change in the Equinox/Eclipse OSGi container?
Or did the changes for issue 454 caused the problems in Equinox?

Just trying to understand a bit more, as I'm no OSGi user/expert. ;-)
Other OSGi users are encouraged to review the patch, too.

Thanks,
Holger

2010/4/7 Peter Taylor <[hidden email]>
Dear All,

Please find below a suggested patch to enable the project to work in an
Equinox/Eclipse OSGi container (again).

Without this change I have to change the manifest myself. The most
important change is the '-noimport:=true'.

I assume this will not cause a regression re: Issue #454, since I can't
believe any OSGi containers in this case require the same packages to be
BOTH imported and exported since the project is contained in a single
jar.

Thanks,
Peter Taylor

patch for glazedlists.bnd

28,29c28,31
< Export-Package: !ca.odell.glazedlists.impl.*,*
< Import-Package: *;resolution:=optional
\ No newline at end of file
---
> Export-Package: !ca.odell.glazedlists.impl.*,*;-noimport:=true
> Import-Package: *;resolution:=optional
>
> -nouses=true

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