You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2003/04/08 03:15:16 UTC

DO NOT REPLY [Bug 15964] - Wrong source paths in generated SMAP file entries

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