Index: plugin.properties =================================================================== RCS file: /home/cvs/maven-plugins/dashboard/plugin.properties,v retrieving revision 1.11 diff -u -r1.11 plugin.properties --- plugin.properties 20 Sep 2004 10:04:46 -0000 1.11 +++ plugin.properties 23 Sep 2004 08:49:53 -0000 @@ -60,6 +60,12 @@ # aggregators. maven.dashboard.report.showempty = true +# Properties for displaying the percentage bars +maven.dashboard.report.bar.left=${plugin.resources}/images/green.png +maven.dashboard.report.bar.right=${plugin.resources}/images/red.png +maven.dashboard.report.bar.height=10 +maven.dashboard.report.bar.border=0 + # Properties for gathering dashboard data for a single project # ------------------------------------------------------------ Index: src/plugin-resources/templates/dashboard.jsl =================================================================== RCS file: /home/cvs/maven-plugins/dashboard/src/plugin-resources/templates/dashboard.jsl,v retrieving revision 1.6 diff -u -r1.6 dashboard.jsl --- src/plugin-resources/templates/dashboard.jsl 21 Apr 2004 00:55:43 -0000 1.6 +++ src/plugin-resources/templates/dashboard.jsl 23 Sep 2004 08:49:53 -0000 @@ -25,6 +25,7 @@ xmlns:j="jelly:core" xmlns:jsl="jelly:jsl" xmlns:x="jelly:xml" + xmlns:u="jelly:util" xmlns="dummy" trim="false"> @@ -70,7 +71,7 @@ - + @@ -78,7 +79,79 @@ - + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + 0 + 0 + + + + + + + + + + ${percent} + ${percent}% + + + + + + + + + + 0 + 0 + + + + + + + + + + ${cpercent} + ${cpercent}% + + + + +
+
+ +
Index: xdocs/changes.xml =================================================================== RCS file: /home/cvs/maven-plugins/dashboard/xdocs/changes.xml,v retrieving revision 1.25 diff -u -r1.25 changes.xml --- xdocs/changes.xml 20 Sep 2004 10:04:46 -0000 1.25 +++ xdocs/changes.xml 23 Sep 2004 08:49:54 -0000 @@ -25,6 +25,9 @@ + + Added percentage bar graphs to the report. + Added new jcoverageloc aggregator that computes JCoverage total lines of code. Index: src/plugin-resources/images/green.png =================================================================== RCS file: src/plugin-resources/images/green.png diff -N src/plugin-resources/images/green.png --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ src/plugin-resources/images/green.png 1 Jan 1970 00:00:00 -0000 @@ -0,0 +1,5 @@ +‰PNG + + +IHDR?Ø;sRGB®ÎégAMA±? üa cHRMz&€„ú€èu0ê`:˜pœºQ< pHYsÄÄ•+JIDATHKí’¹ + ÄÂælÎ3Á¹¸ÒˆÒ²ÀÉš³§sž¨r;–ÿ­Ês¡Ž"Q” d‚”v³QG‘ÞŠr?L?Òn6êˆ Ðû­^¿EIEND®B`‚ Index: src/plugin-resources/images/red.png =================================================================== RCS file: src/plugin-resources/images/red.png diff -N src/plugin-resources/images/red.png --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ src/plugin-resources/images/red.png 1 Jan 1970 00:00:00 -0000 @@ -0,0 +1,5 @@ +‰PNG + + +IHDR?Ø;sRGB®ÎégAMA±? üa cHRMz&€„ú€èu0ê`:˜pœºQ<HIDATHKí’± + ÃèÿG½ 21Z¸?{Jç‹*·cÙoUž£uDˆ¢\ ¤´›?:"ˆôV” d‚”v³QG‘ÞÌžr]!äIEND®B`‚