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.
-Matt --- Kevin Jackson <[EMAIL PROTECTED]> 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? > > http://www.digitalmars.com/d/lazy-evaluation.html > > 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: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]