Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 42548 invoked from network); 12 Mar 2004 13:14:22 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 12 Mar 2004 13:14:22 -0000 Received: (qmail 73153 invoked by uid 500); 12 Mar 2004 13:14:11 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 73071 invoked by uid 500); 12 Mar 2004 13:14:10 -0000 Mailing-List: contact dev-help@ant.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 dev@ant.apache.org Received: (qmail 72952 invoked from network); 12 Mar 2004 13:14:09 -0000 Received: from unknown (HELO corvil.com) (213.94.219.177) by daedalus.apache.org with SMTP; 12 Mar 2004 13:14:09 -0000 Received: from corvil.com (angel.local.corvil.com [172.18.1.171]) by corvil.com (8.12.9/8.12.5) with ESMTP id i2CDE87x023131 for ; Fri, 12 Mar 2004 13:14:08 GMT (envelope-from peter.reilly@corvil.com) Message-ID: <4051B7E3.7010403@corvil.com> Date: Fri, 12 Mar 2004 13:15:15 +0000 From: Peter Reilly User-Agent: Mozilla Thunderbird 0.5 (X11/20040208) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ant Developers List Subject: Re: Poor support for selectors References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N If you use beanshell 2.0x (which you do!), you can use a normal script task to create a selector. Peter Jose Alberto Fernandez wrote: >I need to construct a fileset using rules a little bit out of the >ordinary >and I an having a very hard time trying to do it in ANT. > >What I need is to be able to match filenames using egexp rules for the >filename. >The only regexp things we have for selectors looks at the content of the >file, >and the only things to select of filenames, use ANT's filename >expressions. > >We do not provide either a scriptselector (like we provide a script >filter) >neither. > >Shall we try to close some of this gaps in 1.6.x? Or shall we wait for >1.7 and the new role based code. > >I think one thing we should do in 1.7 is take a look at the all the core >features: filters, mappers, selectors, conditions, etc. And make sure we >provide simillar strength across the board (by prviding scriptXXX for >all) at a minimum. > >Comments? > >Jose Alberto > > > > > >------------------------------------------------------------------------ > >--------------------------------------------------------------------- >To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org >For additional commands, e-mail: dev-help@ant.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org