Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 11012 invoked from network); 20 Sep 2005 15:48:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Sep 2005 15:48:09 -0000 Received: (qmail 42286 invoked by uid 500); 20 Sep 2005 15:48:01 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 42244 invoked by uid 500); 20 Sep 2005 15:48:01 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 42218 invoked by uid 99); 20 Sep 2005 15:48:00 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Sep 2005 08:48:00 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [146.197.27.40] (HELO barrierb241.nike.com) (146.197.27.40) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Sep 2005 08:48:08 -0700 X-Server-Uuid: BDE2CC8B-9671-48D4-9A25-CA756DA0A621 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Subject: RE: ssh advice Date: Tue, 20 Sep 2005 08:47:44 -0700 Message-ID: <200509201547.j8KFlmKv020524@barrierb241.nike.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: ssh advice Thread-Index: AcW6shDQEltX9EfxQLezXHaLsV76ogDSDpPw From: "Anderson, Rob (Global Trade)" To: "Ant Users List" X-OriginalArrivalTime: 20 Sep 2005 15:47:45.0323 (UTC) FILETIME=[A4BCAFB0:01C5BDFA] X-WSS-ID: 6F2EF0AB1LO1133909-01-01 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I would suggest changing your process slightly. Run Ant on the unix box where you "dist the project". Of course, I'm not sure what output you are trying to evaluate, but this may help your situation. -Rob Anderson > -----Original Message----- > From: Ramnish Kalsi [mailto:rkalsi@Lastminute.com]=20 > Sent: Friday, September 16, 2005 4:19 AM > To: Ant Users List > Subject: ssh advice >=20 > Hi, I am working on a project to automate a build system, and=20 > the flow is somewhat like this: > =20 > 1. ssh into a unix machine.=20 > 2. Sync the repository > 3. dist the projects. > 4. ssh into application-specific unix boxes and deploy=20 > appropriate apps to appropriate boxes. > =20 > How can i gather the output of ssh task into a variable and=20 > take logical decisions based upon the output. > What should be the best possible approach for this ? > =20 > thanks. > ramnish. >=20 > Ant version: 1.6.2 > Java version: 1.4.2_03 >=20 >=20 > ********************************************************************** > This email and any files transmitted with it are confidential=20 > and intended solely for the use of the individual or entity=20 > to whom they are addressed. If you have received this email=20 > in error please notify the system manager. >=20 > This footnote also confirms that this email message has been=20 > swept by MIMEsweeper for the presence of computer viruses. >=20 > www.mimesweeper.com > ********************************************************************** >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For=20 > additional commands, e-mail: user-help@ant.apache.org >=20 >=20 >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org