karaf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marco Westermann ...@intersales.de>
Subject installing / uninstalling features
Date Thu, 01 Aug 2013 09:01:10 GMT
Hi,

I successfully created some feature for my osgi-bundles but I have a 
little issue with installing respectively uninstalling.

lets say I have three features defined as follows

<features>
     <feature name="part1">
         <bundle>mvn:group/artifact1/1.0.0</bundle>
     </feature>
     <feature name="part2">
         <bundle>mvn:group/artifact2/1.0.0</bundle>
     </feature>
     <feature name="theHolePackage">
         <feature>part1</feature>
         <feature>part2</feature>
     </feature>
</features>

when I now execute features:install theHolePackage karaf installs 
features part1 and part2 and therefor the two bundles defined by the 
features.

but when I now execute features:uninstall theHolePackage karaf marks the 
feature as uninstalled but it doesnt uninstall the bundles. I explicitly 
have to uninstall the features part1 and part2 so that my bundles are 
beeing uninstalled. Is that the expected behaviour or is this a bug in 
features command?

btw: I use karaf 2.2.4

regards, Marco


-- 
++ Business-Software aus einer Hand ++
++ Internet, Warenwirtschaft, Linux, Virtualisierung ++
http://www.intersales.de
http://www.eisxen.org
http://www.tarantella-partner.de
http://www.medisales.de
http://www.eisfair.net

interSales AG Internet Commerce
Subbelrather Str. 247
50825 Köln

Tel  02 21 - 27 90 50
Fax  02 21 - 27 90 517
Mail isinfo@intersales.de
Mail mw@intersales.de
Web  www.intersales.de

Handelsregister Köln HR B 30904
Ust.-Id.: DE199672015
Finanzamt Köln-Nord. UstID: nicht vergeben
Aufsichtsratsvorsitzender: Michael Hippler
Vorstand: Andrej Radonic, Peter Zander


Mime
View raw message