In Main.java they have try { try { runBuild(coreLoader); exitCode = 0; } catch (ExitStatusException ese) { exitCode = ese.getStatus(); if (exitCode != 0) { throw ese; } } } catch (BuildException be) { if (err != System.err) { printMessage(be); } } catch (Throwable exc) { exc.printStackTrace(); printMessage(exc); } finally { handleLogfile(); } exit(exitCode);
It looks like when you catch a Throwable, then the call stack should be logged to stderr. But it is not logged normally, except if you use -verbose (maybe other flags too will cause it to be logged). --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org