ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guy Catz <Guy.c...@waves.com>
Subject is a property defined?
Date Sun, 29 Jun 2008 09:19:40 GMT
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.

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