ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: <telnet> can't execute an ant execution
Date Thu, 04 Sep 2003 07:06:09 GMT
On Wed, 3 Sep 2003, David <achepati67@yahoo.es> wrote:

> If I want to invoke a ant command during a telnet target it seem to
> me it doesn't work. If I do:
> 
>     <target name = "remote-build"
>         <telnet
>             password    = "${telnet.password}"
>             port        = "${telnet.port}"
>             server      = "${telnet.server}"
>             userid      = "${telnet.userid}"
>             >
>             <write>ant -l log.txt usage</write>
>         </telnet>
>     </target>

If you don't add a <read> after that, your connection will be
terminated and the ant process on the remote end probably killed.

The simplest thing you can probably do, is waiting for your prompt to
reappear.

Stefan

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


Mime
View raw message