ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <DDevie...@lgc.com>
Subject RE: task exceptions
Date Thu, 25 Apr 2002 16:53:19 GMT
Did you try ant -debug? It should give you the stack trace. --DD

-----Original Message-----
From: Nathan Coast [mailto:nathan.coast@blueyonder.co.uk] 
Sent: Thursday, April 25, 2002 10:32 AM
To: ant-user@jakarta.apache.org
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:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message