Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@apache.org Received: (qmail 24992 invoked from network); 26 Feb 2002 15:48:41 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 26 Feb 2002 15:48:41 -0000 Received: (qmail 13472 invoked by uid 97); 26 Feb 2002 15:48:38 -0000 Delivered-To: qmlist-jakarta-archive-ant-dev@jakarta.apache.org Received: (qmail 13440 invoked by uid 97); 26 Feb 2002 15:48:38 -0000 Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 13429 invoked from network); 26 Feb 2002 15:48:37 -0000 Message-ID: <007701c1bedd$0d803380$270610ac@manu.com> From: "Magesh Umasankar" To: "Ant Developers List" References: <5.1.0.14.0.20020224224232.03a6ad60@mail.callenish.com> <5.1.0.14.0.20020225145242.03cf1508@orson.callenish.com> <5.1.0.14.0.20020225185227.03eaaad0@mail.callenish.com> Subject: Re: cullers Date: Tue, 26 Feb 2002 10:48:29 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Spam-Rating: localhost.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N From: "Bruce Atherton" > > Your second example says: fill the set with everything, and then take the > intersection of that set and the set of elements which match the filename > *.java. Set of everything is "Universal Set". You cannot create a subset without a universal set. In Ant's context, itself is a selector which selects a few files from the set of all files. > I carefully avoided since there is such sensitivity on this > list to anything that smacks of the slippery slope of scripting, previously > added features notwithstanding. ;-) I don't think there will be much opposition because allows it. I think it just gives more expressive power... But then again, others may feel differently. > > > Also, > >I think it would be easier for people to > >grasp the name selector instead of cull, as selector, > > Whatever. I wrote that code in December, when I was told that the concept > was called cullers, so that's what I called it. > > If we're going to paint this bikeshed, though... Since conceptually it is > limiting what can go into a PatternSet or FileSet, don't you think a word > that suggests removal is better? "Exclusions" is too long, but that sort of > idea. "Cull" works well here since it is nice and short, but I hear what > you are saying about the term being rare. may be better if you like removal concept better - , , , etc. is perhaps the apt word, but as I said and you agreed, it isn't commonly being used. But if it is just going to be a documentation thing, I don't mind it being called a culler. Anyway, I should be able to select the files I want and cull the files I do not want. > > works on the previously d items > >only. There is no extra trip. > > Sure there is, in the same way as your first example: by (conceptually, if > not in code) creating a set of everything and then taking the intersection > of that set and the set of read only files and the set of files with size > greater than 5. Why is the set of everything in there? Only because you've > forced it on the user whether they want it or not. Conceptually, there is always a set of everything - no getting around it. For example, from what do you identify the set of those files whose size is greater than 4K? > > I still don't understand the need for selectorsets, but I'm willing to be > convinced. selectorsets is perhaps the wrong term I used. What I wishes were there was a means to say make referenceable the element that you suggested. I would like to see the or whatever it is going to be named as. This would provide the functionality that I would miss if I do not use the existing selectors :-o Cheers, Magesh -- To unsubscribe, e-mail: For additional commands, e-mail: