A task can be executed multiple times - via Ants API.

<echo id="theEcho">Hello</echo>
<script language="javascript"> <![CDATA[
    theEcho.perform();
    theEcho.perform();
]]></script>

If a task has an ID its reference is stored in the projects reference 
table (I donīt know what happens if it has no ID). 


Jan



> -----Original Message-----
> From: Mariano Benitez [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, May 05, 2004 5:03 PM
> To: Ant Developers List
> Subject: when are tasks instances no longer referenced?
> 
> 
> I want to know if a task instance created lifes for the 
> complete build 
> or it is no longer referenced once it has been executed.
> 
> The problem I have is that some tasks allocate a lot of memory, so I 
> need to know if I have to do something manually or I just 
> leave the gc 
> to remove my instance.
> 
> THX,
> MAriano
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

Reply via email to