Title: RE: [Nant-users] if and ifnot tasks


 
> Most attributes of the if and ifnot tasks are marked as deprecated. This
> is
> because they can now be replaced by NAnt's expressions and functions.
>
> E.g. instead of
>
> <if propertyexists="myProp">
>
>  you can (and should) now write
>
> <if test="property::exists('myProp')">

Which one is more readable and more intuitive?

I would like to see the if statements accept:

<if property::exists("${MyVariable}")>


Reply via email to