Still not working, I am using now <target name="commit" depends="setup" description="Checks in CVS the complete project directory."> <cvspass cvsroot=":${cvs.protocol}:[EMAIL PROTECTED]:${cvs.port}:{cvs.path}" passfile="${cvs.passfile}" password="${cvs.password}"/> <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 considering whether the <cvspass> task is writing the password file in a corrupted manner. > -----Mensaje original----- > De: Ivan Ivanov [SMTP:[EMAIL PROTECTED] > Enviado el: miércoles, 20 de octubre de 2004 13:12 > Para: Ant Users List > Asunto: Re: CVS password problem > > 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] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]