ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Bauroth <michael.baur...@falcom.de>
Subject Re: ant, rsync and ssh passphrase
Date Tue, 22 Aug 2006 05:52:05 GMT
Thank you Antoine!

Regards
Michael

Antoine Levy-Lambert wrote:
> Hi,
> 
> if the implementation of rsync asks for the passphrase on the console  
> and not from stdin (programs like su or login do this for their query  
> of password) there is no way you can give the passphrase
> when starting rsync using the ant task exec. <exec/> interacts with  
> executables the same way as a shell script. Shell languages cannot  
> either feed the console, only stdin.
> 
> So the solution would be to rewrite rsync in java. A lot of work  probably.
> 
> Regards,
> 
> Antoine

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


Mime
View raw message