[ 
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.

Reply via email to