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

Richard S. Hall commented on FELIX-3566:
----------------------------------------

Agreed about letting the user be in control.

With regards to default, I've had this argument with Peter Kriens numerous 
times, although I was generally on the opposite side of the argument. Peter 
feels the framework is in an inconsistent state after an update and that a 
refresh needs to be performed at some point to get it back to a consistent 
state. I don't agree with that sentiment, but I accept that it requires an 
expert to understand when it is or isn't ok to refresh.

Thus, as a default, I think it makes more sense to refresh, since that will 
generally get you back in a reasonable state, even if it ends up refreshing 
multiple times.
                
> OBR should perform a refreshPackages after deploy
> -------------------------------------------------
>
>                 Key: FELIX-3566
>                 URL: https://issues.apache.org/jira/browse/FELIX-3566
>             Project: Felix
>          Issue Type: Improvement
>          Components: Bundle Repository (OBR)
>    Affects Versions: bundlerepository-1.6.6
>            Reporter: Dan Gravell
>            Priority: Minor
>
> After invoking deploy() in a Resolver, perhaps the OBR should perform a 
> refreshPackages so that the OSGi runtime clears out any old, un-needed 
> bundles.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to