ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From k...@daimlerchrysler.com
Subject Re : Why my telnet command fails to make zip or tar file?
Date Mon, 14 Apr 2003 14:18: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.

How to read response?
<PRE>
<write>cd dir1</write>
<write>zip -r prop *</write>
<read>dir1</read>
</pre>

Is enough? Can you suggest me how to read or wait till zip is done?

thanks.

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




Mime
View raw message