Fix Eclipse svn, always asking for login and password. Clear keyring or cacheBy neokrates, written on May 27, 2010 |
howto |
- neokrates
- Email: uwarov@yahoo.com
- Website: http://www.thinkplexx.com
- Join date: 05-31-09
- Posts: 20
Your favorite Java IDE is?
- Eclipse (39%, 9 Votes)
- Something else (39%, 9 Votes)
- NetBeans IDE (17%, 4 Votes)
- IntelliJ IDEA (4%, 1 Votes)
- Borland JBuilder (0%, 0 Votes)
- JCreator (0%, 0 Votes)
- Oracle JDeveloper (0%, 0 Votes)
Total Voters: 23
Loading ...
Sometimes before you entered correct credentials. Now, you need to enter different credentials. And you can, but eclipse and svn always forget them.
Software:
Eclipse Galileo (3.5.2)
SVN 1.6.5
Linux or Windows
TortoiseSVN
Command line Svn
Should also work for:
all Eclipse and SVN combinations which rely on keyring or cache.
Windows will have somewhat different paths
| 1 |
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.
| 2 |
Remove .keyring
Here, we just remove the eclipse keyring. You might want to make a backup of it, just in case.
| 2.1 |
.keyring in ~/.eclipse
Presume, your Eclipse home is in default location (~/.eclipse):
$ cd ~/.eclipse
$ find .|grep key
./configuration/org.eclipse.core.runtime/.keyring
| 2.2 |
.keyring in eclipse/configuration
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 .keyring resides.
Close eclipse, remove what you have found like:
$ rm /my/eclipse/stored/it/here/configuration/org.eclipse.core.runtime/.keyring
| 3 |
Remove eclipse cash
Also, don’t forget to archive just in case.
Windows: %APPDATA%\Subversion\auth
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 )
| 4 |
Validate
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)
|
|
TAGS
|
|
RELATED
|
Pages
Posts
|
|
SOCIAL
|



















thanks a bundle, this was exactly what I was looking for.
Like or Dislike:
0
0