Nagging username/password dialogs with SubClipse

I started working on a little pet project for browsing flickr images via a Flex application and using the Cairngorm architecture. I was reading about Cairngorm since the last few days and thought I should make a Flickr app using that architecture. To make it easier for me to get version control I created a Google-Code project called onclick. If you look at the description of the project on the site you would notice that I mention WPF/XAML as my primary technologies. You can disregard that for the time being since all the flex code has been checked under the /flex folder in the subversion repository.

To make it easier for me to access this via Flex Builder, I installed the SubClipse plugin. However, when I specified the repository URL for checkout it kept on asking me for my username/password repeatedly. This happened even after checking the “Save Password” checkbox in that dialog. After a few times it was getting frustrating and I had to do something about it. Fortunately with a quick Google search I found about this thread which discussed the exact same problem. The post hints about getting the command line version of SVN and then executing an update. This will cache the username/password and then SubClipse should not bug anymore. I decided to use the TortoiseSVN client instead to cache the username/password since it would internally invoke the SVN command line.

To do that I went to the Repo Browser and specified my Google-Code URL. It asked me for my username/password and I was able to browse my repository.

Later when I switched back to SubClipse to do a checkout it was smooth as butter. No username/password dialogs whatsoever. Life is good now.


4 Responses to “Nagging username/password dialogs with SubClipse”

  1. farmers Says:

    Hi, I’m looking for a credit card to improve credit history. My credit score isn’t enough to be approved for a mortgage loan and I do want to buy a home of my own. I’ve browsed lots of websites on credit card deals available and I think of starting with a secured credit card. It seems like I’ve found the application for one that suits me best at

    discover cards for balance transfers

  2. Craig Says:

    Hi, I’m having this same exact problem, but with a Linux Xubuntu machine. I cannot find a version of TortoiseSVN to run on Linux. Do you know of any solution to this problem for Linux users?


  3. Curtos Says:

    This is probably too late for Craig, but executing

    svn update

    from the terminal while cd’d to the directory of a checked out repo should have the same effect.

  4. JavaNoob Says:

    I had similar issue. Here is what was the issue, the cause, and the quick ‘workaround’ for someone who may be in similar situation so that they can extend on this info to get to a complete solution (I’m ok for now with this ‘workaround’). I had created a standalone Java client to connect and checkout a file using SVNKit. I was also using Subclipse with ‘Save Password’ before this which was working fine. But after standalone client connected, Subclipse would keep asking for the password everytime I access the repository or sub-folders even with ‘Save Password’ checked. Maybe Subclipse and my standalone are using different versions of SVNKit. But when the standalone client connected it would write its own cache file in ‘C:\Documents and Settings\user1\Application Data\Subversion\auth\svn.simple’ which Subclipse was not able to read or overwrite. I just deleted the cache file in this folder and Subclipse was able to ‘Save Password’. Of course when I use standalone client again the same prob appears but I just manually delete this file whenever I need to switch back to the Subclipse. Maybe using same versions of SVNKit will solve the problem?

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: