hey all Here is what I am trying to achieve. Consider two projects
Project A DataDir SourceFiles Project B DataDir SourceFiles SolutionOutputDir DllDir I have a master nant build file that builds Project A and Project B. As part of building both projects copies certain owned data files to DllDir using the copy task. Project A copy <copy todir="${DllDir}" > <fileset basedir="${SolutionDir}/FOO/"> <include name="**/*.*"/> </fileset> </copy> Project B copy <copy todir="${DllDir}" > <fileset basedir="${SolutionDir}/BAR/"> <include name="**/*.*"/> </fileset> </copy> Now what I want to do is a clean target of each project that "undos" the copying that has occurred. Can this by achieved without actually deleting DllDir ? All i want is for each file that exists in FOO dir to be deleted from Dlldir Thanks Raj -- View this message in context: http://www.nabble.com/how-to-undo-copy-task-tp22796090p22796090.html Sent from the NAnt - Users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ _______________________________________________ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users