When publishing my ASP.NET project, I want to leave two directories and their contents 
in place, while deleting everything else. As I understand filesets, the following 
should work. But user and Uploads get deleted. What am I missing?

<delete failonerror="false" verbose="true">
    <fileset basedir="${dir.prod}">
        <includes name="**" />
        <excludes name="user\**" />
        <excludes name="Uploads\**" />
    </fileset>
</delete>

Here's an excerpt of nant's output:

   [delete] Deleting directory E:\Intranet Sites\PDSIIntranet_Staging2\Uploads.
   [delete] Deleting file E:\Intranet 
Sites\PDSIIntranet_Staging2\user\fdf631873938627446875.fdf.

I'm using version 0.8.2.

Thanks,

Richard
�



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to