ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tangirala, Kishore K [LTD]" <Kishore.K2.Tangir...@mail.sprint.com>
Subject ant task
Date Tue, 09 Dec 2003 21:27:20 GMT
Hi,

   I got this e-mailID from http://www.mail-archive.com
<http://www.mail-archive.com/> . If you can please give the solution for
this problem. 

 

   I am using ant to telnet remote server.  This is my code.

 

When I use this, it creates the "tmp" on server but hangs at read tag.

 

  <telnet userid="${USER}" password="${PASSWORD}" server="${SERVER}">

      <write string="mkdir -p tmp"/>

      <read string=">"/>

  </telnet>

 

When I use this code, it is NOT creating "tmp" dir. But executes the
telnet tag.

 

  <telnet userid="${USER}" password="${PASSWORD}" server="${SERVER}">

      <write string="mkdir -p tmp"/>

  </telnet>

 

Thanks in advance.

kishore

 


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