Here's my original if statement:
<if test="not ${property::exists('build.date') and
property::exists('build.time')} ">
This is where I'm getting the below error message on.
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'; [email protected]
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; [email protected]
> 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
[email protected]
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-users