karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Grzegorz Grzybek (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KARAF-2797) Allow FeaturesService to specify options during feature uninstallation
Date Fri, 28 Feb 2014 13:48:19 GMT
Grzegorz Grzybek created KARAF-2797:
---------------------------------------

             Summary: 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


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.1.5#6160)

Mime
View raw message