Try this:

<if>
  <isset  property  = "var"/>
  <then>
...

Note no ${var} just var

HTH,

Flossy

On Thu, 14 Aug 2008, Guy Catz wrote:

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.

















Scot P. Floess
27 Lake Royale
Louisburg, NC  27549

252-478-8087 (Home)
919-754-4592 (Work)

Chief Architect JPlate   http://sourceforge.net/projects/jplate
Chief Architect JavaPIM  http://sourceforge.net/projects/javapim

Architect Keros          http://sourceforge.net/projects/keros

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to