geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anthony Baker (JIRA)" <j...@apache.org>
Subject [jira] [Created] (GEODE-2098) gfsh history should be stored in ~/.geode
Date Fri, 11 Nov 2016 19:38:58 GMT
Anthony Baker created GEODE-2098:
------------------------------------

             Summary: 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: gfsh
            Reporter: Anthony Baker


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