Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 12664 invoked from network); 21 Feb 2006 21:52:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 Feb 2006 21:52:59 -0000 Received: (qmail 14249 invoked by uid 500); 21 Feb 2006 21:52:53 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 14197 invoked by uid 500); 21 Feb 2006 21:52:52 -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 14178 invoked by uid 99); 21 Feb 2006 21:52:52 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Feb 2006 13:52:52 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [146.197.27.91] (HELO barriere241.nike.com) (146.197.27.91) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Feb 2006 13:52:51 -0800 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: conditional execution Date: Tue, 21 Feb 2006 13:52:21 -0800 Message-ID: <200602212155.k1LLt0KT016415@barriere241.nike.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: conditional execution Thread-Index: AcYz0ksrXLdD7BeJTNaqkwjEg0XkgQDXZwOg From: "Anderson, Rob (Global Trade)" To: "Ant Users List" X-OriginalArrivalTime: 21 Feb 2006 21:52:22.0544 (UTC) FILETIME=[18313100:01C63731] X-WSS-ID: 6FE554121KO1176032-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 If the existance of a file is your condition, use a combination of , , ... ... You could probably do something similar for equal files with the task. -Rob Anderson > -----Original Message----- > From: Paul Pogonyshev [mailto:p.pogonyshev@finamatics.com]=20 > Sent: Friday, February 17, 2006 7:04 AM > To: user@ant.apache.org > Subject: conditional execution >=20 > Hi, >=20 > Is it possible to do some sorts of conditional execution of=20 > tasks other than and scripts=20 > (require extensions)? >=20 > I need things like if file exists, do this, else do that. =20 > Or, if files are equal (byte-wise), do something. >=20 > Paul >=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