You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Karen Smoler Miller (JIRA)" <ji...@apache.org> on 2016/11/16 16:42:59 UTC

[jira] [Reopened] (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 ]

Karen Smoler Miller reopened GEODE-2098:
----------------------------------------
      Assignee: Karen Smoler Miller  (was: Avinash Dongre)

Reopening this ticket, as there's a small documentation task associated with the change. I'll take care of the documentation change.  The gfsh history command reference page ought to say the history file goes into the .geode directory, and it currently says that the file goes into the home directory.

> 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-incubating
>
>
> 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)