[
https://issues.apache.org/jira/browse/GEODE-2098?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15669446#comment-15669446
]
ASF subversion and git services commented on GEODE-2098:
--------------------------------------------------------
Commit 216a10917533a2f287d0bf509424f52716b81c6e in incubator-geode's branch
refs/heads/develop from adongre
[ https://git-wip-us.apache.org/repos/asf?p=incubator-geode.git;h=216a109 ]
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
> 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)