felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guillaume Sauthier <Guillaume.Sauth...@objectweb.org>
Subject Re: Bnd: Exporting META-INF ?
Date Wed, 19 Mar 2008 09:02:49 GMT
Alin Dreghiciu wrote:
> I "especially" requested that from Peter K a while ago. Mainly my
> request was related to not export META-INF if you used * in
> Export-Package instruction, if I recall it correctly. The reasoning
> was related to how are you going to use such a package if there is
> more then one bundle that exports it as it has no name space related
> to it. To what exporter will your importing bundle get wired? More,
> your bundle that imports the META-INF will only be wired to one
> exporter as split packages are only possible with Require-Bundle.
Hmm, is this still true when using Dynamic imports ?

> Alin
> On Wed, Mar 19, 2008 at 1:46 AM, Guillaume Sauthier
> <Guillaume.Sauthier@objectweb.org> wrote:
>> Hi all
>>  I've an issue with Bnd (in maven-bundle-plugin): I want to export the
>>  META-INF "package", because some files that are inside are searched by
>>  external applications (not to name them : JSF impl) and, even when I
>>  explicitely put Export-Package META-INF in my .bnd file, they never show
>>  up in my resulting Manifest.
>>  I'm not 100% sure about that, but I never read that exporting that
>>  special entry was forbidden in OSGi. This is a best practice that is
>>  enforced by Bnd when building the bundle Manifest :)
>>  Does someone has a trick to export the META-INF ? Or maybe that's
>>  forbidden ?
>>  Cheers
>>  --Guillaume

  • Unnamed multipart/mixed (inline, None, 0 bytes)
View raw message