ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <>
Subject Re: task that allows augmentation of previously declared references
Date Thu, 25 Feb 2010 15:45:44 GMT

On Feb 25, 2010, at 8:56 AM, Dominique Devienne wrote:

> On Wed, Feb 24, 2010 at 10:39 PM, Matt Benson  
> <> wrote:
>> I'd like to direct the Ant developers' attention to
>> for  
>> discussion.
>>  I'm hesitant to commit this outright because I anticipate this being
>> somewhat controversial.  If noone responds I'll just assume it's not
>> controversial and act accordingly.  ;)
> You mean like adding path elements to a <path>, or nested selectors to
> a <selector>? That would be useful indeed.

Yes, hence my chronic desire for it.  ;)

> If attributes can be changed as well, that's not aumentation anymore,
> but editing, no?

True.  But changing attributes and adding elements are easy.   
Complete editing, including *removing* elements is another thing  
entirely... :|

> Can only "top-level" elements be augmented, or id'd nested elements  
> as well?

This approach should work for any reference; I'll add a test.

> Can one "prevent" augmentation while still having an id attribute?
> (like final="true")

Hmm, interesting idea.

> Stefan would like to see the code, but I'd like to see build snippets
> from the "user" side of it ;) --DD

My patch includes some basic tests.  It's really about as simple as  
it could be, IMO.

WRT your other mail, I'm fine for discussion to take place here, so  
long as it takes place.  ;P


> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message