I came up with the following solution that seems to work for cleaning trees created from the solution task without having to specify every single project or file. I'm still looking for info on ClearCase tasks, although I imagine that I can execute those with an exec task and ClearTool.
<project name="NantTest"> <target name ="build"> <solution configuration="debug" solutionfile="nanttest.sln" /> </target> <target name="clean"> <foreach item="Folder" property="foldername"> <in> <items> <include name="**\bin" /> <include name="**\obj" /> </items> </in> <do> <delete dir="${foldername}" /> </do> </foreach> </target> </project> ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nant-users mailing list Nant-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users