Return-Path: X-Original-To: apmail-ant-user-archive@www.apache.org Delivered-To: apmail-ant-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 35C6961F3 for ; Mon, 20 Jun 2011 19:29:00 +0000 (UTC) Received: (qmail 41103 invoked by uid 500); 20 Jun 2011 19:28:59 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 41031 invoked by uid 500); 20 Jun 2011 19:28:59 -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 41023 invoked by uid 99); 20 Jun 2011 19:28:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Jun 2011 19:28:59 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [147.11.1.11] (HELO mail.windriver.com) (147.11.1.11) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Jun 2011 19:28:51 +0000 Received: from ALA-HCB.corp.ad.wrs.com (ala-hcb [147.11.189.41]) by mail.windriver.com (8.14.3/8.14.3) with ESMTP id p5KJSS0W006982 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for ; Mon, 20 Jun 2011 12:28:28 -0700 (PDT) Received: from ALA-MBA.corp.ad.wrs.com ([169.254.1.7]) by ALA-HCB.corp.ad.wrs.com ([147.11.189.41]) with mapi id 14.01.0255.000; Mon, 20 Jun 2011 12:28:28 -0700 From: "Echlin, Robert" To: Ant Users List Subject: RE: Junit report for multiple projects Thread-Topic: Junit report for multiple projects Thread-Index: AQHMLmLek8k+doGOXEW9RAs3ei8KPZTGTIEQgACBzQD//9K1YA== Date: Mon, 20 Jun 2011 19:28:27 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [128.224.140.203] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Then try "Ant", instead of "Antcall". Rob > -----Original Message----- > From: kasim ahmed [mailto:mail2kasim@googlemail.com] > Sent: Monday, June 20, 2011 11:01 AM > To: Ant Users List > Subject: Re: Junit report for multiple projects >=20 > sorry, junit-1,junit-2,junit-3 are in different project and each project = is having > build.xml. >=20 > 1" > inheritAll=3D"false"/> > 2" > inheritAll=3D"false"/> > 3" > inheritAll=3D"false"/> >=20 >=20 > On Mon, Jun 20, 2011 at 4:21 PM, Echlin, Robert > > wrote: >=20 > > You are running separate copies of ant for each of the junit tests. > > Instead, run them all in the same Ant invocation, and make the "mainbui= ld" > > target depend on all of them. > > > > > > > > The above line replaces the first 4 nonblank lines (shown below) from > > your example. > > > > > > > > > > > > > > > > Rob > > > > > > > -----Original Message----- > > > From: kasim ahmed [mailto:mail2kasim@googlemail.com] > > > Sent: Sunday, June 19, 2011 5:25 AM > > > To: Ant Users List > > > Subject: Junit report for multiple projects > > > > > > i have ant target which invokes concurrently other 3 projects ant > > > build > > target > > > for junit. this build target executes all three projects even though > > > any > > one of > > > the sub project build fails. Problem here is, if any one of sub > > > project > > build > > > fails error message should display and junit report should generate, > > > but > > it is > > > not happening, how can i solve it? > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > 1) main build invokes 3 project, even though build fail in any one > > > of the subproject, build successful message displays at the end, it > > > should not happen > > > > > > 2) if anyone of the subproject build fails, build report should > > > generate, > > so > > > that developer can analyse further on his failure. > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional > > commands, e-mail: user-help@ant.apache.org > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org