polygene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niclas Hedhman (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ZEST-42) Changes to Directory naming in FileEntityStore
Date Tue, 07 Jul 2015 08:09:04 GMT

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

Niclas Hedhman commented on ZEST-42:


If you rely on the previous behavior, the remedy is relatively simple, just move every file/dir
in "data/" up one level.

> Changes to Directory naming in FileEntityStore
> ----------------------------------------------
>                 Key: ZEST-42
>                 URL: https://issues.apache.org/jira/browse/ZEST-42
>             Project: Zest
>          Issue Type: Improvement
>            Reporter: Niclas Hedhman
> The FileEntityStore is using the FileConfig library to create a directory to store the
entities in.
> The FileConfig defines those as
> MAC; {user}/Library/Application Support/{application}
> Linux; {user}/.{application}/data
> Windows; {user}/Application Data/{application}/data
> The FileEntityStore then appends the identity of the FileEntityStore, and a static "data/"
location after that. The identity is to ensure that multiple FileEntityStores can be used
nicely together, but the data is IMHO unnecessary and should be removed.
> Now, IF a configuration is provided to FileEntityStore, then the above location is the
root path. If no configuration is given at all, then System.getProperty( "user.dir" ) + "/qi4j/filestore/"
is used as root path.
> The root path is used as the location for any relative paths specified in the configuration,
but can be completely overridden with an absolute path..

This message was sent by Atlassian JIRA

View raw message