karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré ...@nanthrax.net>
Subject Re: [PROPOSAL] Features autostart attribute
Date Wed, 12 Oct 2011 06:45:07 GMT
Hi guys,

FYI, I added the features autostart in the KarDeployer.

On trunk, I will start to create OSGi services for several modules: KAR, 
config, wrapper, etc. The purpose is to be able to easily plug shell 
commands and MBeans without code duplication.

Back to the features behavior, currently we have:
- bootFeatures that are installed by default at startup
- "KAR features" that are installed at KAR deployment

It means, that if an user performs:

features:addurl ...

no features will be installed by default, the user has to install 
features by hand.

So, maybe, the only requirement is to install features when a features 
repository is added.


On 10/12/2011 08:39 AM, Andreas Pieber wrote:
> Well, I don't think that your use case is as uncommon as you think :-) I do
> it exactly the same way in most of my projects. Therefore the autostart for
> the deploy folder only would make perfekt sense for me.
> Kind regards,
> Andreas
> On Wed, Oct 12, 2011 at 01:29, Ioannis Canellos<iocanel@gmail.com>  wrote:
>> I came across the following use case:
>> I want to create a custom feature descriptor, which I will
>> be dropping inside the karaf deploy folder.
>> Currently, all features will be installed. In my case I don't want all the
>> features installed. I just want one of them installed.
>> In this case an attribute like autostart, that would be *only* used when
>> dropping features.xml in the deploy folder could make some sense.
>> In my use case I need a to have a lot of features available but uninstalled
>> and have a single feature "decide" which other features need to be
>> installed.
>> I know that this is not the most common use case, but having this attribute
>> (working only for the deploy folder case) won't hurt anyone.
>> wdyt?
>> --
>> *Ioannis Canellos*
>> *
>> FuseSource<http://fusesource.com>
>> **
>> Blog: http://iocanel.blogspot.com
>> **
>> Apache Karaf<http://karaf.apache.org/>  Committer&  PMC
>> Apache ServiceMix<http://servicemix.apache.org/>   Committer
>> Apache Gora<http://incubator.apache.org/gora/>  Committer
>> *

Jean-Baptiste Onofré
Talend - http://www.talend.com

View raw message