ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: SSH Tasks
Date Fri, 21 Feb 2003 16:51:29 GMT
On Fri, 21 Feb 2003, Rob H. Anderson <Anderson.Rob@vectorscm.com>
wrote:

> Can there be some flag that specifies interactivity?

If there is a reason for it, sure.

> <!-- Non-interactive -->
> <ssh host="myhost" username="myname" password="mypass"
> 	interactive="false"
> 	command="cd /usr/local/bin ; rm -rf product ; tar zxf product.tar.gz"
> 	/>

Would this (implementation-wise) be different from

<ssh host="myhost" username="myname" password="mypass">
  <write>cd /usr/local/bin ; rm -rf product ; tar zxf product.tar.gz</write>
</ssh>

?

Stefan

Mime
View raw message