On Thu, 19 Jul 2001 04:49, [EMAIL PROTECTED] wrote: > One of the "optional" tasks I need is <listener>. It will have the same > effect as a -listener option on the command line ( use the parameter to > create a class and add it to the project listeners ). > > It's easy to do - but there are some problems: > > - it needs to be specified under <project>, same as top-level properties > and taskdefs. This would allow it to eventually replace the default > logger before the first message. > > - it will miss the events before it's execution. That's fine if listeners > are specified at the beggining and a dummy buildStarted is sent. > > > Does it sounds crazy ? Any chance to get this in the optional pack ?
It actually sounds like Record task in core tasks. Does that suit your needs? Cheers, Pete *-----------------------------------------------------* | "Faced with the choice between changing one's mind, | | and proving that there is no need to do so - almost | | everyone gets busy on the proof." | | - John Kenneth Galbraith | *-----------------------------------------------------*
