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 0045A910D for ; Mon, 31 Oct 2011 08:44:39 +0000 (UTC) Received: (qmail 13451 invoked by uid 500); 31 Oct 2011 08:44:38 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 13406 invoked by uid 500); 31 Oct 2011 08:44:37 -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 13388 invoked by uid 99); 31 Oct 2011 08:44:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Oct 2011 08:44:35 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ddevienne@gmail.com designates 209.85.214.45 as permitted sender) Received: from [209.85.214.45] (HELO mail-bw0-f45.google.com) (209.85.214.45) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Oct 2011 08:44:28 +0000 Received: by bkbzu5 with SMTP id zu5so532299bkb.4 for ; Mon, 31 Oct 2011 01:44:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=Db0PF2omAp0/BB4biAc/+9vGoIEYud/un7F7SXiVrqs=; b=QkFNsO18Td2aGtSn3aJgQl6J8PvUskjzp/iPsCZZuEXTWrm922w9kzFzJVK6g+vRLS jdIlwdPO3ZcnLzKpiyShm6PsuUeJPU597HWWkYzv/tJ2NtKkjFjB/A1MEXpzXAyn56Zk rIdbOLTYjkEijlURfO7rhYZa3p638Q1LjJvD8= MIME-Version: 1.0 Received: by 10.204.133.194 with SMTP id g2mr10038913bkt.46.1320050647854; Mon, 31 Oct 2011 01:44:07 -0700 (PDT) Received: by 10.204.65.211 with HTTP; Mon, 31 Oct 2011 01:44:07 -0700 (PDT) In-Reply-To: References: Date: Mon, 31 Oct 2011 09:44:07 +0100 Message-ID: Subject: Re: Target Execution Sequence From: Dominique Devienne To: Ant Users List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Sun, Oct 30, 2011 at 2:47 AM, Rhino wrote: > =A0I'm having a perplexing problem and I'm hoping someone here can help m= e > understand whatever I'm missing. I was moderately fluent with Ant at one > point but I've been away from it a =A0while and have probably just forgot= ten > some fundamental that I need to know. > [...] > In reality, the booleans are being seen by the program that generates the > document as true regardless of what has been done with the AntForm. > Therefore, all three special paragraphs always appear in the document eve= n > when I've asked for some or all of them to be omitted. Haven't looked at the build you included later, but just in case it's a lucky guess, remember that some "conditionals" in Ant only look at whether a property is set, rather than its actual value (true or false, 0, or 1, etc...). For example , will execute if property "foo" is *set*, to whatever. This is typically worked around by using with . (WARNING: untested code). This works because is target's dependencies are always evaluated before itself (if these dependencies haven't been already satisfied/evaluated). Hope this helps. --DD --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org