felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard S. Hall (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FELIX-3566) OBR should perform a refreshPackages after deploy
Date Wed, 20 Jun 2012 22:59:42 GMT

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

Richard S. Hall commented on FELIX-3566:

Probably, for legacy reasons. But in reality, it should be the default. We automatically will
update bundles if they can be updated, but then we leave them in a non-refreshed state, which
invariably can cause problems if bundles don't explicitly import what they export and/or have
dependencies between exported packages and private packages. Probably my fault way back when
for not thinking about that.

We could easily implement this as a flag to deploy; however, my recommendation is that it
would be enabled by default and you have to specifically disable it if you don't want it.
This may cause some issues with some clients, but I'd expect it would help more than hurt.
> 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


View raw message