You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Richard S. Hall (JIRA)" <ji...@apache.org> on 2008/10/09 15:16:44 UTC

[jira] Created: (FELIX-755) Add support for cleaning the bundle cache

Add support for cleaning the bundle cache
-----------------------------------------

                 Key: FELIX-755
                 URL: https://issues.apache.org/jira/browse/FELIX-755
             Project: Felix
          Issue Type: New Feature
    Affects Versions: felix-1.2.1

            Reporter: Richard S. Hall
            Assignee: Richard S. Hall
             Fix For: felix-1.2.2


In some situations, it is convenient to start the framework with a clean bundle cache. To address this, we should consider adding some sort of support to clean the cache between framework executions.

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


[jira] Updated: (FELIX-755) Add support for cleaning the bundle cache

Posted by "Richard S. Hall (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-755?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Richard S. Hall updated FELIX-755:
----------------------------------

    Component/s: Framework

> Add support for cleaning the bundle cache
> -----------------------------------------
>
>                 Key: FELIX-755
>                 URL: https://issues.apache.org/jira/browse/FELIX-755
>             Project: Felix
>          Issue Type: New Feature
>          Components: Framework
>    Affects Versions: felix-1.2.1

>            Reporter: Richard S. Hall
>            Assignee: Richard S. Hall
>             Fix For: felix-1.4.0
>
>
> In some situations, it is convenient to start the framework with a clean bundle cache. To address this, we should consider adding some sort of support to clean the cache between framework executions.

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


[jira] Commented: (FELIX-755) Add support for cleaning the bundle cache

Posted by "Rob Walker (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12639472#action_12639472 ] 

Rob Walker commented on FELIX-755:
----------------------------------

This will be handy.

We have a "coldstart" option in our App, but the process is a manual delete of the Felix cache dirs prior to launching Felix. So a built in approach would be nice.

> Add support for cleaning the bundle cache
> -----------------------------------------
>
>                 Key: FELIX-755
>                 URL: https://issues.apache.org/jira/browse/FELIX-755
>             Project: Felix
>          Issue Type: New Feature
>          Components: Framework
>    Affects Versions: felix-1.2.1

>            Reporter: Richard S. Hall
>            Assignee: Richard S. Hall
>             Fix For: felix-1.4.0
>
>
> In some situations, it is convenient to start the framework with a clean bundle cache. To address this, we should consider adding some sort of support to clean the cache between framework executions.

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


[jira] Closed: (FELIX-755) Add support for cleaning the bundle cache

Posted by "Richard S. Hall (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-755?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Richard S. Hall closed FELIX-755.
---------------------------------

    Resolution: Fixed

I have committed support for flushing the cache. You can now flush the bundle cache the first time the framework is initialized. If you create your own framework instance and start, stop, and restart the framework, the cache will only be flushed the first time, not subsequent times. If you need it to flush everything time, create a new framework instance. The property and value to flush the cache is:

    org.osgi.framework.storage.clean=onFirstInit

The default value is "none".

> Add support for cleaning the bundle cache
> -----------------------------------------
>
>                 Key: FELIX-755
>                 URL: https://issues.apache.org/jira/browse/FELIX-755
>             Project: Felix
>          Issue Type: New Feature
>    Affects Versions: felix-1.2.1

>            Reporter: Richard S. Hall
>            Assignee: Richard S. Hall
>             Fix For: felix-1.2.2
>
>
> In some situations, it is convenient to start the framework with a clean bundle cache. To address this, we should consider adding some sort of support to clean the cache between framework executions.

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