not so sure if we don't mix up this with KARAF-201 [1]. Scanned the mailing list, the jira and my brain for a discussion for such a mechanism and couldn't find one. While it might be possible doing something like this with post-scripts (as described in [1]) it might still be better to have something dedicated for this --> It might be a good idea discussing this now and trying to forge an issue from it :-).
One idea which jumps into my mind is something like: add a new tag to the features.xml; something like optional-extension. If you enter scr and webconsole there it could be installed automatically once both of the others are installed. We can scan for such features after each feature install. I think it wouldn't be too hard to implement that way and could come in quite handy for the current webconsole and the future karaf-webconsole. WDYT? Kind regards, Andreas [1] https://issues.apache.org/jira/browse/KARAF-201 On Tue, Jul 24, 2012 at 10:35 PM, Scott England-Sullivan <[email protected]> wrote: > Having a trigger mechanism for features would be very useful. It dawned on > me while looking into this so its good to hear that it is already in > discussion. > > I will just go with webconsole-scr for the moment and add some doco to the > Karaf site. > > Thanks for the input. :-) > > Best Regards, > Scott ES > > On Tue, Jul 24, 2012 at 2:34 PM, Achim Nierbeck > <[email protected]>wrote: > >> Hi >> >> yeah, somewhere in the dev threads there is a discussion about this :) >> There should be even some issue for this. >> It was decided to postpone this to 3.1 :) >> >> regards, Achim >> >> >> 2012/7/24 Ioannis Canellos <[email protected]>: >> > In the past in a similar situation we had something like somefeature and >> > webconsole-somefeature. >> > >> > Now, I think that it was Andreas or Achim that proposed to extend the >> > feature service to support something like triggers that would install >> extra >> > bundles for a feature when some conditions are meet. >> > In that case it would install webconsone-scr if scr is installed and >> > webconsole is also installed. >> > >> > >> > >> > >> > >> > >> > -- >> > *Ioannis Canellos* >> > * >> > FuseSource <http://fusesource.com> >> > >> > ** >> > Blog: http://iocanel.blogspot.com >> > ** >> > Twitter: iocanel >> > * >> >> >> >> -- >> >> Apache Karaf <http://karaf.apache.org/> Committer & PMC >> OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> >> Committer & Project Lead >> OPS4J Pax for Vaadin >> <http://team.ops4j.org/wiki/display/PAXVAADIN/Home> Commiter & Project >> Lead >> blog <http://notizblog.nierbeck.de/> >> > > > > -- > -- > Scott England-Sullivan > ---------------------------------- > FuseSource > Web: http://www.fusesource.com > Blog: http://sully6768.blogspot.com > Twitter: sully6768
