The way Felice wrote it work as well, so both ways do the job , single "=" and double "==".
I suppose the single equal is working correctly here because properties cannot be reassigned in NAnt, otherwise this would assign the tested property just like in C/C++. cheers Thibaut On Mon, 18 Oct 2004 10:34:39 +0100, Bart Read <[EMAIL PROTECTED]> wrote: > Many thanks, this worked like a charm. Hurrah! We're now almost there using both > CC.NET and NAnt. > > > Bart > > ====================== > Bart Read > Software Engineer > Red Gate Software Ltd > +44 (0) 870 160 0037 ext 31 > ====================== > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Thibaut Barr�re > Sent: 15 October 2004 15:23 > To: Bart Read > Cc: [EMAIL PROTECTED] > Subject: Re: [Nant-users] Boolean evaluation > > Hi Bart, > > are you using the latest nightly build ? > > with it you should be able to test with > <task if="${myproperty=='value'}"> > ... > </task> > > http://nant.sourceforge.net/nightly/help/fundamentals/expressions.html#numeric-operators > > Thibaut > ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users
