Hi Xav,

feature:uninstall doesn't uninstall the transitive/dependency features defined in a feature.

Now, it's done on master (4.0.0-SNAPSHOT).
For the other branches, I created a Jira to add the -r option:

https://issues.apache.org/jira/browse/KARAF-1047

Regards
JB

On 06/03/2014 01:37 PM, xav wrote:
Hi all,

I use karaf 2.3.5:

If I have the following features:
<feature name='app' version='0.1.0' >
    <feature version='0.1.0'>app-1</feature>
    <feature version='0.1.0'>app-2</feature>
  </feature>
  <feature  name='app-1'  version='0.1.0'   >
     <bundle>mvn:org.apache......</bundle>
     <bundle>mvn:org.apache......</bundle>
  </feature>
  <feature  name='app-2'  version='0.1.0'   >
     <bundle>mvn:org.apache......</bundle>
     <bundle>mvn:org.apache......</bundle>
  </feature>

to install, if I do features:install app, all dependent features are
installed.
I would like to do the same thing to uninstall, but features:uninstall app
uninstall only app, is there a workaround, to uninstall all features in the
same time.
More over, I have a bundle, which start, and stop feature (I use
FeaturesService installFeature/uninstallFeature  to do that), how can I do
that without iterate on all features?

regards

Xav



--
View this message in context: 
http://karaf.922171.n3.nabble.com/features-uninstall-tp4033392.html
Sent from the Karaf - User mailing list archive at Nabble.com.


--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to