I'm new to NAnt, so perhaps this is a FAQ, but I couldn't find any references to it:
It would be nice to have an <else> element that could immediately follow an <if> element. <if condition> ... </if> <else> ... </else> The rule would be that an <else> block is only allowed to immediately follow an <if> block. I know about "ifnot", but an "else" is easier to read, and doesn't require repeating the condition. (This, of course, leads to the next obvious question: If we do this, then do we also need <elseif>?) ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users