ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject RE: when are tasks instances no longer referenced?
Date Wed, 05 May 2004 15:08:10 GMT
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:mariano@fuegolabs.com]
> 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: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message