-
Bug
-
Resolution: Fixed
-
Major
-
None
-
rubyMetrics 1.3, Hudson 1.337-1.1 (RPM package using Winstone/built-in app server), CentOS release 5.4 (Final) (Linux version 2.6.18-164.6.1.el5 (gcc version 4.1.2 20080704 (Red Hat 4.1.2-46))) - browser used was Firefox 3.5.6 in OS X 10.6.2.
To reproduce:
- Browse in project to the rcov report in hudson and click on a file where you see the source of the file
- Instead of seeing lines highlighted in green/red that are covered/uncovered, the CSS formatting is missing for the code highlighting
Description of issue:
- The HTML is linking to screen.css and print.css included in rcov that is not available in the rcov reports accessible via RubyMetrics in our installation at least. In our HTML it contains:
<link href="screen.css" media="all" rel="stylesheet" type="text/css" /> <link href="print.css" media="print" rel="stylesheet" type="text/css" />
and screen.css and print.css are not in the current directory so it can't find them (as was determined when using the web developer plugin for Firefox). However, it can find:
<link type="text/css" rel="stylesheet" href="/plugin/rubyMetrics/css/style.css"></link>
So as a workaround, we appended the screen.css contents to /plugin/rubyMetrics/css/style.css and it highlighted the lines as expected.