[ 
https://issues.apache.org/jira/browse/FELIX-1682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12764718#action_12764718
 ] 

Guillaume Nodet commented on FELIX-1682:
----------------------------------------

Yeah, I do understand that in this case, this is not really expected.
My goal was the following:  let's say a bundle A has been installed by the 
user, maybe through a feature installation.  The user later manually stopped 
this bundle.  Now, if you install bundle B that depends on bundle A somehow, 
what should happen to bundle A ?
Given the user explicitely stopped it, i don't think we should start it.  
That's the way fileinstall now works.

But I'll fix that by making sure we start all bundles that have not been 
persistently stopped.

> The newly installed bundles for a feature should be uninstalled when feature 
> install failed
> -------------------------------------------------------------------------------------------
>
>                 Key: FELIX-1682
>                 URL: https://issues.apache.org/jira/browse/FELIX-1682
>             Project: Felix
>          Issue Type: Improvement
>          Components: Karaf
>            Reporter: richard stone
>            Assignee: Guillaume Nodet
>            Priority: Minor
>             Fix For: karaf-1.0.2
>
>         Attachments: Felix-1682.patch
>
>
> Start Karaf 1.1.0 snapshot, type "features:install webconsole", at first, it 
> will throw an exception "can not get 
> org.apache.felix.karaf.webconsole.admin-1.1.0-SNAPSHOT.jar", run "osgi:list", 
> you can see some bundles listed in this feature(like 
> org.apache.felix.metatype) are installed. My point is if the feature install 
> failed then the newly installed bundles should be uninstalled.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to