ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Levy-Lambert <anto...@antbuild.com>
Subject AW: ant task
Date Tue, 09 Dec 2003 22:53:19 GMT
Hi Kishore,

<read string=">"/> might be understood wrongly by ant and the XML Parser
before ant "sees" your buildfile.
Try this :
<read string="&gt;"/>

Cheers,
Antoine
-----Ursprungliche Nachricht-----
Von: Tangirala, Kishore K [LTD]
[mailto:Kishore.K2.Tangirala@mail.sprint.com]
Gesendet: Dienstag, 9. Dezember 2003 22:27
An: ant-user@jakarta.apache.org
Betreff: ant task


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






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


Mime
View raw message