Another option is to update RecursiveBundleTracker to use the system bundle context which will give it the same functionality as the composite bundle support for the recursive bundle tracker when using Aries Subsystems. This way code that currently uses RecursiveBundleTracker can remain unchanged and it will work on subsystems like it did for composite bundles. I know we have done this in order to get code to work on the Aries subsystems implementation. I can provide a fix for that to RecursiveBundleTracker if we decide to do that instead.
Tom Guillaume Nodet <[email protected]> wrote on 05/30/2017 06:29:29 AM: > From: Guillaume Nodet <[email protected]> > To: [email protected] > Date: 05/30/2017 06:29 AM > Subject: Re: [HEADS UP] Merge aries util and util-r42 > > One thing we may want to investigate before a new release is to remove the > support for composite bundles (and all dependent code), which afaik, aren't > supported anymore in equinox since a long time. > > > https://github.com/apache/aries/blob/trunk/util/util/src/main/java/ > org/apache/aries/util/tracker/RecursiveBundleTracker.java#L88-L97 > > 2017-05-30 13:07 GMT+02:00 Christian Schneider <[email protected]>: > > > I created a branch for the change here: > > https://github.com/cschneider/aries/tree/merge-util > > > > Christian > > > > > > On 30.05.2017 11:35, Christian Schneider wrote: > > > >> We are currently maintaining 2 different util bundles. > >> One seems to be working on OSGi 4.2 while the other one adds some 4.3.1 > >> features. > >> > >> As 4.2 is quite ancient now I propose we merge the two projects and only > >> provide a util bundle that works for >= 4.3. > >> I will provide the change in a PR for review. > >> Please speak up if there is a reason to keep the separation. > >> > >> Christian > >> > >> > > -- > > Christian Schneider > > http://www.liquid-reality.de > > > > Open Source Architect > > http://www.talend.com > > > > > > > -- > ------------------------ > Guillaume Nodet
