How can I tell if a property is defined?

I've tried <if> from contrib like this - if .. ${var} = "" ...
That's fine for properties which was set to "", but not for properties who 
haven't set at all.

Next, I've tried <length string="${var}" property="length.var"...
and then <if> ${length.var}="0", but I always get length.var = 6 because it 
didn't open the ${var}, which is 6 chars.

Please advise.

Thanks,
    Guy.

Reply via email to