ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran" <>
Subject Re: Telnet and tar -xvf
Date Thu, 12 Sep 2002 18:18:17 GMT

----- Original Message -----
From: "Vaughn, Julia" <>
To: "'Ant Users List'" <>
Sent: Thursday, September 12, 2002 5:32 AM
Subject: RE: Telnet and tar -xvf

> Here is a snippet (the tar actually executes in the middle of the
> <telnet server="${}" timeout="60">
>      <read>ogin: </read>
>      <write echo="false" string="${accutrack.user}"></write>
>      <read>assword:</read>
>      <write echo="false" string="${accutrack.pass}"></write>
>      <read string=">"></read>
>      <write string="cd ${accutrack.home}/${accutrack.applications}"/>
>      <read timeout="300" string=">"></read>
>      <write string="tar -xvf accutrack.war"/>
>      <read timeout="600" string=">"></read>
>      <write string=""/>
>      <read timeout="300" string=">"></read>
>      ...
> </telnet>
> When I nohup the tar through ant and tail nohup.out, I don't see the
> of the extraction. However, if I telnet into the box and tail nohup.out, I
> see the results. Why would that be?

I have no idea. I'm trying to remember if <telnet> buffers stuff during the
upload so you only see responses when it finishes. Maybe it really is taking
a long time to extract.

BTW, why are you untarring a .war file? Surely that is a jar file that jar
works on

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message