ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konrad <khgus...@yahoo.com>
Subject Re: AW: [Telnet] Debugging Telnet task?
Date Tue, 16 Sep 2003 22:19:51 GMT
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 <antoine@antbuild.com> 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:khgustaf@yahoo.com]
> Gesendet: Dienstag, 16. September 2003 21:04
> An: user@ant.apache.org
> 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:
> 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
> 


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

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


Mime
View raw message