[ 
https://issues.apache.org/jira/browse/GEODE-2098?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15669412#comment-15669412
 ] 

ASF subversion and git services commented on GEODE-2098:
--------------------------------------------------------

Commit 6e1377a0f3f32aef279e9cbea3741c90aad95f30 in incubator-geode's branch 
refs/heads/feature/GEODE-2098 from adongre
[ https://git-wip-us.apache.org/repos/asf?p=incubator-geode.git;h=6e1377a ]

GEODE-2098: Moved gfsh history file location from .gemfire to .geode

Made the code changes and added a test for the same.


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

Reply via email to