Title: how do i get excludes to exclude?

Hey everyone,

Im new to NAnt, so forgive me if this has already been discussed.

I cant get the fileset excludes to work.  Im trying to copy a set of files except for a few that are a certain file type.  This is the general format Ive used:

<copy todir=copytodir>

  <fileset basedir=copyfromdir >

    <includes name=** />

    <excludes name=*.cs />

  </fileset>

</copy>

When I used this, it still copied everything except the defaultexcludes.  So, since that didnt work, I tried to exclude just one file, switching the includes & excludes statements, etc  No exclusion has worked.

Im using NAnt-0.84 on Windows Server 2003 SE.  Am I using this wrong or is this a bug?

Thanks,

Jen

Reply via email to