[
https://issues.jboss.org/browse/JBDS-2069?page=com.atlassian.jira.plugin....
]
Denis Golovin commented on JBDS-2069:
-------------------------------------
I've verified that eclipse picks up ~\ssh directory only if it it exists and use
~\.ssh otherwise.
Source code confirms this. It puts ~\.ssh first and then execute code below for windows:
{code}
// flag to check if it is an existing workspace
// TODO bug 334508 needs to be fixed to determine that we are on an existing
workspace
boolean existingWorkspace=true;
if(null==preferences.get(IConstants.KEY_SSH2HOME, null)){
if(SSH_OLD_WIN32_HOME_DEFAULT!=null
&&new File(SSH_OLD_WIN32_HOME_DEFAULT).exists()){
if(!(SSH_HOME_DEFAULT!=null&&new File(SSH_HOME_DEFAULT).exists())
||existingWorkspace)
preferences
.put(IConstants.KEY_SSH2HOME, SSH_OLD_WIN32_HOME_DEFAULT);
}
}
{code}
Windows - ssh directory is missing a "." before
"ssh"
------------------------------------------------------
Key: JBDS-2069
URL:
https://issues.jboss.org/browse/JBDS-2069
Project: Developer Studio (JBoss Developer Studio)
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Upstream
Affects Versions: 5.0.0.Beta1
Environment: JBDS 5 Beta1 -Windows 7
Reporter: Burr Sutter
Assignee: Denis Golovin
Fix For: 5.0.0.Beta3
Attachments: ssh_key_path.png
The default directory in JBDS is "C:\Users\Burr\ssh" and on my machine it is
"C:\Users\Burr\.ssh" - on a Mac JBDS defaults to /Users/burr/.ssh
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira