Message: A new issue has been created in JIRA.
--------------------------------------------------------------------- View the issue: http://jira.codehaus.org/browse/MPJCOVERAGE-9 Here is an overview of the issue: --------------------------------------------------------------------- Key: MPJCOVERAGE-9 Summary: Bad path to stylesheet generated Type: Bug Status: Open Priority: Major Original Estimate: 0 minutes Time Spent: Unknown Remaining: 0 minutes Project: maven-jcoverage-plugin Versions: 1.0.3 1.0.4 1.0.5 Assignee: Emmanuel Venisse Reporter: Philippe Mouawad Created: Thu, 3 Jun 2004 10:06 AM Updated: Thu, 3 Jun 2004 10:06 AM Environment: Windows NT Description: When I use jcoverage plugin, it generate HTML files with the following kind of path for stylesheet: <link rel ="stylesheet" type="text/css" href="\.\./\.\./\.\./style.css" title="Style"> As you can see there is \. that should be . This results into the browser not finding the stylesheet. I opened the code and replaced return new Perl5Util().substitute("s/[^\\.]*(\\.|$)/\\.\\.\\//g", path); by return new Perl5Util().substitute("s/[^\\.]*(\\.|$)/..\\//g", path); In method org.apache.maven.jcoveragereport.CoverageReport => private String getRelativePath(String path) In fact if you look at ; http://jakarta.apache.org/oro/api/org/apache/oro/text/perl/Perl5Util.html In the following example: line = util.substitute("s/description1\\.html/about1.html/", line); They don't escape the . in the replacement string. and it know generates good pathes. Since I didn't find a bug for this I thought I may be doing something wrong, could you help me please. --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]