On 2008-12-12, Raja Nagendra Kumar <[email protected]> wrote:

> However Stefan, not able to convince on why this can't be done
> automatically, as it is so obvious that  new Copy Object is created while
> wring the cutom tag extentions to ant.

How is this obvious?  Your code is creating the instance of the Copy
class, Ant is not involved at all.  I don't really see how Ant could
or should interfere with that.  If you used
getProject().createTask("copy") then Ant could know it (and actually
will set the project instance) but it has other problems.

> This code are used with in project context and it gets invoked
> though custom xml tags only in build file only.

Again, I don't see who should recognize this build file context if not
your very own code.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to