ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacob, Anil - MWL" <jacob.a...@menloworldwide.com>
Subject Outputproperty in sshexec
Date Tue, 26 Jul 2005 21:56:02 GMT

> I have an ssh task which executes a remote start command and I am
> trying to get the exit status using outputproperty. However I notice
> that the outputproperty value is not being set. Any Idea's? here is a
> part of my build.
> 
> <sshexec host="${remote.server}" username="${remote.user}"
> keyfile="${user.home}/.ssh/id_dsa" trust="true" command="xxxx"
> outputproperty="step4.out"/>
> <echo message="${step4.out}"/>
> </target>
> 
> <target name="stop.step5" depends="stop.step4">
> <if>
> <equals arg1="${step4.out}" arg2="0" />
> <then>
> <XXXXXX>
> 
> ---
> ${step4.out} is not being set at all. The ssh task executes fine.
> 
> Anil

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message