=From: "Stefan Bodewig" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 24, 2002 3:25 AM
Subject: Re: cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs
Chmod.java ExecTask.java ExecuteOn.java
> On 23 Jun 2002, <[EMAIL PROTECTED]> wrote:
>
> > @todo using taskName here is brittle, as a user could override
> > it. this should probably be modified to use the classname instead.
>
> Nope.
>
> <execon> and <apply> are two names of the same task - and we want
> people to use <apply> instead of <execon>. Using the classname won't
> work (well, it may work in this case, but won't for <expand>
> vs. <unzip> for example).
I haven't tried this, but what about:
<apply taskname="xyz"...> or <exec taskname="abc"...>
Wouldn't that mess up the logic there?
Erik
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>