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)

Thanks in advance

-- 
View this message in context: 
http://www.nabble.com/ant-script-just-hang-when-checking-out-of-CVS-tf4510769.html#a12865005
Sent from the Ant - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to