RE: [OT] Build Time

2003-08-25 Thread Dominique Devienne
> -Original Message- > From: Steve Loughran [mailto:[EMAIL PROTECTED] > > The nice thing about the commons approach is that it lets complex code > inside a task integrate properly with Ant's logging. As an example, > Axis' axis-wsdl2java uses the commons logger; to date it is not aligned >

Re: [OT] Build Time

2003-08-25 Thread Steve Loughran
Costin Manolache wrote: Stefan Bodewig wrote: On Mon, 18 Aug 2003, <[EMAIL PROTECTED]> wrote: Most of the time the debug messages are not logged by anyone IIRC XmlLogger will log all levels. And generates huge files that sometimes are almost useless. agreed. But sometimes they are very useful.

Re: [OT] Build Time

2003-08-25 Thread Stefan Bodewig
On Fri, 22 Aug 2003, Costin Manolache <[EMAIL PROTECTED]> wrote: > If we make commons-logging/log4j/whatever as part of ant1.6, then in > 1.6+ tasks can use it for _debug_ info. I think I understand what you are getting at, but I guess I'd prefer the approach described by Steve in bugzilla report

Re: [OT] Build Time

2003-08-25 Thread Stefan Bodewig
> To solve this problem, you may consider the fact that listeners are > more often fired than changed, very true. I've patched Ant along the lines of your suggestion. Vadim, if you want to rerun the Cocoon build against Ant's CVS HEAD and could post the results to [EMAIL PROTECTED], that would

Re: [OT] Build Time

2003-08-22 Thread Costin Manolache
Stefan Bodewig wrote: > On Mon, 18 Aug 2003, <[EMAIL PROTECTED]> wrote: > >> Something like log4j would allow us to enable debug on a particular >> target or task. > > solves this. Thanks, didn't know about it. >> Most of the time the debug messages are not logged by anyone > > IIRC XmlLogg

Re: [OT] Build Time

2003-08-22 Thread Stefan Bodewig
On Mon, 18 Aug 2003, <[EMAIL PROTECTED]> wrote: > Something like log4j would allow us to enable debug on a particular > target or task. solves this. > Most of the time the debug messages are not logged by anyone IIRC XmlLogger will log all levels. I understand the use case and where you are g

Re: [OT] Build Time

2003-08-19 Thread cmanolache
Stefan Bodewig wrote: > On Sat, 16 Aug 2003, Costin Manolache <[EMAIL PROTECTED]> wrote: > >> Regarding ant logging system - I think we should eventually reopen >> the subject and pick a logger API > > I fail to see the benefit of using a different logging system, but I'm > ceratinly open to dis

Re: [OT] Build Time

2003-08-18 Thread Steve Loughran
Costin Manolache wrote: Nice work ! Regarding ant logging system - I think we should eventually reopen the subject and pick a logger API ( I preffer commons-logging, but I won't -1 any other choice ), then start using the normal if( log.isDebugEnabled()) log() that prevents useless string concat

RE: [OT] Build Time

2003-08-18 Thread Dominique Devienne
Very clever indeed ;-) Thanks Stefan. --DD > -Original Message- > From: Stefan Bodewig [mailto:[EMAIL PROTECTED] > Sent: Monday, August 18, 2003 9:39 AM > To: [EMAIL PROTECTED] > Subject: Re: [OT] Build Time > > On Mon, 18 Aug 2003, Dominique Devienne <

Re: [OT] Build Time

2003-08-18 Thread Stefan Bodewig
On Mon, 18 Aug 2003, Dominique Devienne <[EMAIL PROTECTED]> wrote: > Does that work with removing a listener as well? Should do. What the code does is to replace the listener list with a new one in add/remove. The fire method will grab the list and either work on the old list or on the new, but

RE: [OT] Build Time

2003-08-18 Thread Dominique Devienne
pache.org > Cc: [EMAIL PROTECTED] > Subject: Re: [OT] Build Time > > To solve this problem, you may consider the fact that listeners are more > often fired than changed, and therefore use a different pattern, which > does the cloning and synchronisation when the listener list has to

Re: [OT] Build Time

2003-08-18 Thread Sylvain Wallez
Stefan Bodewig wrote: On Fri, 15 Aug 2003, Nicola Ken Barozzi <[EMAIL PROTECTED]> wrote: DirectoryScanner.scandir Does somebody know anybody working on Ant logging system? Is Ant 1.6 better in this regard? Ant's DirectoryScanner may have become a lot (and I mean a lot) faster in 1.6, depe

Re: [OT] Build Time

2003-08-18 Thread Stefan Bodewig
On Sat, 16 Aug 2003, Costin Manolache <[EMAIL PROTECTED]> wrote: > Regarding ant logging system - I think we should eventually reopen > the subject and pick a logger API I fail to see the benefit of using a different logging system, but I'm ceratinly open to discuss it. Ant's system currently is

Re: [OT] Build Time

2003-08-18 Thread Stefan Bodewig
On Fri, 15 Aug 2003, Nicola Ken Barozzi <[EMAIL PROTECTED]> wrote: >> DirectoryScanner.scandir Does somebody know anybody working on Ant >> logging system? Is Ant 1.6 better in this regard? Ant's DirectoryScanner may have become a lot (and I mean a lot) faster in 1.6, depending on the patterns yo

Re: [OT] Build Time

2003-08-17 Thread Costin Manolache
Nice work ! Regarding ant logging system - I think we should eventually reopen the subject and pick a logger API ( I preffer commons-logging, but I won't -1 any other choice ), then start using the normal if( log.isDebugEnabled()) log() that prevents useless string concatenations and calls. Co

Re: [OT] Build Time

2003-08-15 Thread Nicola Ken Barozzi
Sending this to ant-dev too. Vadim Gritsenko wrote, On 15/08/2003 23.28: Just ran Cocoon build under optimize it. Not the clean build, but second one, when there is nothing to do. It took 6 minutes on 1.6GHz P4 desktop box. Guess where all this time has been spent? Logging! 45.26%: Project.fi