DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23502>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23502

Incorrect path in generated SMAP file entries

           Summary: Incorrect path in generated SMAP file entries
           Product: Tomcat 5
           Version: 5.0.12
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Jasper
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


One of the new features of Jasper in Tomcat 5 is that it attaches a "Source
Map" attribute to class files to describe the file name and line number
mapping from a JSP source file to the generated Java source file.

The SMAP that I see in the class files generated by Jasper (5.0.12 beta)
has a problem:

In the "*F" section, there's a pair of lines that defines the JSP file.
The first line is of the form "+ id source-name", where "id" is a unique
identifier and "source-name" is the name of the JSP file.  The source name
created by Jasper contains path information, but according to JSR-045, it
should be without path information.

For example, when running the num/numguess.jsp program, the following lines
are generated:

+ 0 /num/numguess.jsp
num/numguess.jsp

but this should be

+ 0 numguess.jsp
num/numguess.jsp

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to