Hi Marco,

karaf 2.2.4 is quite ancient. Can you try to reproduce this with the most current 2.2.x (2.2.11) ? I am quite sure that uninstalling a feature should also uninstall the subfeatures. (As long as they are not used in other features)

Christian

Am 01.08.2013 11:01, schrieb Marco Westermann:
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




--
Christian Schneider
http://www.liquid-reality.de

Open Source Architect
Talend Application Integration Division http://www.talend.com

Reply via email to