From ant-dev-return-15833-apmail-jakarta-ant-dev-archive=jakarta.apache.org@jakarta.apache.org Wed Jul 18 20:34:09 2001 Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@jakarta.apache.org Received: (qmail 95507 invoked by uid 500); 18 Jul 2001 20:34:08 -0000 Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: ant-dev@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 95498 invoked from network); 18 Jul 2001 20:34:08 -0000 Message-ID: <20010718203411.156.qmail@web14708.mail.yahoo.com> Date: Wed, 18 Jul 2001 13:34:11 -0700 (PDT) From: "John.Casey" Reply-To: JohnQueso@digitalsymbiosis.net Subject: Re: [ant2] SQL-like includes To: ant-dev@jakarta.apache.org In-Reply-To: <01071819534301.00753@helm.realityforge.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N This would be a beautiful feature to have. It adds so much power without adding much complexity. How would you handle the vocabulary of the test attribute of condition? Would you allow extensions of conditions, or what? John --- Peter Donald wrote: > Hi, > > I was just talking with someone about the prospect > of filesets with > cullers/filters etc and they pointed out n > interesting thing. This same > problem was "solved" in SQL years ago. ie imagine > the following is psuedo > antified sql. This would allow us to perform all the > complex things that > people have asked for but simply. > > Select */*.java from src/java where readable == true > > > So you would have > > Select NAME-PATTERN from BASE-DIRECTORY where > CONDITIONS > > In ant1 out filesets already have the capability of > representing > Select NAME-PATTERN from BASE-DIRECTORY. It would be > simple to extend this > with a where clause. As a consequence of looking at > this way I thought it > could be represented fairly easily by a minor change > such as > > > > > > > > Thoughts? > > Cheers, > > Pete > > *-----------------------------------------------------* > | "Faced with the choice between changing one's > mind, | > | and proving that there is no need to do so - > almost | > | everyone gets busy on the proof." > | > | - John Kenneth Galbraith > | > *-----------------------------------------------------* ===== John Casey jdcasey@digitalsymbiosis.net Omni CodeWorks, Inc. __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/