https://bz.apache.org/bugzilla/show_bug.cgi?id=58010
Bug ID: 58010
Summary: Class file are not getting compiled with debuginfo
while setting classdebuginfo in jasper ant task
Product: Tomcat 7
Version: 7.0.55
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: Jasper
Assignee: [email protected]
Reporter: [email protected]
JSP Classes compiled by Jasper Ant Task getting compiled without debuginfo even
though by default classdebuginfo is set to true in
apache-tomcat-7.0.55-src/java/org/apache/jasper/JspC.java:189
Used the following snippet for compiling jsp in a sample web application
------------------------------------------------------------
<taskdef name="jasper2" classname="org.apache.jasper.JspC">
<classpath>
...
</classpath>
</taskdef>
<mkdir dir="${dir}/"/>
<jasper2 validateXml="false" classdebuginfo="true" uriroot="${dir}/jsp"
outputDir="${dir}/src" verbose="1" />
--------------------------------------------------------------
Used the following command to check if the classes compiled by Jasper has debug
info enabled or not .
javap -l Sample.class
which did not give LineNumberTable and LocalVariableTable attributes.
http://stackoverflow.com/questions/1508235/determine-whether-class-file-was-compiled-with-debug-info
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]