Theepan. T wrote:
I am writing an ant script to checkout a module from the CVS repository. I
have installed cygwin cvs.exe and ssh.exe client. I also have the following
environmental variables set:
CVSROOT=:ext:[EMAIL PROTECTED]:/cvsroot
CVS_RSH=ssh
When I checkout on the command prompt using this command: “cvs checkout
pack_name”, it works, but when I tried using an ant script to checkout a
module, it just hangs. I think it is expecting a response from the server,
but im not sure why this happens. I don't really understand why it just
hangs, Can someone please help me?
This the script I have:
<target name="cvs-checkout">
<cvspass cvsroot=":ext:[EMAIL PROTECTED]:/cvsroot"
passfile=".cvspass"
password="password" />
<cvs command="checkout"
cvsRoot=":ext:[EMAIL PROTECTED]:/cvsroot"
dest="C:\repo"
passfile=".cvspass"
package="pack_name"
failonerror="yes"/>
</target>
OUTPUT:
cvs-checkout:
(it just hangs here)
what happens if you run it in verbose mode?
--
Steve Loughran http://www.1060.org/blogxter/publish/5
Author: Ant in Action http://antbook.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]