ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran" <stev...@iseran.com>
Subject Re: Why my telnet command fails to make zip or tar file?
Date Mon, 14 Apr 2003 03:54:59 GMT

----- Original Message -----
From: <kg84@daimlerchrysler.com>
To: <user@ant.apache.org>
Sent: Friday, April 11, 2003 11:09
Subject: Why my telnet command fails to make zip or tar file?


>
>
>
>  Why my below telnet target not executing zip command. I don't get any
>  error also.
>  <telnet userid="${staging.login}" password="${staging.password}" server="
>  ${staging1.app.server}">
>                                       <write>cd dir1</write>
>                                       <write>zip -r prop *</write>
>                                       <write>cd dir2</write>
>                                       <write>zip -r jsp *</write>
>                           </telnet>

you arent <read>ing responses, ant hangs up after the write, your shell
closes, the zip never completes.

Martin's suggestion about uploading and running a script still applies -Perl
and Ant are both good languages.


Mime
View raw message