Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 53358 invoked from network); 24 Jul 2007 03:40:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Jul 2007 03:40:56 -0000 Received: (qmail 83141 invoked by uid 500); 24 Jul 2007 03:40:54 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 83092 invoked by uid 500); 24 Jul 2007 03:40:54 -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 83081 invoked by uid 99); 24 Jul 2007 03:40:54 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jul 2007 20:40:54 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jul 2007 20:40:52 -0700 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1IDBGB-00015v-Ga for user@ant.apache.org; Mon, 23 Jul 2007 20:40:31 -0700 Message-ID: <11756516.post@talk.nabble.com> Date: Mon, 23 Jul 2007 20:40:31 -0700 (PDT) From: warhero To: user@ant.apache.org Subject: Re: help with some conditional logic.. In-Reply-To: <46A5738A.6070507@wilandra.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: beingthexemplary@gmail.com References: <11755475.post@talk.nabble.com> <46A5738A.6070507@wilandra.com> X-Virus-Checked: Checked by ClamAV on apache.org bill/wilandra wrote: > > Create a target named init which will define/set props.someprop to any > value. > > > HTH Bill > > -- > This would kind of work. But this will fail to execute all commands in a > "depends" chain. if one of the if tests isn't met then subsequent target's > won't execute. > > Aaron > > > warhero wrote: >> >> >> >> >> >> >> ##how use some logic based on a property >> from >> the props file that will either execute the "exec" or just pass it? >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> So what im trying to do is only execute if a property is true.. Obviously >> some pretty simple logic but doing that in ant? >> >> thanks >> > > -- View this message in context: http://www.nabble.com/help-with-some-conditional-logic..-tf4133302.html#a11756516 Sent from the Ant - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org