Ok! Thank you JB, If I understand right the feature deployment is not the same if you deploy it through a kar or a feature directly? The kar install all its embedded features + the transitive where the direct feature deployer only add the feature to the feature list. But what's append in the other use cases as update and remove.
Is there a different behavior regarding the deployer? I saw the documentation of the deployer: http://karaf.apache.org/manual/latest-2.2.x/users-guide/deployer.html But there is not description of the other use cases. Where I can find the details? Does I need to go to the code? Can I help by providing a table or something like that? Regards, Romain. Le vendredi 6 avril 2012, Jean-Baptiste Onofré a écrit : > Hi Romain, > > the deploy folder is managed by a set of deployers. > > deploy directory is monitored by Felix fileinstall which "delegates" the > file handling to a deployer: > - core file install deployer (for bundle and config file) > - feature deployer > - blueprint deployer > - kar deployer > - wrap deployer > > The behavior depends of the deployer. > > For instance, the kar deployer uncompress the kar file, lookup for feature > files and install all features in the feature files. > > The feature deployer register the feature URL (as features:add-url > command) but doesn't install a feature by default. > > The default Felix fileinstall deployer should start the bundle. > > Regards > JB > > On 04/06/2012 02:40 PM, Romain Gilles wrote: > >> Hi all, >> Someone can correct me if I'm wrong on my understanding of deploy >> directory behavior? >> bundle / feature / kar / configuration file: >> 1. drop new => install it but not start it. >> 2. update => refresh the corresponding bundle / features and associated >> bundles in case of feature or kar >> 3. remove => stop and uninstall corresponding bundle / features and >> associated bundles in case of feature and kar >> >> I'm not sure that kar archives are supported. >> >> Regards, >> >> Romain. >> >> > -- > Jean-Baptiste Onofré > [email protected] > http://blog.nanthrax.net > Talend - http://www.talend.com >
