ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "S I" <xia...@hotmail.com>
Subject Ant Task: sshexec
Date Thu, 19 May 2005 22:00:46 GMT
How can I get sshexec to pass it more than one command at a time?

  <sshexec host="somehost"
	username="${username}"
	password="${password}"
	command="touch somefile"/>

I used it to run command on our unix server from my winxp desktop.  However, 
it seems I have to instantiate many of these ...

<sshexec host="somehost"
	username="${username}"
	password="${password}"
	command="touch somefile"/>

.. just to run 1 cmd @ a time.  I tried <commnadline> + it <argument> 
attribs to no avail as you guessed it.  Help!

Thanks
Steven



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


Mime
View raw message