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

RE: How to log out of Subversion after using Ant?

From: Monks, Peter <peter.monks_at_vignette.com>
Date: 2004-11-05 18:18:52 CET

G'day rs,

We do one of two things in our ant scripts:

1. for tasks that are being performed on behalf of the developer in
   that developer's working area, we use the developer's own SVN
   credentials. These are specified in a properties file that is not
   under source control, and the ant script is configured to blow up
   if the properties file doesn't exist. This has the advantage of
   maintaining the correct audit trail (ie. we always know who did
   what to the repository, even when they did it via ant).

2. for tasks that are performed automatically by the system (eg.
   nightly builds, release builds etc.), our ant script creates a new
   working area from scratch (using a generic login and password),
   does whatever it has to do (tag creation, branch creation, checkout
   etc.),and then deletes the working area when it's done. It's a
   little inefficient (seeing as each nightly build creates an
   entirely new working area), but no one notices because the process
   is set to run automatically on our build server in the middle of
   the night.

Cheers,
Peter
 
----------------------------------------------------------------------
Peter Monks http://www.sydneyclimbing.com/
pmonks_at_sydneyclimbing.com http://www.geocities.com/yosemite/4455/
----------------------------------------------------------------------
 

 
 

> -----Original Message-----
> From: R Smith [mailto:onilollaig@hotmail.com]
> Sent: Wednesday, November 03, 2004 4:13pm
> To: users@subversion.tigris.org
> Subject: How to log out of Subversion after using Ant?
>
> Hi. I run an Ant script that commits a file with Subversion
> using a certain
> generic log-in name and password. Later, when I try to commit files
> manually on my own through Tortoise, the previous log-in
> information is
> remembered and I never get prompted for my name and password.
> Is there a
> straightforward way to prevent the previous log-in
> credentials from getting
> used again?
>
> Thanks,
>
> -rs
>
> _________________________________________________________________
> Express yourself instantly with MSN Messenger! Download today
> - it's FREE!
> http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Nov 5 18:19:20 2004

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

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