Hi Antoine.
Thanks for your reply.
I tried adding another <read timeout="3"> </read>
after the last write command, but the file is still
not being copied.
Any other suggestions to try?
Thanks.
--- Antoine_Levy-Lambert <[EMAIL PROTECTED]> wrote:
> Hi Konrad,
> you probably need another read after the final
> <write string="cp
> /home/${telnet.user}/${maven.war.final.name}
> /codedrop"/>
> otherwise the telnet session is disconnected before
> the cp command is
> executed.
>
> Antoine
>
> -----Ursprungliche Nachricht-----
> Von: Konrad [mailto:[EMAIL PROTECTED]
> Gesendet: Dienstag, 16. September 2003 21:04
> An: [EMAIL PROTECTED]
> Betreff: [Telnet] Debugging Telnet task?
>
>
> Is there anyway besides executing Ant with the
> "-debug" parameter for debugging the Telnet task as
> it
> executes? The below task is completing
> successfully,
> but when I check the server it is apparent that the
> Telnet commands were not actually executed
> successfully...
>
> <telnet server="${telnet.server}"
> userid="${telnet.user}"
> password="${telnet.pw}">
>
> <read timeout="3">]% </read>
> <write string="ls -al"/>
>
> <read timeout="3"> </read>
> <write string="/usr/seos/bin/sesudo regional"/>
>
> <read timeout="3"> </read>
> <write string="cp
> /home/${telnet.user}/${maven.war.final.name}
> /codedrop/"/>
>
> </telnet>
>
>
> Is there any thing wrong with this task? If not, is
> there any way to access any additional logging
> output
> from the telnet task to see what the script is
> choking
> on?
>
> Thanks.
>
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site
> design software
> http://sitebuilder.yahoo.com
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
>
>
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
>
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]