ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Owens" <Mark.Ow...@coda.com>
Subject RE: <cvs> task via SSH
Date Tue, 29 Oct 2002 16:38:46 GMT
Sorry about that - didn't do the correct search through the archives...
Directory now fixed.
Still have the SSH access problem tho'.
I've tried adding replacing :ext: with :ssh: in my CVSROOT but it fails with
"unknown method".
I've also adding cvsRsh="ssh" to the <cvs> task but it fails with:
x:\javawork\build.xml:51: Class org.apache.tools.ant.taskdefs.Cvs doesn't
support the "cvs_rsh" attribute

Does the cvs task actually use the cvs program on my machine. In case it
does, it's cvs v1.11.
Thanks
Mark

-----Original Message-----
From: Dominique Devienne [mailto:DDevienne@lgc.com]
Sent: 29 October 2002 16:25
To: 'Ant Users List'
Subject: RE: <cvs> task via SSH


error=267 was discussed just yesterday. Someone posted that it means the
destination directory ('dest' in your case) is not found. Check your
${cvs.target.dir} property value. --DD

-----Original Message-----
From: Mark Owens [mailto:Mark.Owens@coda.com] 
Sent: Tuesday, October 29, 2002 10:21 AM
To: ant-user@jakarta.apache.org
Subject: <cvs> task via SSH

Hi,
I've got a Win2K client talking to a Linux CVS repository using WinCVS.
I'm investigating the automation of this using Ant.
The CVS repository is only accessible via SSH.

I'm having trouble getting the <cvs> task to do this. The relevant snippet
is:
<cvs command="update" cvsRoot="${cvs.root}" package="${cvs.package}"
dest="${cvs.target.dir}"/>
It fails with error=267.

Using Ant -debug, I'm able to confirm that the command being executed works
if I issue it on the command line.
Am I trying to do the impossible?
Cheers
Mark

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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message