Did you try ant -debug? It should give you the stack trace. --DD

-----Original Message-----
From: Nathan Coast [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, April 25, 2002 10:32 AM
To: [EMAIL PROTECTED]
Subject: task exceptions

Hi, is there any way to configure ant to display stack traces when an
exception 
occurs during task excecution?

this is the only error message I get:

C:\base\components\build-generic.xml:155: java.lang.NullPointerException

I assume the exception gets thrown in my custom task (called on line 155).
I've 
added try / catch / printStackTrace to the execute method but still get no
stack.

thanks in advance,
Nathan


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to