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





------- Additional Comments From [EMAIL PROTECTED]  2003-10-21 15:02 -------
I looked at the source I downloaded with the Tomcat 5.0.12 beta, and
I see the following lines in the SmapStratum.getString() method:

   out.append("+ " + i + " " + fileNameList.get(i) + "\n");
   // Source paths must be relative, not absolute, so we
   // remove the leading "/", if one exists.
   String filePath = (String)filePathList.get(i);
   if (filePath.startsWith("/")) {
       filePath = filePath.substring(1);
   }
   out.append(filePath + "\n");

Shouldn't the first line of this segment be something like:

   out.append("+ " + i + " " + SmapUtil.unqualify(fileNameList.get(i)) + "\n");
   
If it were, I believe the problem I observed would be fixed.

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

Reply via email to