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 Task.init() called twice ?
Date Tue, 25 Jun 2002 09:41:13 GMT

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


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