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

Darrel Schneider commented on GEODE-2098:
-----------------------------------------

In this case I would prefer the directory to be named after the tool ".gfsh" 
instead of after the product ".gemfire" or ".geode".
It is also worth pointing out that just changing the code to look for a 
different directory name will cause existing gfsh users to loose their history.
The old directory could be looked for and used to prevent this. Or directions 
could be sent to the community how to rename their directory so gfsh will find 
its history after this change.


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