ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Koss <m.k...@open.ac.uk>
Subject Re: Task.init() called twice ?
Date Tue, 25 Jun 2002 09:45:21 GMT
On Tuesday 25 June 2002 10:41 am, Matt Koss wrote:
> I am trying to understand the execution loop of the task.
>
> I have written a custom task and I have put the initialisation code inside
> of the init() method.
> I thought that init() method is called only once ( for taskdef ) and that
> execute() method is then called for each occurence of the custom task.
>
> However, init() method is called for each occurence of my task.
> Is this the correct behaviour ?
>
> cheers
>
> Matt

I am sorry, I didn't realize that this is a list for the people who actually 
work on ant, and not for the people who write custom tasks.
I have cross-posted this message to the ant-user instead.

Cheers

Matt


-- 
Matt Koss
Knowledge Media Institute
Open University
e-mail: m.koss@open.ac.uk

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