> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Gary Feldman > Sent: donderdag 2 juni 2005 19:43 > To: nant-users@lists.sourceforge.net > Subject: Re: [Nant-users] Support for NUnit categories > > Gert Driesen wrote: > > >- Is it enough to be able to define the complete set of > categories globally > >(meaning both the includes and excludes together), or do you > want to be able > >to define the includes and excludes seperately ? > > > > > I think the whole approach is overengineered. > > It's one thing to use types that look like filesets for cases > where NAnt > can add value, specifically by parsing the string as a pattern and > searching directories with it. But it's another thing to use > them, and > worse require them, for something that is nothing more than a string. > > What's wrong with simply: > > <test ... include="category1,category2,category3" > exclude="category4,category5,category6" > ...</test>
1) The names of the attributes say nothing about categories 2) You cannot conditionally set/remove certain categories, without falling back to ugly constructs. Guess I just prefer more explicit (but therefore also more verbose) definitions ... > > If it's good enough for the NUnit command line, then it's good enough > for NAnt. Obviously one can use existing functions with > properties to > get more power out of these. I do intend to support a comma-separate lists of category names in the <category> or <include>/<exclude> elements. Thanks for the feedback ! Gert ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Nant-users mailing list Nant-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users