>From: "Burton, Kevin" <[EMAIL PROTECTED]> >Sent: Thursday, July 29, 2004 1:52 PM
>So can <if> only surround one task? I notice that you > have <if> around each of the <echo> tasks. I have > an <if> that surrounds >both <echo> and <csc>. Not only can it surround more than one task, but that's pretty much the only reason you'd use it. If you have just one task, it's cleaner to write something such as <echo if="..." message="..." /> i.e., include the if clause in the task itself. I recently went through our build files, changing all the single-element uses of <if> into the above style. Gary ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users