ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Hatcher" <jakarta-...@ehatchersolutions.com>
Subject Re: cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs Chmod.java ExecTask.java ExecuteOn.java
Date Mon, 24 Jun 2002 12:10:21 GMT
=From: "Stefan Bodewig" <bodewig@apache.org>
To: <ant-dev@jakarta.apache.org>
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, <ehatcher@apache.org> 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:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message