Re: is a property defined?

2008-06-29 Thread David Weintraub
This is Nant or Ant? If this is Ant, you'd do it this way: blah, blah, blah Yadda, Yadda, Yadda If you want to do not equals, you do this: Take a look at the task's conditions at

Re: is a property defined?

2008-06-29 Thread Gilbert Rebhan
Guy Catz schrieb: How can I tell if a property is defined? I've tried 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. use condition isset, see ant manual conditions, f.e. = Regards, Gilbert

is a property defined?

2008-06-29 Thread Guy Catz
How can I tell if a property is defined? I've tried 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.var}="0", but I always get length.var = 6 because it didn't open the ${va