Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 46188 invoked from network); 12 Sep 2002 14:54:35 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 12 Sep 2002 14:54:35 -0000 Received: (qmail 15644 invoked by uid 97); 12 Sep 2002 14:54:41 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 15483 invoked by uid 97); 12 Sep 2002 14:54:39 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 15409 invoked by uid 98); 12 Sep 2002 14:54:39 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Date: Fri, 13 Sep 2002 00:54:51 -0500 From: Lyndon Samson X-Mailer: The Bat! (v1.53d) Personal Reply-To: Lyndon Samson Organization: NA X-Priority: 3 (Normal) Message-ID: <1101317694214.20020913005451@ozemail.com.au> To: "Ant Users List" Subject: Re[2]: Telnet and tar -xvf In-Reply-To: <5164A49467308C45AD50661F8CFDC34302B502FB@s30342g004004> References: <5164A49467308C45AD50661F8CFDC34302B502FB@s30342g004004> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hello Julia, Have you tried putting all the commands in one shell script and just using the telnet task to execute that script? This might help in diagnosing the problem. cheers lyndon Thursday, September 12, 2002, 7:32:15 AM, you wrote: VJ> Here is a snippet (the tar actually executes in the middle of the sequence): VJ> VJ> ogin: VJ> VJ> assword: VJ> VJ> VJ> VJ> VJ> VJ> VJ> VJ> VJ> ... VJ> VJ> When I nohup the tar through ant and tail nohup.out, I don't see the results VJ> of the extraction. However, if I telnet into the box and tail nohup.out, I VJ> see the results. Why would that be? VJ> Julia VJ> -----Original Message----- VJ> From: Steve Loughran [mailto:steve_l@iseran.com] VJ> Sent: Wednesday, September 11, 2002 3:48 PM VJ> To: Ant Users List VJ> Subject: Re: Telnet and tar -xvf VJ> ----- Original Message ----- VJ> From: "Vaughn, Julia" VJ> To: "'Ant Users List'" VJ> Sent: Wednesday, September 11, 2002 11:32 AM VJ> Subject: RE: Telnet and tar -xvf >> I have tried that as well as unzip -of. I believe it's a bug in the telnet >> task. I am responsible for automating ~20 java apps (build and deployment) >> and I see similar things with every build file. If I nohup the tar and VJ> sleep >> 60, then it works fine. Has anyone else experienced this? VJ> I usually remote deploy by using jar -xvf, never hit problems. But I do set VJ> the prompt at the far end. VJ> Are you making sure that you wait for a response after making the tar call? VJ> the nohup hints implies you need to keep it running after the task VJ> exits...if there isnt a at the end the task exits without waiting for VJ> tar to finish. VJ> -- VJ> To unsubscribe, e-mail: VJ> For additional commands, e-mail: VJ> -- VJ> To unsubscribe, e-mail: VJ> For additional commands, e-mail: -- Best regards, Lyndon mailto:samson@ozemail.com.au -- To unsubscribe, e-mail: For additional commands, e-mail: