You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geode.apache.org by "Hitesh Khamesra (JIRA)" <ji...@apache.org> on 2017/02/09 22:50:41 UTC

[jira] [Closed] (GEODE-2098) gfsh history should be stored in ~/.geode

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

Hitesh Khamesra closed GEODE-2098.
----------------------------------

> 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: Karen Smoler Miller
>             Fix For: 1.1.0
>
>
> 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.15#6346)