: NAnt Users
Cc: Durand Van Arnem; Bob Archer
Subject: Re: [NAnt-users] Using "if" to test for existence of properties
Same strategy here; ensure the property exists and then use the if attribute to
test its value. One place where you can use the if / unless attributes to test
existence is
. Then you can check to see if it is not
> empty.
>
>
>
> BOb
>
>
>
>
>
> *From:* Durand Van Arnem [mailto:duran...@hotmail.com]
> *Sent:* Tuesday, April 13, 2010 10:33 AM
> *To:* NAnt Users
> *Subject:* [NAnt-users] Using "if" to test for existenc
et me know if I have misunderstood your issue.
Thanks,
Mike
From: Durand Van Arnem [mailto:duran...@hotmail.com]
Sent: Tuesday, April 13, 2010 10:33 AM
To: NAnt Users
Subject: [NAnt-users] Using "if" to test for existence of properties
Hello,
I could use some advice about how to handle this
ot;if" to test for existence of properties
Hello,
I could use some advice about how to handle this situation:
I have a property, MyProperty, that may or may not be set. I want a task to
execute if the property is set, e.g.
If MyProperty is not set, this task fails because NAnt appears t
Hello,
I could use some advice about how to handle this situation:
I have a property, MyProperty, that may or may not be set. I want a task to
execute if the property is set, e.g.
If MyProperty is not set, this task fails because NAnt appears to evaluate the
message portion regard