ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: <sshsession> in ANT 1.8
Date Wed, 28 Jul 2010 10:50:19 GMT
On 2010-07-27, Rao Chaudhri wrote:

> Getting error: "CreateProcess: test -f /tmp/test.log error=2"

This is the error Windows emits if it cannot find the executable you ask
it to run.

> Here's the code, not sure what's wrong here.

>                   <sshsession ...
>                         failonerror="true">
>                         <sequential>
>                               <exec executable="test">

If you intend to run the command on the remote machine, you want to use
sshexec, not exec.

Stefan

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


Mime
View raw message