You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/06/03 16:06:58 UTC
[jira] Created: (MPJCOVERAGE-9) Bad path to stylesheet generated
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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Closed: (MPJCOVERAGE-9) Bad path to stylesheet generated
Posted by ji...@codehaus.org.
Message:
The following issue has been closed.
Resolver: Emmanuel Venisse
Date: Tue, 6 Jul 2004 12:07 PM
Applied. Thanks.
---------------------------------------------------------------------
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: Closed
Priority: Major
Resolution: FIXED
Original Estimate: 0 minutes
Time Spent: Unknown
Remaining: 0 minutes
Project: maven-jcoverage-plugin
Fix Fors:
1.0.6
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: Tue, 6 Jul 2004 12:07 PM
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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Commented: (MPJCOVERAGE-9) Bad path to stylesheet generated
Posted by ji...@codehaus.org.
The following comment has been added to this issue:
Author: Trond Arve Wasskog
Created: Mon, 28 Jun 2004 7:23 AM
Body:
We see the same behaviour, using the default value for the stylesheet property (on Win2K and Linux, maven-jcoverage-plugin v1.0.4).
---------------------------------------------------------------------
View this comment:
http://jira.codehaus.org/browse/MPJCOVERAGE-9?page=comments#action_21108
---------------------------------------------------------------------
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: Mon, 28 Jun 2004 7:23 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Commented: (MPJCOVERAGE-9) Bad path to stylesheet generated
Posted by ji...@codehaus.org.
The following comment has been added to this issue:
Author: Emmanuel Venisse
Created: Thu, 3 Jun 2004 10:36 AM
Body:
Do you redefine the stylesheet property or you use the default value?
---------------------------------------------------------------------
View this comment:
http://jira.codehaus.org/browse/MPJCOVERAGE-9?page=comments#action_20318
---------------------------------------------------------------------
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:36 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Updated: (MPJCOVERAGE-9) Bad path to stylesheet generated
Posted by ji...@codehaus.org.
The following issue has been updated:
Updater: Philippe Mouawad (mailto:EXTERNAL.Z19PMOUA@DECATHLON.COM)
Date: Thu, 3 Jun 2004 10:08 AM
Comment:
What is described in the mail
Changes:
Attachment changed to CoverageReport.java
---------------------------------------------------------------------
For a full history of the issue, see:
http://jira.codehaus.org/browse/MPJCOVERAGE-9?page=history
---------------------------------------------------------------------
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:08 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org