Re: [NAnt-users] Using "if" to test for existence of properties

2010-04-13 Thread Bob Archer
: 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

Re: [NAnt-users] Using "if" to test for existence of properties

2010-04-13 Thread Christopher Brandt
. 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

Re: [NAnt-users] Using "if" to test for existence of properties

2010-04-13 Thread Pento, Michael
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

Re: [NAnt-users] Using "if" to test for existence of properties

2010-04-13 Thread Bob Archer
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

[NAnt-users] Using "if" to test for existence of properties

2010-04-13 Thread Durand Van Arnem
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