I just have an idea that come into my mind.  I will quickly post it (and
probably think it's stupid tomorow morning).

Instead of a special id, we could maybe use a decorator :

<mutabletype id="x">
     <path ... />
</mutabletype>

Probably stupid, certainly not trivial to implement, but make it obvious
that's a quiet special structure that should be used carrefully.


Gilles Scokart


On 3 March 2010 05:52, Stefan Bodewig <bode...@apache.org> wrote:

> On 2010-03-02, Matt Benson <gudnabr...@gmail.com> wrote:
>
> > Okay, let's reason this out... since tasks and types are Java objects
> > can we assume that a Java property "final" is unlikely enough to be
> > used that we can use it as a configuration "attribute"?
>
> Agreed.  An alternative could be anything that contains a dash or any
> other character that would be illegal in a Java method name (so you
> can't have a set-method for it).
>
> > Now, any id'd item would declare final=false if it wanted to be
> > augmentable.  This would require changes in the way we handle
> > references, but would seem doable.
>
> +1
>
> Stefan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
> For additional commands, e-mail: dev-h...@ant.apache.org
>
>

Reply via email to