I want my "clean" target to delete a bunch of intermediate files that are created by emacs, JBuilder, and CVS. I have tried the following, but it doesn't work.

<delete failonerror="false">
<fileset basedir=".">
<includes name="**/.#*"/>
<includes name="**/*~"/>
</fileset> </delete>


The fileset does not appear to match any files. I'm guessing this is caused by the funky filename formats. Can someone confirm this is a bug in NAnt? If so, is there a work-around? If not, what am I doing wrong?



try setting the defaultexcludes attribute on the fileset to 'false'. Its set to true by default which results in certain patterns ( including the ones you are specifying ) being automatically excluded.

see the "default Excludes" section at:
http://nant.sourceforge.net/nightly/help/types/fileset.html

perhaps there should be a warning if you specify a pattern that will automatically be excluded.

Ian


------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to