Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 31019 invoked by uid 500); 15 Oct 2001 14:29:31 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: ant-user@jakarta.apache.org Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 30809 invoked from network); 15 Oct 2001 14:29:26 -0000 Message-ID: <3BCAF542.1070106@inrialpes.fr> Date: Mon, 15 Oct 2001 16:40:02 +0200 From: Sebastien Chassande-Barrioz User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.3) Gecko/20010815 X-Accept-Language: fr, en-us MIME-Version: 1.0 To: ant-user@jakarta.apache.org Subject: Re: How to check if a propery is set References: <20011015132159.81242.qmail@web13402.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Diane Holt wrote: >>I would like to run tasks only if a certain variable is set or not. >>The following example doesn't work because the test.id variable is not >>set to the "true" value, but it's set to my test identifier. >> >> >>.... >> >> >>.... >> > > > Property names for if/unless should be specified as just the name > no dollar-sign, no curly-braces. Thank you, it is the solution. Seb -- Chassande-Barrioz Sebastien INRIALPES - SIRAC/SARDES Team - ObjectWeb initiative Mail job : sebastien.chassande@inrialpes.fr Phone : 04.76.61.55.16