Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 93960 invoked from network); 12 Sep 2007 05:59:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Sep 2007 05:59:17 -0000 Received: (qmail 68264 invoked by uid 500); 12 Sep 2007 05:59:08 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 67294 invoked by uid 500); 12 Sep 2007 05:59:07 -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 67283 invoked by uid 99); 12 Sep 2007 05:59:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Sep 2007 22:59:06 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [62.154.176.138] (HELO icon040.icongmbh.de) (62.154.176.138) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Sep 2007 05:59:02 +0000 Received: from icsrv02.icongmbh.de (unknown [192.168.195.2]) by icon040.icongmbh.de (Postfix) with ESMTP id 3D6A7FDE5 for ; Wed, 12 Sep 2007 07:58:34 +0200 (CEST) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: AW: newbie help: conditional exec X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Wed, 12 Sep 2007 07:58:34 +0200 Message-ID: <06080D44730F41428BAF2168FA8BDD80012E242C@icsrv02.icongmbh.de> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: newbie help: conditional exec thread-index: Acf0ylourE4iSA6GSPmP1/e/D02TCwAARlggAA2d+CA= References: <1189532409.46e6d2f972967@members.uniserve.com> From: =?iso-8859-1?Q?Knuplesch=2C_J=FCrgen?= To: "Ant Users List" X-Virus-Checked: Checked by ClamAV on apache.org Try this http://sourceforge.net/project/showfiles.php?group_id=3D36177=20 --=20 J=FCrgen Knuplesch www.icongmbh.de icon Systemhaus GmbH Tel. +49 711 806098-275 Sophienstra=DFe 40 =20 D-70178 Stuttgart Fax. +49 711 806098-299 Gesch=E4ftsf=FChrer: Uwe Seltmann HRB Stuttgart 17655 USt-IdNr.: DE 811944121=20 -----Urspr=FCngliche Nachricht----- Von: Madunic, Marijan (RBI-US) [mailto:marijan.madunic@reedbusiness.com] = Gesendet: Mittwoch, 12. September 2007 01:29 An: Ant Users List Betreff: RE: newbie help: conditional exec David, Thank you. I'll give it a try later when I have a moment. Where can I = download antContrib? Marijan (Mario) Madunic -----Original Message----- From: David Weintraub [mailto:qazwart@gmail.com] Sent: Tuesday, September 11, 2007 4:20 PM To: Ant Users List Subject: Re: newbie help: conditional exec Two steps: 1). After your test, do an to call a new target 2). Us an "if" = parameter in that target: For example: ... The other solution is to use the antContrib tasks which includes an task: ... I like a lot of the antContrib stuff, but you do have to make sure it is = installed on all the machines that will use your build.xml file. On 9/11/07, Mario Madunic wrote: > I have the following in my ant task to test for the existence of an xml file > after processing > > > > What I want to do is run based on the above property value of true. I > can't seem to find a task to do this. Any help will be appreciated. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional = > commands, e-mail: user-help@ant.apache.org > > -- -- David Weintraub qazwart@gmail.com --------------------------------------------------------------------- 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 --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org