Hi,

The listener needs to know what targets are being executed so having the log 
output is no help.

Thanks

> -----Original Message-----
> From: ext Stefan Bodewig [mailto:bode...@apache.org]
> Sent: 28 January 2009 16:16
> To: user@ant.apache.org
> Subject: Re: AntUnit
>
> On 2009-01-28, <ext-simon.stei...@nokia.com> wrote:
>
> > We are testing something that requires the listener to be
> > running. Listeners don't seem to run when calling antunit
>
> This is true.  The project instance running the AntUnit test target
> doesn't have any BuildListeners attached to it (other than AntUnit's
> own listeners, that is).
>
> This is a use case AntUnit doesn't fully cover.  The dev list (even
> more silent than this user list) may be the better place to discuss
> how AntUnit could be enhanced to help your case.
>
> Does it help your case if you attach a plainlistener with setting
> logLevel to something other than none?  That way the log of the
> project under test gets back to the project running the AntUnit task
> and then to your BuildListener.
>
> Would https://issues.apache.org/bugzilla/show_bug.cgi?id=43582 improve
> the situation in your case?
>
> > or <ant dir="project" target="test"/>.
>
> At least since Ant 1.6.2 this should make the new project inherit the
> listeners of the calling project.
>
> Stefan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
> For additional commands, e-mail: user-h...@ant.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org

Reply via email to