ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roberto Juarez" <rjua...@omnilogic.es>
Subject CVS password problem
Date Wed, 20 Oct 2004 10:39:01 GMT
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 -->

    <cvs cvsRoot=":${cvs.protocol}:${cvs.user}@${cvs.host}:${cvs.port}:${cvs.path}"
         passfile="${cvs.passfile}" 
         command="login"/> <!-- 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


Mime
View raw message