> I see your point, but would the it then print out the whole stack trace > when called from the command line - or when executed in a forked jvm (by > ant)?
Yes to both questions. Taking the example class from java.lang.Throwable printStackTrace Javadoc (renamed MyClass to test): F:\dev\ant>ant Buildfile: build.xml main: [java] java.lang.NullPointerException [java] at test.mash(test.java:11) [java] at test.crunch(test.java:7) [java] at test.main(test.java:4) [java] Exception in thread "main" [java] Java Result: 1 BUILD SUCCESSFUL Total time: 2 seconds Using this build.xml: <project name="test" default="main" basedir="."> <target name="main"> <java classname="test" fork="true" classpath="."/> </target> </project> Scott Stirling -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>