Fix Eclipse svn, always asking for login and password. Clear keyring or cacheBy neokrates, written on May 27, 2010
Sometimes before you entered correct credentials. Now, you need to enter different credentials. And you can, but eclipse and svn always forget them.
Eclipse Galileo (3.5.2)
Linux or Windows
Command line Svn
Should also work for:
all Eclipse and SVN combinations which rely on keyring or cache.
Windows will have somewhat different paths
How the password was stored
There are two SVN providers, each store authentication info different way.
To check, which one you have, go:
window->preferences then type “svn” and select svn Connector tab. It is either SVNKit or JavaHL.
Here, we just remove the eclipse keyring. You might want to make a backup of it, just in case.
Presume, your Eclipse home is in default location (~/.eclipse):
$ cd ~/.eclipse
$ find .|grep key
The keyring might also be located in eclipse configuration as shown below:
>locate .keyring C:\programs\dev\eclipse-cpp-galileo-subclipse\configuration\org.eclipse.core.runtime\.keyring
In case you have
locate installed on your system (locate32 is good windows version) you want to view where your
Close eclipse, remove what you have found like:
$ rm /my/eclipse/stored/it/here/configuration/org.eclipse.core.runtime/.keyring
Remove eclipse cash
Also, don’t forget to archive just in case.
Unix and Linux: ~/.subversion/auth
There, find and delete the stored password info.
For TortoiseSVN users, step 3 can also be done by pressing
settings->["Saved data" TAB]->["Authentication data Clear" BUTTON] button. (See Illustration )
Now, during the first SVN operation, Eclipse will ask you about your credentials once again. This time both pass and login fields are empty, as eclipse doesn’t have any previous data.
That’s it. Have fun
LEARN MORE (amazon bookstore)
INCOMING SEARCH TERMS