ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yuji Yamano <yyam...@kt.rim.or.jp>
Subject Re: Problems Ant + CVS + Cygwin
Date Thu, 03 Mar 2005 16:41:00 GMT
rakesh mailgroups <rakesh.mailgroups@gmail.com> writes:

> We have a CVS respository on the network accessed via ssh.
> 
> Eclipse works fine, as does the cygwin command line. Getting Ant to
> talk to the repository however does not work. Here is my code:
> 
> <target name="update" depends="prepare" description="update code.">
> 		<cvs command="update"
> cvsRoot=":ext:patelr@222.23.50.194:/Software-repository/JAC/Working"
> cvsRsh="ssh" package="Persistence" dest="${dir.cvsout}" />
> 	</target>
> 
> Ant just seems to hang. It may be expecting a password/key but i do
> not know how to provide it.

I believe ssh-agent helps you.

% ssh-agent /bin/tcsh [You can use your favorite shell instead of tcsh]
% ssh-add
Need passphrase for /Users/yyamano/.ssh/identity
Enter passphrase for yyamano@kt.rim.or.jp [Enter your ssh passphrase]
% ant update

-- 
Yuji Yamano <yyamano@kt.rim.or.jp>

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


Mime
View raw message