On 11/2/05, Robert Schneider <[EMAIL PROTECTED]> wrote:
> Is this the regular approach?:
>
> > <if test="true" unless="${property::exists(' buildtarget ')}">
> > //TODO: Stuff
> > </if>
> >
> > Kind of hoaky, but it works :)
>
> Why not:
>
> <if test="="${not property::exists(' buildtarget ')}">
> //TODO: Stuff
> </if>
Typo aside, putting the actual positive test in the test attribute is
much more expressive (at least IMHO), so I would normally recommend
that.
--
Troy
-------------------------------------------------------
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