Stephen Tunney wrote:

I'm not sure.  All I know is that there is no other method that works.  And this "may" be 
a bug, but the "test" attribute is required.  So placing true in there is the only way to 
get around it.  LOOPHOLE :)

Have you tried Robert's first syntax, i.e. test="${not property::exists(' buildtarget ')}"? It works for me, and is much cleaner than yours.

-----Original Message-----
From: ... On Behalf Of Robert Schneider
Sent: November 2, 2005 1:13 AM
Why not: ...

or ...

<ifnot test="${ property::exists(' buildtarget ')}">
   //TODO:  Stuff
</ifnot>

Cheers,

Robert
I think you missed the part about ifnot being deprecated, but as I said, your first approach is the best one.

Gary




-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Nant-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to