ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Gainty <mgai...@hotmail.com>
Subject RE: how can tell if a property is set?
Date Thu, 14 Aug 2008 16:37:55 GMT

Guy-

have you had a chance to use the looked at using available ?
http://ant.apache.org/manual/CoreTasks/available.html
and test with condition..
http://ant.apache.org/manual/CoreTasks/condition.html
?
HTH
Martin 
______________________________________________ 
Disclaimer and confidentiality note 
Everything in this e-mail and any attachments relates to the official business of Sender.
This transmission is of a confidential nature and Sender does not endorse distribution to
any party other than intended recipient. Sender does not necessarily endorse content contained
within this transmission. 


> From: Guy.catz@waves.com
> To: user@ant.apache.org
> Date: Thu, 14 Aug 2008 11:56:25 -0400
> Subject: how can tell if a property is set?
> 
> how can tell if a property is set?
> 
> I've tried using contrib this -
> <if>
>    <equals arg1="${var}" arg2="" />
>    <then>
> 
> but, if ${var} was never been set, the result is actually FALSE...
> 
> I need something like -
> <if>
>     <set var="${var}" />
>     <then>
>     ...
> 
> 
> [http://www.waves.com/Objects/Images/Others/signature_logo.jpg] Guy Catz
> Release Manager
> 
> 
> Waves Audio Ltd
> Tel: +972 3 608 4041
> www.waves.com<http://www.waves.com/>  www.maxx.com<http://www.maxx.com/>
 www.sound.org<http://www.sound.org/>
> 
>         This e-mail transmission, and any documents, files or previous e-mail messages
attached to it, may contain confidential or privileged information. If you are not the intended
recipient, or a person responsible for delivering it to the intended recipient, you are hereby
notified that any disclosure, copying, distribution or use of any of the information contained
in or attached to this message is STRICTLY PROHIBITED. If you have received this transmission
in error, please immediately notify the sender and delete the e-mail and attached documents.
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 

_________________________________________________________________
Got Game? Win Prizes in the Windows Live Hotmail Mobile Summer Games Trivia Contest
http://www.gowindowslive.com/summergames?ocid=TXT_TAGHM
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message