geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karen Smoler Miller (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (GEODE-2098) gfsh history should be stored in ~/.geode
Date Mon, 14 Nov 2016 18:19:58 GMT

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

Karen Smoler Miller updated GEODE-2098:
---------------------------------------
    Component/s: docs

> gfsh history should be stored in ~/.geode
> -----------------------------------------
>
>                 Key: GEODE-2098
>                 URL: https://issues.apache.org/jira/browse/GEODE-2098
>             Project: Geode
>          Issue Type: Improvement
>          Components: docs, gfsh
>            Reporter: Anthony Baker
>            Assignee: Avinash Dongre
>
> Currently gfsh stores history in the ~/.gemfire directory.  We should change that to
be ~/.geode.
> {code}
> private static String getHomeGemFireDirectory() {
>     String userHome = System.getProperty("user.home");
>     String homeDirPath = userHome + "/.gemfire";
>     File alternateDir = new File(homeDirPath);
>     if (!alternateDir.exists()) {
>       if (!alternateDir.mkdirs()) {
>         homeDirPath = ".";
>       }
>     }
>     return homeDirPath;
>   }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message