On 2009-01-28, <[email protected]> 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: [email protected] For additional commands, e-mail: [email protected]
