ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <>
Subject Re: Ant log statements being created even when not used
Date Mon, 25 Sep 2006 14:22:33 GMT
Hi Kev,
this all sounds like closures or other form of first
class functions to me.  I know I've seen a lot of
discussion at IIRC JavaLobby etc. on whether Java
needs closures... but in any event new language
features don't help us in Ant development because we
stick to BC.  I was thinking of adding Object log
"messages" to Project and ProjectComponent, but even
if you just constructed dummy objects to hold the
strings, I think the strings would already be
instantiated by the object construction, so this
wouldn't help.... I don't think.  I don't know if
there's a useful answer to be found.


--- Kevin Jackson <> wrote:

> Hi,
> Remember early this year I had a problem with a
> build that basically
> ran out of memory and if I commented out logging
> code I could get it
> to run?
> This explains exactly the problem (and a solution
> for D), I wonder if
> some solution exists for Java such that log
> statements are not as
> wasteful of resources as they currently are
> Kev
> To unsubscribe, e-mail:
> For additional commands, e-mail:

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

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

View raw message