ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mr Pink <>
Subject custom task calls classes with logging = NPE
Date Sat, 28 Aug 2004 03:50:30 GMT
Hi there,

I wrote a custom task, and am having a little problem, am hoping someone can help.

I understand that Ant is closing the System.out and System.err streams and I can kinda appreciate
why it's doing that, but it's proving to be a problem for me, since my task calls various
that are not aware of ant and those classes use logging and possibly even direct references
to to
System.out causing my task to fail with a NullPointerException.

In short, I'd like to know how one deals with that.

As I said, the code that my task calls isn't ant-aware, so I'd like to know if there's a way
my task code can handle it so that the other code doesn't have to be changed.

Mr Pink

Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!

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

View raw message