Sorry if my previous post was hard to understand. Something weird has happened. The task now works as intended. Not edited, no new version of Nant, no reboot. Makes you wonder if it works even dates or something.
To check if the codestat task had its own implementation of fileset, I wrote a reference task using copy instead. <target name="copy"> <copy todir="C:\Temp\Copy"> <fileset> <include name="**/DataSet/**/*.cs" /> </fileset> </copy> </target> It worked. Then I reran my old codestat task. And lo, now it works as intended. <scratching my head> Well, thanks for your time, David -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gary Feldman Sent: den 12 september 2005 19:02 To: Nant-users@lists.sourceforge.net Subject: Re: [Nant-users] multiple wildcards in filesets Sparrman, David (GE Healthcare, consultant) wrote: > In a fileset, is it possible to specify wildcards (specifically "**") > only once? I'm not sure what you're asking. No one is holding a gun at your head to force you to put a wildcard in more than once. I'm pretty sure that most or all the examples of using "**" show it just once. > In my case: > > <fileset> > <include name="**/DataSet/**/*.cs"/> > </fileset> > or is the codestat task in nantcontrib using its own fileset > implementation? I'm not at all familiar with codestat, and I'm not sure whether you're trying to say that codestat works with this while other tasks don't, or that your codestat example doesn't work with this and you haven't tried others, or something entirely different. However, are you really asking whether specifying "**" more than once will work? If so, I've just started studying the NAnt coded for building file sets, and I wouldn't be surprised at all if this were broken. It's certainly on my list of things for which to write test cases. Gary ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nant-users mailing list Nant-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nant-users mailing list Nant-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users