ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: API changes introduced while fixing bug 10755
Date Wed, 12 Feb 2003 14:58:34 GMT
On Wed, 12 Feb 2003, Antoine Levy-Lambert <levylambert@tiscali-dsl.de>
wrote:

> What is the benefit of TaskLogger in terms of design, compared to
> the current situation of having a reference to the current task in
> ZipScanner ?

You wouldn't get access to the rest of the Task interface inside the
Scanner.

> Don't we need a static method or a "factory" somewhere that all
> types could use to find the official logger for the current task ?

Brian talked about his approach.  You can get access to the Task that
belongs to the current thread as long as you have access to the
project.  Nothing static AFAIK.

> re removing the ResourceScanner interface
>
> Fine with me.

Done 8-)

Stefan

Mime
View raw message