ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konrad <khgus...@yahoo.com>
Subject [Telnet] Debugging Telnet task?
Date Tue, 16 Sep 2003 19:03:30 GMT
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


Mime
View raw message