ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@yahoo.com>
Subject Re: ResourceCollections
Date Fri, 01 Apr 2005 17:22:17 GMT
If we are going to add a ResourceSelector,

1) the interface and implementations will primarily be
relevant only to the "restrict" ResourceCollection.

2) things like And, Or, Not will be needed.

3) I'd rather not hard-code selector types.

what other options exist?  A built-in Antlib for
namespacing the ResourceSelector types?  A
DynamicElement ResourceSelectorContainer?

Thanks for any thoughts,
Matt

--- Matt Benson <gudnabrsam@yahoo.com> wrote:
> --- Stefan Bodewig <bodewig@apache.org> wrote:
> > On Thu, 31 Mar 2005, Matt Benson
> > <gudnabrsam@yahoo.com> wrote:
> > 
> > > We are adding getInputStream to Resource. 
> > However,
> > > without changing the FileSelector interface
> (bad),
> > 
> > more than bad.
> > 
> > > its ability to interact with Resources is
> limited.
> >  We could
> > > possibly create a new ResourceSelector
> interface.
> > 
> > I think we should.
> 
> This will be interesting.  Guess we will have to
> mimic
> FileSelectors.
> 
> > 
> > > If so, does this tip the scale in favor of one
> or
> > more new types
> > > subpackages?
> > 
> > Even without them I think a new package would be
> > better.
> 
> Wow, I've never made a new CVS directory before...
> :)
> 
> -Matt
> 
> > 
> > Stefan
> > 
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > dev-unsubscribe@ant.apache.org
> > For additional commands, e-mail:
> > dev-help@ant.apache.org
> > 
> > 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> http://mail.yahoo.com 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> dev-unsubscribe@ant.apache.org
> For additional commands, e-mail:
> dev-help@ant.apache.org
> 
> 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message