You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2014/03/05 07:40:44 UTC

[jira] [Resolved] (KARAF-2797) Allow FeaturesService to specify options during feature uninstallation

     [ https://issues.apache.org/jira/browse/KARAF-2797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré resolved KARAF-2797.
-----------------------------------------

    Resolution: Fixed

> Allow FeaturesService to specify options during feature uninstallation
> ----------------------------------------------------------------------
>
>                 Key: KARAF-2797
>                 URL: https://issues.apache.org/jira/browse/KARAF-2797
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-feature
>    Affects Versions: 2.3.4
>            Reporter: Grzegorz Grzybek
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.4.0, 3.0.1, 3.1.0, 2.3.5
>
>
> Feature unintallation causes refreshing all packages of OSGi system:
> {code:java}
> org.osgi.service.packageadmin.PackageAdmin.refreshPackages(null)
> {code}
> that's usually reasonable. But sometimes it'd be better to uninstall some features and then perform the refreshing.
> My case is a test scenarion when I want to iterate over available features and install+uninstall each of them. Refreshing all packages causes unexpected behaviour of e.g., PAX Exam system.



--
This message was sent by Atlassian JIRA
(v6.2#6252)