ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@bost.de>
Subject Re: [PATCH] Less memory consumption for subbuilds
Date Fri, 21 Jul 2000 13:01:35 GMT
>>>>> "gm" == glennm  <glennm@ca.ibm.com> writes:

 gm> (1) sounds good to me, but how do we do it? I didn't think there
 gm> was an easy way to tell if there was a reference to a class
 gm> instance.  Mind you, I'm happy to be wrong. :-)

I wasn't talking about a Java language reference but rather about
Project.getReferences. Should have been clearer.

On second thought it doesn't work. Each task can be executed multiple
times via

((Target) project.getTargets().get("nameOfSurroundingTarget")).execute()

so we can never be sure a task won't be called a second time. Each
target can be addressed that way.

Stefan

Mime
View raw message