tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 58010] New: Class file are not getting compiled with debuginfo while setting classdebuginfo in jasper ant task
Date Mon, 08 Jun 2015 10:41:48 GMT
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: dev@tomcat.apache.org
          Reporter: vasa.v03@gmail.com

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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message