Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 20039 invoked from network); 21 Feb 2006 22:04:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 Feb 2006 22:04:40 -0000 Received: (qmail 39109 invoked by uid 500); 21 Feb 2006 22:04:15 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 39045 invoked by uid 500); 21 Feb 2006 22:04:15 -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 39018 invoked by uid 99); 21 Feb 2006 22:04:15 -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 14:04:15 -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 14:04:14 -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: Can these targets be combined? Date: Tue, 21 Feb 2006 14:03:45 -0800 Message-ID: <200602212206.k1LM5uKU022373@barriere241.nike.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Can these targets be combined? Thread-Index: AcY0Ea6DrZ8/4jVuRTOLgyF9P9sTIQDILllg From: "Anderson, Rob (Global Trade)" To: "Ant Users List" X-OriginalArrivalTime: 21 Feb 2006 22:03:45.0386 (UTC) FILETIME=[AF329CA0:01C63732] X-WSS-ID: 6FE551C81KO1180932-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 You do not need to use the task within a target (as long as you are using Ant 1.6 or greater) . You could rewrite this as... -Rob A > -----Original Message----- > From: news [mailto:news@sea.gmane.org] On Behalf Of Ian Pilcher > Sent: Friday, February 17, 2006 2:29 PM > To: user@ant.apache.org > Subject: Can these targets be combined? >=20 > I need to execute a single task if a file exists. Here's=20 > what I've been able to glean from the Ant manual (which=20 > desperately needs an index, > BTW): >=20 > > property=3D"bootstrap"/> > >=20 > > > >=20 > Is there a way to combine these two targets into one? >=20 > Thanks! >=20 > -- > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > Ian Pilcher =20 > i.pilcher@comcast.net > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For 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