Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 94257 invoked from network); 26 Feb 2010 10:09:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 26 Feb 2010 10:09:58 -0000 Received: (qmail 53097 invoked by uid 500); 26 Feb 2010 10:09:57 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 53052 invoked by uid 500); 26 Feb 2010 10:09:57 -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 53043 invoked by uid 99); 26 Feb 2010 10:09:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Feb 2010 10:09:57 +0000 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: domain of antuser@gmail.com designates 209.85.220.212 as permitted sender) Received: from [209.85.220.212] (HELO mail-fx0-f212.google.com) (209.85.220.212) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Feb 2010 10:09:50 +0000 Received: by fxm4 with SMTP id 4so7376392fxm.20 for ; Fri, 26 Feb 2010 02:09:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=EN2RBJX79qstSSRfaoWeDldNC7z4dhfcpeqrJGGXLLk=; b=gFRQ8aWEE6Mr4CIjdJiQe4Ht2QUoQ2sd4QC7060vf7ZJNHxk9FIuFfkQzR1K4noYq7 pbumK54ZMI/2v+7gk1gAjIDsB8BEkFB2PTaXfWeZuIQtsc+aR06uP0nucmljdgxwVvs4 vxcHdYx6MkiT3i5XkWJZIkFPWzdzkTYAgfSo8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=rIj1O7UpjAv553kdFqewZ2FmdWNOfPKsVSObEISeZcI2vBcw7jnGnRDFCrhrxJUq/6 XHJamUvzSLgcp5kMxLp6AdCnHIep8OBa3QCQlD13rVZpOI1I3UNOLg8auiseG3h336t4 rdRd90CVZar+bWcgVPP+LaLjyBzDOjjLnYyco= MIME-Version: 1.0 Received: by 10.223.58.71 with SMTP id f7mr187389fah.45.1267178968398; Fri, 26 Feb 2010 02:09:28 -0800 (PST) In-Reply-To: <4B86B6C4.3060001@sympatico.ca> References: <4B85B91B.8070502@sympatico.ca> <4B86B6C4.3060001@sympatico.ca> Date: Fri, 26 Feb 2010 11:09:28 +0100 Message-ID: Subject: Re: Basic question re Antform and conditional execution of tasks From: Patrick Martin To: Ant Users List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello, Indeed, if your 'Omit_Optional_Partx' targets are not part of any depends attribute, they will not get called. You should probably have something like: ... ... ... ... ... Rgds, Patrick On Thu, Feb 25, 2010 at 6:43 PM, Rhino wrote: > Thank you, Patrick, for your helpful suggestion. I've changed to a > booleanProperty. Unfortunately, my script still doesn't work. The > 'verify_switches' target now looks like the following and everything else= is > the same: > > > content to omit."> > =A0 > =A0 =A0 =A0 > =A0 =A0 =A0 property=3D"omit.optional.part1"/> > =A0 =A0 =A0 property=3D"omit.optional.part2"/> > =A0 =A0 =A0 property=3D"omit.optional.part3"/> > =A0 =A0 =A0 > =A0 =A0 =A0 =A0 =A0