Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 30120 invoked from network); 24 Nov 2005 09:50:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 24 Nov 2005 09:50:10 -0000 Received: (qmail 67488 invoked by uid 500); 24 Nov 2005 09:50:02 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 67397 invoked by uid 500); 24 Nov 2005 09:50:02 -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 67360 invoked by uid 99); 24 Nov 2005 09:50:02 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Nov 2005 01:50:02 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [160.53.250.150] (HELO smtp.etat-ge.ch) (160.53.250.150) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Nov 2005 01:51:31 -0800 Received: from fregate.ge-admin.ad.etat-ge.ch ([10.137.224.84]) by smtp2.ceti.etat-ge.ch with InterScan Messaging Security Suite; Thu, 24 Nov 2005 10:49:37 +0100 Received: from capucin.ge-admin.ad.etat-ge.ch ([10.137.224.82]) by fregate.ge-admin.ad.etat-ge.ch with Microsoft SMTPSVC(6.0.3790.211); Thu, 24 Nov 2005 10:49:37 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C5F0DC.61BAFBEA" Subject: Recovering the return code from the called build.xml into the calling build.xml Date: Thu, 24 Nov 2005 10:49:44 +0100 Message-ID: <2A8BA47B2326B14E96BCB7467F0EFEDB3553CC@capucin.ge-admin.ad.etat-ge.ch> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Recovering the return code from the called build.xml into the calling build.xml Thread-Index: AcXw3GYzGJo4heCRQei0deiq6TGE9Q== From: "Bhatia Saurabh \(CHA\)" To: X-OriginalArrivalTime: 24 Nov 2005 09:49:37.0387 (UTC) FILETIME=[61C79BB0:01C5F0DC] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C5F0DC.61BAFBEA Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Dear Community, My calling build.xml makes a call to a target defined in a different build.xml and this target does an exec. I do get the return value from this exec in the called build.xml but I am looking for a solution for recovering this resultproperty=3D"run-test.result" in the calling code = so that I can invoke other targets in my calling build.xml based on the return code I got from the called build.xml. (e.g I would like to send an email with success notification if the return code =3D 0 or a failure email notification if the return code is anything but 0). Really appreciate your solutions and thanking in advance. Saurabh =20 Calling build.xml ------------------------ =09 =09 =20 =09 Called build.xml ---------------------------- =20 ------_=_NextPart_001_01C5F0DC.61BAFBEA--