Return-Path: X-Original-To: apmail-zest-dev-archive@minotaur.apache.org Delivered-To: apmail-zest-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0A6CC18371 for ; Sat, 22 Aug 2015 06:12:47 +0000 (UTC) Received: (qmail 62783 invoked by uid 500); 22 Aug 2015 06:12:47 -0000 Delivered-To: apmail-zest-dev-archive@zest.apache.org Received: (qmail 62750 invoked by uid 500); 22 Aug 2015 06:12:46 -0000 Mailing-List: contact dev-help@zest.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@zest.apache.org Delivered-To: mailing list dev@zest.apache.org Received: (qmail 62736 invoked by uid 99); 22 Aug 2015 06:12:46 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Aug 2015 06:12:46 +0000 Date: Sat, 22 Aug 2015 06:12:46 +0000 (UTC) From: "Niclas Hedhman (JIRA)" To: dev@zest.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (ZEST-42) Changes to Directory naming in FileEntityStore MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/ZEST-42?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Niclas Hedhman closed ZEST-42. ------------------------------ Closing all fixed issues. > 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 > Assignee: Niclas Hedhman > Fix For: 2.1 > > > 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 (v6.3.4#6332)