ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Koss <>
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 ?



Matt Koss
Knowledge Media Institute
Open University

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message