[jbosstools-issues] [JBoss JIRA] (JBIDE-9923) Once cloning the repo fails because of missing key, you have to add your keys to the prefs and restart eclipse

Andre Dietisheim (Commented) (JIRA) jira-events at lists.jboss.org
Mon Oct 17 16:54:45 EDT 2011


    [ https://issues.jboss.org/browse/JBIDE-9923?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12635314#comment-12635314 ] 

Andre Dietisheim commented on JBIDE-9923:
-----------------------------------------

The root cause is that the key are initialized when the EGit UI plugin is started. The responsible component, the SshSessionFactory is initialized once per eclipse session and not refreshed (even if you change the ssh preferences).

@see org.eclipse.egit.ui.Activator#setupSSH
@see SshSessionFactory#setInstance
@see EclipseSshSessionFactory

It should be no problem to fix this since changes in the preferences may be listened to.
                
> Once cloning the repo fails because of missing key, you have to add your keys to the prefs and restart eclipse
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-9923
>                 URL: https://issues.jboss.org/browse/JBIDE-9923
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>    Affects Versions: 3.3.0.M3
>            Reporter: Andre Dietisheim
>            Assignee: Andre Dietisheim
>             Fix For: 3.3.0.Beta1
>
>         Attachments: auth-error.png
>
>


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

        


More information about the jbosstools-issues mailing list