> -----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

Reply via email to