Does anyone know how to add a test listener to an ant junit task, without having to create a custom task?
We are attempting to add a test listener to a junit ant task to do custom logging after each test class in a batch completes. The only mention in the API of how to do this describes how to enable the test listener events, but does not explain how to add a listener for a specific event: http://ant.apache.org/manual/Tasks/junit.html#enabletestlistenerevents It looks like the 'enabletestlistenerevents' feature was added to ant in response to this bug: https://issues.apache.org/bugzilla/show_bug.cgi?id=31885 Chip McCormick Software Engineer CommerceHub