Hi, Do we have to use Require-Bundle here? I would think Import-Package of packageX with the mandatory attribute should wire bundle 2 to bundle 1.
Here's my understanding of your scenario: Bundle1: Export-Package:x;partial=true;mandatory:=partial Bundle2: Import-Package:x;partial=true Export-Package:x Any other bundles - should be wired to bundle 2: Import-Package:x Lin On Tue, Dec 8, 2009 at 11:27 PM, Jarek Gawor <[email protected]> wrote: > The best solution is of course the remove the split package problem in > the first place. But if that's not possible, another solution is to > combine the mandatory attribute trick with Require-Bundle. That is, > bundle 1 exports package X with some mandatory attribute and bundle 2 > has Require-Bundle on bundle 1 (and also exports package X). So all > imports on package X would always be wired to bundle 2 and bundle 2 > would have access to all classes in package X. Do I have that right?
