You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2009/09/09 08:41:57 UTC

[jira] Resolved: (FELIX-1455) OSGi Storage is hardcoded to be data/cache

     [ https://issues.apache.org/jira/browse/FELIX-1455?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet resolved FELIX-1455.
------------------------------------

       Resolution: Fixed
    Fix Version/s: karaf-1.0.0
         Assignee: Guillaume Nodet

URL: http://svn.apache.org/viewvc?rev=812785&view=rev


> OSGi Storage is hardcoded to be data/cache
> ------------------------------------------
>
>                 Key: FELIX-1455
>                 URL: https://issues.apache.org/jira/browse/FELIX-1455
>             Project: Felix
>          Issue Type: Improvement
>          Components: Karaf
>    Affects Versions: karaf-1.0.0
>            Reporter: David Bosschaert
>            Assignee: Guillaume Nodet
>             Fix For: karaf-1.0.0
>
>
> In Karaf, there is the following code (in the Main class):
>         File storage = new File(karafBase.getPath(), "data/cache");
>         storage.mkdirs();
>         configProps.setProperty(Constants.FRAMEWORK_STORAGE, storage.getAbsolutePath());
> This basically always sets the framework storage to the same thing. It would be better if this property was only set if it wasn't already there, so that users can override it.

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