Re: [NAnt-users] Help with testing strings

2011-11-03 Thread Chris Fouts
Thanks. I tried this yesterday but put the "" and {} in the wrong place. Duh on me. From: Christopher Brandt [mailto:xtopher.bra...@gmail.com] Sent: Wednesday, November 02, 2011 5:26 PM To: Chris Fouts Cc: nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] Help with testi

Re: [NAnt-users] Help with testing strings

2011-11-02 Thread Christopher Brandt
You'd use conditional property assignment. First set the default property value, then conditionally re-assign it if your condition is met. So: --- X Continuous improvement is better than delayed perfection. - Mark Twain On Wed, Nov 2, 2011 at 1:51 PM, Chris Fouts wrote: > Sorry, CCNetBuild

Re: [NAnt-users] Help with testing strings

2011-11-02 Thread Chris Fouts
Sorry, CCNetBuildCondition --- I'm using ccnet and Nant, not a unique situation. How can I test the passed-in CCNetBuildModification string in Nant so I can do the following pseudo-code If "${CCNetBuildModification} == "ForceBuild" Else