ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anderson, Rob (Global Trade)" <Rob.Anders...@nike.com>
Subject RE: multiple commands with same ssh connection
Date Fri, 23 Jan 2004 18:59:09 GMT
Yes, Line them up in the command attribute separated by a ";". 

<sshexec host="xxxxxx"
        username="xxxx"
        password="xxxx"
        command="command1;command2;command3"/>

Multiple command attributes are not supported.

-Rob Anderson


-----Original Message-----
From: Jacob, Anil - MWT [mailto:Jacob.Anil@menlolog.com]
Sent: Friday, January 23, 2004 10:41 AM
To: Ant Users (E-mail)
Subject: multiple commands with same ssh connection


 With sshexec can we run multiple commands wih one target and one connection? for example

 
 <sshexec host="xxxxxx"
        username="xxxx"
        password="xxxx"
        command="command1"/>
        command="command2"/>
Currently I think command2 cannot be executed, in the same connection.

Anil

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




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


Mime
View raw message