Gert, I'm using the recent nightly build.
NAnt 0.85 (Build 0.85.1998.0; nightly; 6/21/2005) Felice -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Gert Driesen Sent: Wednesday, June 22, 2005 12:49 PM To: Felice Vittoria; [EMAIL PROTECTED] Cc: 'Foster, Richard - PAL'; nant-users@lists.sourceforge.net Subject: RE: [Nant-users] if and ifnot tasks > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Felice Vittoria > Sent: woensdag 22 juni 2005 19:45 > To: [EMAIL PROTECTED]; Gert Driesen > Cc: Foster, Richard - PAL; nant-users@lists.sourceforge.net > Subject: RE: [Nant-users] if and ifnot tasks > > You know, I tried the example below using the not and when I > do I get: > > 'not False ' is not a valid value for attribute 'test' of <if ... />. > Cannot resolve 'not False ' to boolean value. > String was not recognized as a valid Boolean. > > Is there something I'm doing wrong? I did notice the != > expression so I'm using that where I'm doing the <ifnot > test="${property=='value'}" /> > > So ... now when I try <if test="${not > property::exists('junk')" /> I will get the message above. What version of NAnt are you using ? This should be working fine if you use a recent nightly build. Gert ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Nant-users mailing list Nant-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Nant-users mailing list Nant-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users