Hi, You want to look at the <filset />, <includes /> and <excludes /> elements.
For instance something like this **should** work <copy todir="${build.dir}/bin"> <fileset basedir="${lib.ext.dir}"> <includes name="**/**.aspx" /> </fileset> </copy> Hope that helps. Clayton -----Original Message----- From: Philo Sent: Sun 7/27/2003 7:55 AM To: [EMAIL PROTECTED] Cc: Subject: [Nant-users] Copy aspx files when changed? I have a designer that is often tweaking the layout on our aspx files, but doesn't touch the code-behind. I would like to have an automated process to check out changed files and copy them to the distribution directory, but not recompile. I think I'm figuring out how to build the target to do this, but I'm not sure how to get NAnt to trigger that just aspx files have changed - where should I be looking? -- Best regards, Philo mailto:[EMAIL PROTECTED] ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01 /01 _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users
<<winmail.dat>>