ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <pe...@apache.org>
Subject Re: [myrmidon] TaskContext.getLogger() ?
Date Tue, 05 Mar 2002 07:07:55 GMT
On Mon, 4 Mar 2002 23:07, Adam Murdoch wrote:
> > -----Original Message-----
> > From: Peter Donald [mailto:peter@apache.org]
> > Sent: Monday, 4 March 2002 5:53 PM
> > To: Ant Developers List
> > Subject: Re: [myrmidon] TaskContext.getLogger() ?
> >
> > On Mon, 4 Mar 2002 18:24, Adam Murdoch wrote:
> > > Any problems with adding TaskContext.getLogger(), and doing away with
> > > LogEnabled for tasks?
> >
> > Leave it in for now - put it on todo list to readdress in a bit
>
> The reason I asked, is that I want to be able to use a logger in the
> evaluate methods of data types.  Example is <uptodate>, which I want to
> change from a task to a condition.  It uses a logger, which will no longer
> be available.  Given that TaskContext is used to deliver to a task,
> everything about its environment *except* a Logger, it seems reasonable to
> restructure so that the TaskContext also delivers a Logger.
>
> What did you have in mind for this?  Maybe we can do the 'readdress in a
> bit' sooner?

What I want to do is basically add the methods into TaskContext directly and 
throw away AbstractLogEnabled/LogEnabled/Logger etc but I need to convert a 
bunch of code before I can do that. If you are okay with that i will try to 
do it tonight.

-- 
Cheers,

Pete

-----------------------------------------------------------
 "Remember, your body is a temple; however, it's also your 
 dancehall and bowling alley"   -- Dharma Montgomery
-----------------------------------------------------------

--
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