Hi Roberto,
remove the part
<cvs
cvsRoot=":${cvs.protocol}:[EMAIL PROTECTED]:${cvs.port}:${cvs.path}"
passfile="${cvs.passfile}"
command="login"/>
and it should work.
--- Roberto Juarez <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I am not able to get Ant read a password for CVS.
>
> Here is the snippet of code
>
> <target name="commit"
> depends="setup"
> description="Commits changes to CVS
> repository.">
> <cvspass
>
cvsroot=":${cvs.protocol}:[EMAIL PROTECTED]:${cvs.port}:{cvs.path}"
> passfile="${cvs.passfile}"
> password="${cvs.password}"/> <!-- this
> task works -->
<!-- this task fails -->
>
> <cvs
>
cvsRoot=":${cvs.protocol}:[EMAIL PROTECTED]:${cvs.port}:${cvs.path}"
> passfile="${cvs.passfile}"
> command="commit"
> package="${cvs.module}"
> dest="${build.dir}/.."/>
>
> <cvs
>
cvsRoot=":${cvs.protocol}:[EMAIL PROTECTED]:${cvs.port}:${cvs.path}"
> passfile="${cvs.passfile}"
> command="logout"/>
>
> </target>
>
> I am getting the following output
>
> Buildfile: ..\conf\build.xml
>
> setup:
>
> commit:
> [cvs] Using cvs passfile:
> C:\develop\eclipse\docbiblio\.cvspass
> [cvs] Logging in to
> :pserver:[EMAIL PROTECTED]:2401/cvsrepo/common
> [cvs] CVS password:
> [cvs] cvs [login aborted]: authorization
> failed: server rdpc081 rejected access to
> /cvsrepo/common for user roberto
> [cvs]
>
*******************************************************************************************************************************
> [cvs] Using cvs passfile:
> C:\develop\eclipse\docbiblio\.cvspass
> [cvs] cvs logout: Empty password used - try
> 'cvs login' with a real password
> [cvs] cvs [logout aborted]: authorization
> failed: server rdpc081 rejected access to
> /cvsrepo/common for user roberto
>
> BUILD SUCCESSFUL
> Total time: 11 seconds
>
> I have tried many options but still not able to have
> it working.
>
> Any help would be very appreciated. Thanks a
> million.
>
> Roberto Ju�rez
> Java developer
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
>
>
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]