[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [Subclipse-users] Java SVN

From: Mark Phippard <markphip_at_gmail.com>
Date: 2007-09-05 13:42:20 CEST

On 9/5/07, Durrani [Gmail] <durrani.ma@gmail.com> wrote:
> We have written the code for our application in Java for operations such as
> checkout, update, commit.
>
> Since the username is saved by SVN automatically, I am not able to get it
> using subclipse.
>
> Please let me know, how can I get the username of SVN thru Java.

You can't. All you could do is retrieve it after the fact using the
history API.

> I am using: jdk 1.5, eclipse with subclipse plugin version 1.0.3(I can't
> upgrade due to some constraints), windows 2000 professional.
>
> Note that, once I save the username/password using TortoiseSVN, the same is
> used while I do co/commit in our application. I just want to retrive the
> username(not necessary the password).

If you are writing the code you do not have to use the cache. You can
call the setUsername and setPassword methods which is the equivalent
of using the --username and --password command line options.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Wed Sep 5 13:39:08 2007

This is an archived mail posted to the Subclipse Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.