Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 86846 invoked from network); 29 Jul 2005 21:05:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 Jul 2005 21:05:28 -0000 Received: (qmail 67974 invoked by uid 500); 29 Jul 2005 21:05:23 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 67924 invoked by uid 500); 29 Jul 2005 21:05:22 -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 67908 invoked by uid 99); 29 Jul 2005 21:05:22 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Jul 2005 14:05:22 -0700 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 [206.190.36.230] (HELO web54006.mail.yahoo.com) (206.190.36.230) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 29 Jul 2005 14:05:14 -0700 Received: (qmail 15758 invoked by uid 60001); 29 Jul 2005 21:05:19 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=KtF+QzB9DARgeLj50/FlaXe0D+MG3quZout0X9l5ojqgMb66TW077MnLLXse6NTeS8+T5D4R4d97gpaXA3ODWdpqmAJScVDkyKkcrONhtvm3YueuX37Jsf/SyRgGgfjntWjgQ8KtA62388dA9t6rI/5Kpnu9FpTEKwwiI/qJiXQ= ; Message-ID: <20050729210519.15756.qmail@web54006.mail.yahoo.com> Received: from [216.31.247.195] by web54006.mail.yahoo.com via HTTP; Fri, 29 Jul 2005 14:05:19 PDT Date: Fri, 29 Jul 2005 14:05:19 -0700 (PDT) From: Michael Pelz Sherman Subject: bug in "unless"? To: Ant Users List In-Reply-To: <200507291955.j6TJtxcH004265@barrierb241.nike.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, In ant 1.6.2, the following seems to indicate a bug with "unless": Executing B Executing C; foodir.exists is ${foodir.exists} Executing A $ mkdir foo $ ant -f foo.xml A Buildfile: foo.xml B: [echo] Executing B C: [echo] Executing C; foodir.exists is true A: [echo] Executing A BUILD SUCCESSFUL Total time: 0 seconds Unless I'm missing something, target C should not be executed if the directory "foo" exists. Can someone please enlighten me? Thanks! - Michael --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org