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
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
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.
-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
with
On Mon, 18 Aug 2003, [EMAIL PROTECTED] wrote:
Something like log4j would allow us to enable debug on a particular
target or task.
record 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
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.
record solves this.
Thanks, didn't know about it.
Most of the time the debug messages are not logged by anyone
IIRC XmlLogger will
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 discuss it.
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 you
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 an
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,
]
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 be
changed, and not when it has to be traversed
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
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 [EMAIL PROTECTED] wrote:
Does that work
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
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.
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%:
16 matches
Mail list logo