ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@apache.org>
Subject Re: ant script just hang when checking out of CVS
Date Tue, 25 Sep 2007 07:58:03 GMT
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:username@host:/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:username@host:/cvsroot" 
> 	      	passfile=".cvspass"   
> 	      	password="password" />
> 	      
> 	   <cvs command="checkout"
> 	     	cvsRoot=":ext:username@host:/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: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message