Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jgit-dev] [egit-dev] Code yielding exception under eclipse, but not if executed "barely"

2011/1/22 Jan Finis <finis@xxxxxxxxx>
Am 22.01.2011 13:32, schrieb Alex Blewitt:
On 22 Jan 2011, at 12:17, Jan Finis<finis@xxxxxxxxx>  wrote:
 
s the code trying to instantiate a missing class to do authentication in the Eclipse case, which gets re-wrapped as an auth fail? JGit+main won't be in an OSGi runtime whereas EGit will be. This might suggest a missing import or access of a com.sun internal class which won't be visible.

Failing that, is it possible you are relying on eg public key auth and EGit is not finding the keys?

Alex
 
Hello Alex,

thank you for your answer.

But this is the normal egit dialog. If there was an import missing or an access to an invisible class, then this would be a known bug, wouldn't it?


 Failing that, is it possible you are relying on eg public key auth and EGit is not finding the
 keys?

Where can I see that? I am just using normal eclipse galileo with an installed egit/jgit. I have never changed any settings relating to authentication.

Check settings in "Preferences > General > Network Connections > SSH2" and verify that "SSH2 home" contains your ssh keys. 
On Windows it points by default to ~/ssh, whereas msysgit default path is ~/.ssh.
 
--
Matthias

Back to the top