ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Tuft Muller" <...@online.no>
Subject RE: Line numbers on Stack traces
Date Mon, 19 Nov 2001 17:53:13 GMT
I guess the adjurations given to the VM influences the capaility of
providing line numbers as well. For Java 1.3 on Win2k I always start the VM
with -Xint to ensure pure interpreted modus. I guess 1.4 supports something
similar.

--

Thomas


| -----Original Message-----
| From: Larason, Timothy [mailto:TLarason@Datek.com]
| Sent: 19 November 2001 17:49
| To: Ant Users List
| Subject: RE: Line numbers on Stack traces
|
|
| Correct me if I'm wrong everyone...but I believe the javac setting
| "debug=true" used to be the default for Ant 1.3, but isn't for Ant 1.4.
| To get the line numbers back in just do the following :
|
| <javac debug="true" .... />
|
| I guess it probably is best that "debug=true" is no longer the default.
| Makes for more efficient and smaller code in my opinion.
|
| -----Original Message-----
| From: David Oxley [mailto:dave@staffplanner.co.uk]
| Sent: Monday, November 19, 2001 12:38 PM
| To: 'Ant Users List'
| Subject: Line numbers on Stack traces
|
|
| All,
|
| I have lost line numbers on stack traces with code compiled with Ant
| 1.4.
| They used to be there when I compiled with Ant 1.3. Is this a default
| setting that has changed, a bug with Ant 1.4, or is it just coincidence
| and
| actually caused by something completely different.
|
| From the following excerpt, you can see that Tomcat line numbers come
| out,
| but not from our sources.
|
|       at StaffPlannerServlet.processRequest(Unknown Source)
|       at com.staffplanner.base.ServletBase.doPost(Unknown Source)
|       at com.staffplanner.base.ServletBase.doGet(Unknown Source)
|       at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
|       at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
|       at
| org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
|
| Thanks.
| Dave
|
| --
| To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
| For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
|
|



*************************************************************************
Copyright ERA Technology Ltd. 2001. (www.era.co.uk). All rights reserved. 
Confidential. No liability whatsoever is accepted for any loss or damage 
suffered as a result of accessing this message or any attachments.

--
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