File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes IDEs, Version Control and other tools and the fly likes Change SVN User Credentials in MyEclipse. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Change SVN User Credentials in MyEclipse." Watch "Change SVN User Credentials in MyEclipse." New topic

Change SVN User Credentials in MyEclipse.

Robin John
Ranch Hand

Joined: Sep 10, 2008
Posts: 271

Hi, Is there a way to change user credentials in MyEclipse from the UI (Without deleting the cache file) ?

Thanks in advance.

Time is what we want the most, but what we use the worst. -- William Penn
William P O'Sullivan
Ranch Hand

Joined: Mar 28, 2012
Posts: 859

There is an svn properties file somewhere (I forget now), that contains the id and password.
I remember having to track it down and modify the stored values, when my password changed.

If I find it, I'll post back.

Peter Johnson

Joined: May 14, 2008
Posts: 5852

No, you can't do it in the UI. Like William mentioned, it's stored in a set of config files by the Subversion client. On Windows (Vista, 7, Server 2008) they are at %appdata%\roaming\subversion\auth. On Linux they are at ~/.subversion/auth). Of course, the passwords are all encoded so you can't change them directly, but on examining the file contents you should be able to figure which files goes with which Subversion server, delete just that file, and the Subversion client should ask for your credentials the next time you attempt to access it.

JBoss In Action
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17271

It's probably safer to delete and recreate the repository definition within the SVN Repository View GUI. Just make a note of the associated repository URL so that you can properly re-enter it. Eclipse may ask a few questions if you have projects attached to that URL, but it all works out in the end.

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: Change SVN User Credentials in MyEclipse.
It's not a secret anymore!