ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: AntTest Test Failure: WinNT 4.0, JDK 1.3.0_02, 1.4.0_b92
Date Mon, 08 Apr 2002 14:29:45 GMT
On Mon, 8 Apr 2002, Magesh Umasankar <umagesh@apache.org> wrote:

> We should perhaps add something like this to Project.java:
> 
> private boolean isLogFileUsed;

This meant that all BuildLoggers would have to check the value,
basically duplicating the same code in all BuildLogger
implementations.  Not nice.

> How would you do that without having a handle to
> the open file stream object?

A finally clause in Main.start and Ant.execute that knows whether a
logfile has been used and closes it.

Stefan

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message