ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roberto Juarez" <rjua...@omnilogic.es>
Subject RE: CVS password problem
Date Wed, 20 Oct 2004 11:42:27 GMT
Still not working, I am using now

  <target name="commit"
          depends="setup" 
          description="Checks in CVS the complete project directory.">
    <cvspass cvsroot=":${cvs.protocol}:${cvs.user}@${cvs.host}:${cvs.port}:{cvs.path}"
             passfile="${cvs.passfile}" 
             password="${cvs.password}"/>
    <cvs cvsRoot=":${cvs.protocol}:${cvs.user}@${cvs.host}:${cvs.port}:${cvs.path}"
         passfile="${cvs.passfile}" 
         command="commit" 
         package="${cvs.module}"
         dest="${build.dir}/.."/>
    <cvs cvsRoot=":${cvs.protocol}:${cvs.user}@${cvs.host}:${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:rambiusparkisanius@yahoo.com]
> 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}:${cvs.user}@${cvs.host}:${cvs.port}:${cvs.path}"
>     passfile="${cvs.passfile}" 
>     command="login"/>
> and it should work.
> 
> --- Roberto Juarez <rjuarez@omnilogic.es> 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}:${cvs.user}@${cvs.host}:${cvs.port}:{cvs.path}"
> >              passfile="${cvs.passfile}" 
> >              password="${cvs.password}"/> <!-- this
> > task works -->
> 
>  <!-- this task fails -->
> >  
> >     <cvs
> >
> cvsRoot=":${cvs.protocol}:${cvs.user}@${cvs.host}:${cvs.port}:${cvs.path}"
> >          passfile="${cvs.passfile}" 
> >          command="commit" 
> >          package="${cvs.module}"
> >          dest="${build.dir}/.."/>
> > 
> >      <cvs
> >
> cvsRoot=":${cvs.protocol}:${cvs.user}@${cvs.host}:${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:roberto@rdpc081: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:
> > user-unsubscribe@ant.apache.org
> > For additional commands, e-mail:
> > user-help@ant.apache.org
> > 
> > 
> 
> 
> 
> 		
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail Address AutoComplete - You start. We finish.
> http://promotions.yahoo.com/new_mail 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 

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


Mime
View raw message