ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Duncan Davidson" <james.david...@eng.sun.com>
Subject Re: problem with writing a task
Date Mon, 06 Mar 2000 23:44:01 GMT
> You need to register your task, else ant doesn't know anything about it
(it doesn't discover
> new tasks automatically...). The command for that is <taskdef
name="mytask"
> classname="mypackage.MyVeryOwnClass" /> and you need to include it in the
init target.
>
> Note: Add to the TODO list: more human-readable error reporting.

Add another TODO -- taskdefs should be children of the project, not of any
target. They were children of the project when I wrote it and I don't know
why / if they changed even (sorry, too much to do).

.duncan


Mime
View raw message