ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Srikrishna.Par...@wellsfargo.com
Subject RE: Ant, [cvs] cvs checkout: authorization failed: server xyz.bar .com rejected access to /cvsroot for user foobar
Date Wed, 31 Mar 2004 22:41:27 GMT
<target name="all-checkout" depends="">
		<cvs cvsRoot="${full.cvs.root}" package="eai_java"
dest="${build.base}"/>
		<echo message="-----------All folder checkout
completed-----------"/>
	</target>

Try this . It should work.Let me know on how it goes. 

-----Original Message-----
From: Sullivan, Sean C - MWT [mailto:Sullivan.Sean@menlolog.com] 
Sent: Wednesday, March 31, 2004 2:38 PM
To: user@ant.apache.org
Subject: Ant, [cvs] cvs checkout: authorization failed: server xyz.bar.com
rejected access to /cvsroot for user foobar

My configuration:

     Ant 1.5.3 on Windows 2000
     CVS 1.11.6 on RedHat Linux
  
I am trying to use Ant's <cvs> task 

My build script contains this command:

	<cvs cvsRoot=":pserver:foobar@xyz.foo.com:/cvsroot"
		command="checkout myprojects" 
		dest="${workspace.dir}"
		output="${output.dir}/cvs-checkout-output.txt" 
		failonerror="true" />

When I run the script, I observe this output:

      [cvs] Using cvs passfile: C:\Documents and Settings\foobar\.cvspass
      [cvs] cvs checkout: authorization failed: server xyz.bar.com rejected
access to /cvsroot for user foobar

BUILD FAILED

Note: I can access the repository via pserver using Cygwin's command line
cvs.exe

The command line cvs.exe automatically authenticates me using the
credentials in my .cvspass file

Why does the authentication fail for the <cvs> task?

-Sean


---------------------------------------------------------------------
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