You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Minds Work <mi...@gmail.com> on 2005/08/27 14:36:57 UTC

CVS TASK - login

Hi
Is there a way to login in a CVS repository with the CVS task  passing
the password as a String instead of passing it in a file (the
.cvspass)?
[]s
fred

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Re: CVS TASK - login

Posted by Andrew Goktepe <an...@gmail.com>.
Have you looked at the cvspass task? This still uses the .cvspass file, but 
it allows you to provide the password so that you can log in for the first 
time from the Ant script.
 http://ant.apache.org/manual/CoreTasks/cvspass.html
 If you're running on Windows, though, there's a known bug that is 
documented on the above page.
 You could also stick the password in the CVSROOT (:
pserver:username:password@host:/path).
 -Andrew

 On 8/27/05, Minds Work <mi...@gmail.com> wrote: 
> 
> Hi
> Is there a way to login in a CVS repository with the CVS task passing
> the password as a String instead of passing it in a file (the
> .cvspass)?
> []s
> fred
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
>