How to change Eclipse SVN Plugin Password
Subclipse does not collect or store username and password credentials when defining a repository. This is because the JavaHL and SVNKit client adapters are intelligent enough to prompt you for this information when they need to — including when your password has changed.
You can also allow the adapter to cache this information and a common question is how do you delete this cached information so that you can be prompted again? We have an open request to have an API added to JavaHL so that we could provide a UI to do this. Currently, you have to manually delete the cache. The location of the cache varies based on the client adapter used.
JavaHL caches the information in the same location as the command line client — in the Subversion runtime configuration area. On Windows this is located in %APPDATA%\Subversion\auth. On Linux and OSX it is located in ~/.subversion/auth. Just find and delete the file with the cached information.
SVNKit caches information in the Eclipse keyring. By default this is a file named .keyring that is stored in the root of the Eclipse configuration folder. Both of these values can be overriden with command line options. To clear the cache, you have to delete the file. Eclipse will create a new empty keyring when you restart.
Aaron Lawrence said,
June 20, 2008 at 7:04 am
I have having trouble locating any of the files you have listed above. I have flex builder 3 installed which is a version of eclipse. I have linked to an SVN repo using a username and password. I now need to change the author information. Is this possible?
admin said,
July 12, 2008 at 9:53 am
Have you checked with both the methods JavaHL and SVN cache?
Sreek said,
July 22, 2008 at 2:37 am
1. delete the file located under C:\Documents and Settings\…..\Application Data\Subversion\auth\svn.simple\
2. Restart the eclipse IDE.
Feroz said,
July 31, 2008 at 5:30 pm
Thanks Sreek it’s working…
{
1. delete the file located under C:\Documents and Settings\…..\Application Data\Subversion\auth\svn.simple\
2. Restart the eclipse IDE.
}
Joshua Blake said,
August 25, 2008 at 12:46 pm
On Mac OS X, it appears the Eclipse keyring file may alternately be located at /.eclipse_keyring (the root of your hard drive), which seems like an awfully strange place to put it, but that’s the only place I’ve found it on my machine.
I’m using Eclipse 3.3.1.1 w/ Subclipse 1.4.1, with SVNKit 1.2 as my chosen SVN client in the Eclipse SVN prefs (Subversion Client Adapter 1.5.0, SVNKit Client Adapter 1.5.0.1, SVNKit Library 1.2.0.4502), on Mac OS 10.4.11 (Tiger).
Julio Montoya said,
September 23, 2008 at 2:19 am
Some info related:
http://www.mail-archive.com/lucene-dev@jakarta.apache.org/msg08750.html
maybe you don’t need to change the password, you have to use https for commits.
Anwar Buchoo said,
March 10, 2009 at 2:39 pm
thnx.
Michael said,
March 11, 2009 at 7:57 am
Ganymede version 3.4.2
Ganymede SVN Connector: Default SVNKit (SVNKIT 1.1.7 http://snvkit.com/)r4142)
no file found under auth folder, deleted keyring as you suggested
delete repository and source tree.
restart Ganymede create a new repository location and look it remembers the repository location and username. Where is it storing this information ? cut and paste the password from the email sent from admin and have verified it is correct. When go to check in a file it puts up the repository location dialog ( not sure why? unless this tell you something) enter the password yet again, get auth failure, then can never check in this file again have to delete source and get it again
How do we get Subversion to forget the password ?
how help very appreciated !!
thanks
Michael
Troy said,
April 7, 2009 at 5:23 pm
Using Mac Osx 10.4 with myEclipse, subversion 1.2.4 and downloaded the svn binaries from collabnet, however eclipse still complains about the version of the JavaHL bindings not being v1.3 or greater. This is after I add the -Djava.library.path=/Library/Java/Extensions to the eclipse.ini startup in order to find them - it just doesn’t want to use JavaHL. So I use the SVNKit option and locate the .eclipse_keyring file, delete it and still the system does not prompt me for the user / password combination - so I can’t use the JavaHL option and delete the .subversion/auth cache file for passwords and it still remembers the password after I delete the .eclipse_keyring file when using SVNKit!! How can this be, how does it work and STILL remember passwords!
morion4000 said,
May 1, 2009 at 4:30 pm
I am using Aptana Studio (standalone installation) under Ubuntu 9.04 Jaunty.
My .keyring file was located at: ~/.Aptana/Aptana Studio/configuration/org.eclipse.core.runtime.
Noble said,
June 1, 2009 at 11:35 am
Thanks Sreek it’s working…
Manoj said,
June 25, 2009 at 12:06 pm
Thanks a lot
Tom said,
July 28, 2009 at 7:52 pm
I use Eclipse PDT (Build id: 20090619-0625) on Mac OS X (10.5.7) and the keyring file is located in your home folder ~/.eclipse_keyring
Just remove the file and start Eclipse. Once you’ve chosen one of the “Team” functions from inside Eclipse, a dialog pops up requesting your login credentials.
Bob Gustafson said,
August 2, 2009 at 4:14 am
Running Fedora 11 and Eclipse with Aptana plugin with RadRails and Subclipse.
Subversion repository is local on same machine.
Under Window->Show View->Other->SVN->SVN Repositories
If you Discard Location, then Aptana forgets things.
—–
If you then, in the RadRails Perspective, select your project and right click it and then go through the Team->SVN->…, you will again get a chance to put in your subversion username and password.
If you get something about OPTIONS server refused.. (I don’t have it in front of me now), it probably means that you are not running the subversion server (subserve). This needs to be started separately, perhaps as:
(from the subversion binary directory)
svnserve -d -r /home/user1/SVNRepository
The SVN repository name in the Aptana dialogs must be of the form:
svn://localhost/home/user1/SVNRepository
The svnserve server speaks the svn protocol.
You can use Wireshark to monitor the back and forth between Eclipse/Aptana/Subclipse and the svnserve server. The svnserve is listening on port 3690.
sharon said,
August 7, 2009 at 9:07 pm
thanks sreeks
Shyama said,
November 18, 2009 at 11:44 pm
I’m using Ubuntu 9.10 with Eclipse 3.5.1 and Subclipse. I got the cache cleared through deleting ~/.eclipse/org.eclipse.platform_3.5.0_155965261/configuration/org.eclipse.core.runtime/.keyring
shreeram said,
November 24, 2009 at 1:02 pm
Thanks its works fine..
In command prompt the folder are not visible..
Karan Batra said,
January 4, 2010 at 8:34 pm
Thanks it worked fine for me.
I do want to mention for the sake of those who are using (like me) a modified version of Eclipse CDT for Embedded Linux Development, called MontaVista DevRocket. The fix works, except the file is in a more inconspicuous location.
One can follow the following steps:
1) cd to the eclipse settings folder
$cd ~/.eclipse
2) Find all the files named .keyring in this folder and delete them
$rm `find -name .keyring`
Tejas said,
January 14, 2010 at 10:00 pm
Thanks Sreek!!!
Sreeharsha Venkatapuram said,
February 9, 2010 at 3:42 am
Thank you for the hint. For people who use Vista, You will find the “auth” folder in C:\Users\…\AppData\Roaming\Subversion\auth\svn.simple
sara said,
March 10, 2010 at 3:18 pm
Lots of thanks
dharmender said,
March 29, 2010 at 3:13 pm
Hi,
Thanks , it helped me out
destere said,
March 30, 2010 at 7:02 pm
what does ~/.eclipse/ means?
Thanks