When a JUnit test throws a runtime exception while running in Eclipse, you can see the entire stack trace.
Our build server uses ant and runs JUnit, but the printout
I've posted this answer to this question before realizing that it was a duplicate of yours.
Here is my junit tag that does produce the exception trace.
I think the one nested element that will do it for you is