I do not consider myself stupid but I forgot the scr feature quite often
and wondered why my bundles do nothing :-)
So I think the requirement for the extender is an important part.
I also wonder if we could check the requirements when doing simple
bundle installs. There could at least be a warning that a requirement is
not fulfilled. Currently the bundle installs and starts but does not
work and you see nothing in the logs.
Christian
On 18.05.2016 09:22, Jean-Baptiste Onofré wrote:
I agree with Christian: honestly, I don't think installing SCR feature
by default is a good idea, and I would also remove blueprint feature
by default (it's already planned for Karaf 4.1.x).
Users are not stupid: when they use @Component, they know they use
DS/SCR, so they need they relay on the scr feature. The same when they
use a blueprint XML.
Regards
JB
--
Christian Schneider
http://www.liquid-reality.de
Open Source Architect
http://www.talend.com