On Thu, 2 May 2002, Dominique Devienne <[EMAIL PROTECTED]> wrote:

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

See ConditionTask for an example.

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

Yep, you also needed a setProject(Project) method in 1.4.1, this is no
longer necessary in 1.5 AFAIK.

Stefan

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

Reply via email to