ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anderson, Rob (Global Trade)" <Rob.Ander...@nike.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 23:11:47 GMT
Sean, Is the cygwin cvs.exe the only cvs.exe on the path? Are you running ant from within cygwin?
Perhaps the .cvspass file that cygwin's cvs.exe is using is not the same one that ant (or
rather, the cvs.exe that ant is calling) is trying to use.

-Rob Anderson

> -----Original Message-----
> From: Sullivan, Sean C - MWT [mailto:Sullivan.Sean@menlolog.com]
> Sent: Wednesday, March 31, 2004 2:57 PM
> To: Ant Users List
> Subject: RE: Ant, [cvs] cvs checkout: authorization failed: server
> xyz.bar.com rejected access to /cvsroot for user foobar
> 
> 
> 
> I changed my script according to your advice.
> 
> I am still observing the same error.
> 
> -Sean
> 
> 
> > -----Original Message-----
> > From: Srikrishna.Partha@wellsfargo.com
> > [mailto:Srikrishna.Partha@wellsfargo.com]
> > Sent: Wednesday, March 31, 2004 2:41 PM
> > To: user@ant.apache.org
> > Subject: RE: Ant, [cvs] cvs checkout: authorization failed: server
> > xyz.bar.com rejected access to /cvsroot for user foobar
> > 
> > <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
> 
> 
> ---------------------------------------------------------------------
> 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