ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran" <stev...@iseran.com>
Subject Re: Bare minimum custom task
Date Thu, 02 May 2002 22:07:14 GMT

----- Original Message -----
From: "Dominique Devienne" <DDevienne@lgc.com>
To: "'Ant Developers List'" <ant-dev@jakarta.apache.org>
Sent: Thursday, May 02, 2002 2:52 PM
Subject: Bare minimum custom task


> Stefan, and other ANT experts.
>
> I vaguely remember Stefan stating that a task needn't derive from Task,
but
> simply needed a public void execute method, and setters as usual. I
actually
> just tried it with ANT 1.4.1, and it doesn't seem to work, with the
> java.lang.NoSuchMethodException: setProject error message. I tried adding
a
> public void setProject(Object project) to my class, but ANT still cannot
> find it, most probably because it looks for such a method that takes an
ANT
> project, not just an generic Object.

try ant 1.5


--
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