How to delete saved SVN password from Eclipse IDE?

Ever wanted to delete the stored subversion (svn) password from Eclipse IDE? SVN stores the authentication in physical files. The easiest way is to delete those files physically from the explorer.

On my windows XP, these files are located in the following two folders:

C:\Program Files\IBM\SDP\configuration\org.eclipse.core.runtime\.keyring
C:\Documents and Settings\sanjaaluser\Application Data\Subversion\auth\svn.simple\

You need to delete the “.keyring” file from the first folder, while you need to delete all the files form the second folder (“svn.simple“).

When you restart your Eclipse, your saved password will now be gone and will prompt you to enter new one.

Originally posted 2011-01-01 09:07:15.

Share

How to create a local SVN Repository and connect to it using tortoise svn?

Some Bla Bla Bla’s:

Programmers like me sometimes wonder how can we create the local SVN repository. Most of the time we are connecting to already available repositories anyways like the one at your office or to some sites on the internet like Google Code. I recently ran into questions as I wanted some of my local codes to be versioned. I was publishing android apps, and as I kept updating the app, I really wanted to have my code versioned.

Then I discovered it was as easy as 123.

Real Solution:
Here is what you need to do (if you already have a tortoise svn installed, you dont even need to download anything.)

  1. Install tortoise svn from CollabNet (http://tortoisesvn.tigris.org/)
  2. Create a directory anywhere on your local machine where you want to create the repository.
  3. Right click on the directory and choose Tortoise SVN > Create repository here

Your repository is now created locally!!!.

How to connect to it?

Just like you would with any other repositories. If I had created a repository on my desktop folder “MySVNRepo”, the following would be the repository location:

file:///C:/Documents and Settings/sanjaalcorps/Desktop/MySVNRepo

Once connected, you can do regular stuffs like creating folder, checking in to repository, checking out from the repository etc.

Transcendence:
Well, I always thought I need to have a separate server installed for svn – but I figured out my thoughts had been foolish all these years.

Blog Widget by LinkWithin

Originally posted 2011-03-22 18:18:04.

Share