ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Milesi Nicolas <Nicolas.Mil...@nespresso.com>
Subject telnet task (timeout)
Date Mon, 25 May 2009 08:57:20 GMT
Hello,
i'm trying to extract a .tar archive on a remote machine, but i don't
know how to set the timeout   correctly. How to tell the task to wait
for the extraction ?
 
here is my task:
 
<target name="telnet">
  <telnet userid="myUser" password="myPassword" server="myServer">
   <write>tar -xvf ../../../tmp/hoot3/files.tar</write>
   <write>sleep 125</write>
  </telnet>
 </target>
 
 
Nicolas
 
 

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