As far as I can recall, this should be possible. The Subsystems
specification even has an example of a similar scenario in Figure 134.2.

Please open a JIRA [1] and attach your composite and dependent bundle.

[1] https://issues.apache.org/jira/browse/ARIES/


Manuel Holzleitner <[email protected]> wrote on 08/06/2015
04:08:33 AM:

> From: Manuel Holzleitner <[email protected]>
> To: [email protected]
> Date: 08/06/2015 05:20 AM
> Subject: Composite Subsystems Export-Package
>
> Hi,

> I have a question w.r.t. to subsystems with the composite type. I
> have created a composite subsystem that contains a bundle which
> exports a package. I added this package also to the Export-Package
> of the SUBSYSTEM.MF. If I now try to deploy a bundle which imports
> this package in the OSGI container (root region) it fails to resolve
> the exported package from the subsystem. If I use a feature
> subsystem the package can be resolved.

> Is it generally possible to import packages in the root region from
> explicitly exported packages of composite subsystems?

> Kind Regards,
> Manuel

Reply via email to