You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by asookazian2 <as...@gmail.com> on 2014/03/10 17:31:36 UTC
uninstalling multiple bundles in one command
I have the following features.xml that I feature:repo-add and
feature:install.
<features xmlns="http://karaf.apache.org/xmlns/features/v1.0.0">
<feature name="fancyfoods" version="1.0.0">
<bundle>mvn:fancyfoods/fancyfoods.api/1.0.0</bundle>
<bundle>mvn:fancyfoods/fancyfoods.web/1.0.0</bundle>
<bundle>mvn:fancyfoods/fancyfoods.business/1.0.0</bundle>
<bundle>mvn:fancyfoods/fancyfoods.datasource/1.0.0</bundle>
<bundle>mvn:fancyfoods/fancyfoods.persistence/1.0.0</bundle>
<bundle>mvn:fancyfoods/fancyfoods.department.chocolate/1.0.0</bundle
<bundle>mvn:fancyfoods/fancyfoods.department.cheese/1.0.0</bundle>
</feature>
</features>
What is the easiest/best way to uninstall all the bundles from karaf 3.0.0?
i know about the range like uninstall 25-31 but sometimes there is skipping
in the bundle ID's during installation, etc. so that range uninstall cmd
doesn't always work. thx.
--
View this message in context: http://karaf.922171.n3.nabble.com/uninstalling-multiple-bundles-in-one-command-tp4032157.html
Sent from the Karaf - User mailing list archive at Nabble.com.
Re: uninstalling multiple bundles in one command
Posted by Achim Nierbeck <bc...@googlemail.com>.
At this point it is best to uninstall the feature since you don't have any
transitive dependencies.
regards, Achim
sent from mobile device
Am 10.03.2014 17:32 schrieb "asookazian2" <as...@gmail.com>:
> I have the following features.xml that I feature:repo-add and
> feature:install.
>
> <features xmlns="http://karaf.apache.org/xmlns/features/v1.0.0">
> <feature name="fancyfoods" version="1.0.0">
> <bundle>mvn:fancyfoods/fancyfoods.api/1.0.0</bundle>
> <bundle>mvn:fancyfoods/fancyfoods.web/1.0.0</bundle>
> <bundle>mvn:fancyfoods/fancyfoods.business/1.0.0</bundle>
> <bundle>mvn:fancyfoods/fancyfoods.datasource/1.0.0</bundle>
> <bundle>mvn:fancyfoods/fancyfoods.persistence/1.0.0</bundle>
> <bundle>mvn:fancyfoods/fancyfoods.department.chocolate/1.0.0</bundle
> <bundle>mvn:fancyfoods/fancyfoods.department.cheese/1.0.0</bundle>
> </feature>
> </features>
>
> What is the easiest/best way to uninstall all the bundles from karaf 3.0.0?
>
> i know about the range like uninstall 25-31 but sometimes there is skipping
> in the bundle ID's during installation, etc. so that range uninstall cmd
> doesn't always work. thx.
>
>
>
> --
> View this message in context:
> http://karaf.922171.n3.nabble.com/uninstalling-multiple-bundles-in-one-command-tp4032157.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>