Alan: This enhancement request is a duplicate of http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4127
A patch has been submitted. Please wait for it to be committed. Magesh ----- Original Message ----- From: "Alan Pearlman Spencer" <[EMAIL PROTECTED]> To: "Ant Users List" <[EMAIL PROTECTED]> Sent: Tuesday, November 20, 2001 3:49 AM Subject: RE: Line numbers on Stack traces For some reason, by default, ANT passes -g:none to the compiler and there is no way for it's default to be the same as Javacs default which is -g:line as far as I know. Also, in ANT you only have debug on (all) or off (none), check out the docs for javac and you will see it has more options... I wish ANT would expose these... Alan. -----Original Message----- From: Larason, Timothy [mailto:[EMAIL PROTECTED]] 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:[EMAIL PROTECTED]] 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:[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]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
