tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 15964] - Wrong source paths in generated SMAP file entries
Date Tue, 08 Apr 2003 01:15:16 GMT
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=15964>.
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=15964

Wrong source paths in generated SMAP file entries





------- Additional Comments From kin-man.chung@sun.com  2003-04-08 01:15 -------
It looks like that if we use package names that mirror the file heirachy for the
JSP files, and place the .java and .class files in the similiar directory
heirachy, then we can solve the problem for both JSP and Java stratum.  Let me
elaborate.

The file TC/webapps/jsp-examples/num/numguess.jsp will have the package name of
"jsp.jsp-examples.num".  The prepend the name "jsp" is for the top level JSP
files, since they have to be in a package.  The generated .java and .class files
will then be in TC/work/Standalone/localhost/jsp/jsp-examples/num directory. 
Then we can leave the source path empty, as is now, and it'll be easy for the
user to tell the debugger where to find the .jsp and .class files.

If you think this will work, I'll make a proposal on the tomcat-dev.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message