ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <pe...@apache.org>
Subject Re: Subelements and logging
Date Fri, 07 Jun 2002 06:42:28 GMT
At 08:25 AM 6/7/2002 +0200, you wrote:
>On Thu, 6 Jun 2002, Erik Hatcher <jakarta-ant@ehatchersolutions.com>
>wrote:
>
> > The best way to output messages is to use the log() methods that are
> > part of Task.
>
>Another option is to extend from ProjectComponent (which means you
>class is no longer independent of Ant and can't have a different
>super-class, of course) and use getProject().log().

Or you can use ant.util.TaskLogger and pass that to sub-elements


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