Hi,
use ${user.name} instead of ${username}
Regards, Gilbert
-----Original Message-----
From: Hanmay Udgiri [mailto:[EMAIL PROTECTED]
Sent: Friday, July 14, 2006 1:13 PM
To: Ant Users List
Subject: Re: CVS Login
hi i tried but it is not working
<input addproperty="username" />
<property name="cvsroot" value=":pserver:[EMAIL PROTECTED]"/>
<cvs cvsRoot="${cvsroot}" dest="${src}/"/>
getting following error.
Using cvs passfile: /axphome/nthoga/.cvspass
[cvs] no such user ${username} in CVSROOT/passwd
On 7/14/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> <input property="username" ... />
> <property file="cvs.${username}.properties"/>
> <cvs use-new-loaded-properties />
>
>
> just an idea....
>
>
> Jan
>
> >-----Ursprüngliche Nachricht-----
> >Von: Hanmay Udgiri [mailto:[EMAIL PROTECTED]
> >Gesendet: Freitag, 14. Juli 2006 09:46
> >An: [email protected]
> >Betreff: CVS Login
> >
> >Hi
> >We have requirement like this.We have a build file where it
> >checks out from CVS.but the problem is we have defined the
> >cvsroot in a property file.
> >So this work only for people we login with the same user id
> >and password.
> >I want to create the cvsroot at runtime asking the user the
> >user id for the CVS repository and the password.
> >I found <cvspass> and <cvs> tag but not sure how to integrate
> >it with my requirement.
> >
> >--
> >Thanks and Regards
> >Hanmayya Udgiri
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
Thanks and Regards
Hanmayya Udgiri
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]