On Fri, 14 Dec 2001, Jose Alberto Fernandez <[EMAIL PROTECTED]>
wrote:

> I guess this is happenning because ANT is resolving the element to
> the task instance before finding and acting on the <taskdef/> from
> the user.

Exactly.

> Which escentially means that *everytime we add a new task to ANT* we
> are actually breaking backward compatibility.

Unless we do the right thing and fix the problem 8-)

> Actually a solution to this problem would be to change ProjectHelper
> to always defer instantiation (i.e., use UnknownElement) and wait
> until execution to resolve using any new definitions.

Absolutely - and all Ant2 proposals do that AFAIR.

Try to change ProjectHelper that way and then run the second example
in <script>'s documentation and you see what is going to happen then.

Stefan

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to