ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Smith <>
Subject RE: CVS Get Problems
Date Wed, 21 Feb 2001 22:27:21 GMT
have you tried doing a cvs login just before running ant?  otherwise you
could try:

<cvs cvsRoot=":pserver:username:password@"
           package="source" dest="${build}/cvstemp" /> 

note the addition of a password in the cvsRoot tag.  Not all that secure,
but I assume you are just checking out, so a readonly account may not be so

-----Original Message-----
From: Slocum, Jim []
Sent: Thursday, 22 February 2001 5:19 AM
To: ''
Subject: CVS Get Problems

I'm currently working on a windows machine and running ant. I'm looking to
use ant to automate the build process, but I'm running into a problem. I'm
connecting to a Unix box that's running the CVS repository.

When I use the command :
	<cvs cvsRoot=":pserver:username@"
           package="source" dest="${build}/cvstemp" />

It returns to me with :

	[cvs] cvs checkout: authorization failed: server rejected
	[cvs] cvs checkout: used empty password; try "cvs login" with a real

I'm using the latest version of ant (1.3 beta 3) and can't seem to find a
place that specifies how to sent a password to the server. Do I need to
change my cvsRoot? If I just cvs normally, it works fine.

Can anyone be of any help?

Thanks in advance.

View raw message