ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: polymorphism (was Re: antlib)
Date Fri, 25 Apr 2003 13:34:23 GMT
On Fri, 25 Apr 2003, Jose Alberto Fernandez
<jalberto@cellectivity.com> wrote:

> Actually, peter trick may give us a hint on an easy way to achieve
> polimorphism.

> We just need to provide a way on the basic core type implementations
> to delegate all calls to a nested object (similar to what we do for
> refids).

Easy from the implementation side, but is it intuitive for the user to
write?

<copy ...>
  <fileset>
    <classfileset ...>
  </fileset>
</copy>

<condition>
  <condition>
    <true/>
  </condition>
</condition>

In simple non-ambiguos cases like the above this could be without the
trick.

<copy ...>
  <classfileset ...>
</copy>

<condition>
  <true/>
</condition>

Stefan

Mime
View raw message