Scoured the documentation and discovered that <delete> will not act on ReadOnly files and directories. Marked the entire directory tree as Read/Write. Now everything is working as expected.
Next up, an investigation into the <attrib> task. Ken -----Original Message----- From: Brass Tilde [mailto:brassti...@gmail.com] Sent: Wednesday, April 22, 2009 3:00 PM To: nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] Delete not removing directories ... > <delete verbose="true" includeemptydirs="true" > > <fileset basedir="${PurgeDeployDirectory_dir}" > defaultexcludes="false" > > <include name="**/_vti_cnf" /> > <include name="**/XX*" /> > <include name="Dashboard" /> > </fileset> > </delete> > > </target> What happens if you use "**/_vti_cnf/" or "**/_vti_cnf/**" and "Dashboard/" or "Dashboard/**" instead? /bs ------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p _______________________________________________ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users ------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p _______________________________________________ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users