ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fotis Jannidis" <>
Subject Re: problem with writing a task
Date Fri, 03 Mar 2000 09:35:41 GMT
>> Fotis
> > Hello,
> > I have problems to write a task. The example in the doc files doesn't work (it uses
> > variables, 'msg' and 'message'):
> > Even if I set everything to 'message' I get a nullpointerexception thrown by
> >

> Ludovic: 
> 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.
Thanks for the answer, bt this can't be the solution. The task was registered.
Still hoping to see  a working example and learn.

View raw message