What would be the effect ? installing the feature or starting the bundles, or both ? I think dropping a feature descriptor in the deploy folder should automatically install the feature (and start the bundles), I'm not sure to see what the benefit of not doing that would be.
On Fri, May 27, 2011 at 10:54, Jean-Baptiste Onofré <[email protected]> wrote: > Hi all, > > What do you think about adding an autostart attribute on the features element > ? > > The purpose is to be able to have something like: > > <feature name="myfeature" version="1.0-SNAPSHOT" autostart="true"> > ... > </feature> > > When an user register a features descriptor (using features:addurl), deploy a > KAR containing a features descriptor or drop a features descriptor in the > deploy folder, Karaf will try to automatically start the features with > autostart flag set to true. > > It will avoid users to: > - start by hand features contained in a KAR: the user can drop the KAR into > the deploy folder, but he must connect to Karaf and start the features by hand > - start by hand features after an addurl when the user "controls" the > features content > > Thoughts ? > > Regards > JB > > > > -- ------------------------ Guillaume Nodet ------------------------ Blog: http://gnodet.blogspot.com/ ------------------------ Open Source SOA http://fusesource.com
