ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guy Catz <Guy.c...@waves.com>
Subject how can tell if a property is set?
Date Thu, 14 Aug 2008 15:56:25 GMT
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.
















Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message