Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 59619 invoked from network); 15 Mar 2005 11:10:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 15 Mar 2005 11:10:20 -0000 Received: (qmail 90039 invoked by uid 500); 15 Mar 2005 11:10:10 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 89987 invoked by uid 500); 15 Mar 2005 11:10:09 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 89970 invoked by uid 99); 15 Mar 2005 11:10:09 -0000 X-ASF-Spam-Status: No, hits=0.9 required=10.0 tests=DNS_FROM_RFC_ABUSE,FROM_ENDS_IN_NUMS,RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of antonypaul24@gmail.com designates 64.233.184.199 as permitted sender) Received: from wproxy.gmail.com (HELO wproxy.gmail.com) (64.233.184.199) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 15 Mar 2005 03:10:08 -0800 Received: by wproxy.gmail.com with SMTP id 68so2449314wri for ; Tue, 15 Mar 2005 03:10:06 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=k9yYOI3+ZjUtnj9bAsT0tYMqeG23OuuuLBGzsQx5JBSfYOc6MqQMomKvcm/YEp3tnlu7pt+w2jddqR8N6kuB+k5Iw/kAh4gx2slt0gqEuYlILUn4YbNLMcRQYLUhhdJNns4D1Va7f6rACnBQL6OpNws5XcBb87Me85+A0qnl8eE= Received: by 10.54.10.4 with SMTP id 4mr420021wrj; Tue, 15 Mar 2005 03:10:06 -0800 (PST) Received: by 10.54.31.54 with HTTP; Tue, 15 Mar 2005 03:10:06 -0800 (PST) Message-ID: <2989532e050315031052ea654b@mail.gmail.com> Date: Tue, 15 Mar 2005 16:40:06 +0530 From: Antony Paul Reply-To: Antony Paul To: Ant Users List Subject: Re: Using multiple if on target element In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit References: <2989532e050315021466e2b0e9@mail.gmail.com> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Thanks Ronen. Using element outside target helped. On Tue, 15 Mar 2005 12:26:13 +0200, Ronen Mashal wrote: > You don't have to write a target but you will have to use the > task to set a third property. Use the nested elements in the > . > The task can be used outside of a target. It will be evaluated > before any target is executed. > > Ronen. > > Antony Paul wrote on 03/15/2005 12:14:07 PM: > > > Hi all, > > I need to check whether two properties are set before executing a > > task. I could check for one property using if attribute of target. How > > to check for 2 properties are set ?. > > I dont want to write another target to check this condition. > > -- > > rgds > > Antony Paul > > http://www.geocities.com/antonypaul24/ > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > > For additional commands, e-mail: user-help@ant.apache.org > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > > -- rgds Antony Paul http://www.geocities.com/antonypaul24/ --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org