evenisse    2004/04/23 09:20:24

  Modified:    jcoverage plugin.jelly
               jcoverage/xdocs changes.xml properties.xml
  Log:
  MPJCOVERAGE-7. Custom stylesheet for jcoverage plugin.
  
  Revision  Changes    Path
  1.9       +5 -1      maven-plugins/jcoverage/plugin.jelly
  
  Index: plugin.jelly
  ===================================================================
  RCS file: /home/cvs/maven-plugins/jcoverage/plugin.jelly,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- plugin.jelly      4 Mar 2004 18:36:01 -0000       1.8
  +++ plugin.jelly      23 Apr 2004 16:20:24 -0000      1.9
  @@ -179,7 +179,11 @@
                 <ant:path refid="jcoverage.classpath"/>
               </ant:classpath>
             </report>
  -          <ant:copy file="${plugin.resources}/style.css" 
todir="${maven.coverage.dir}"/>
  +          <j:set var="stylesheet" 
value="${maven.jcoverage.report.stylesheet.dir}"/> 
  +          <j:if test="${stylesheet.isEmpty()}"> 
  +            <j:set var="stylesheet" value="${plugin.resources}/style.css"/> 
  +          </j:if> 
  +          <ant:copy file="${stylesheet}" tofile="${maven.coverage.dir}/style.css"/> 
             <jcoverage:report
                 dataFile="${maven.jcoverage.dir}/coverage.xml"
                 outputDir="${maven.coverage.dir}"/>
  
  
  
  1.11      +1 -0      maven-plugins/jcoverage/xdocs/changes.xml
  
  Index: changes.xml
  ===================================================================
  RCS file: /home/cvs/maven-plugins/jcoverage/xdocs/changes.xml,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- changes.xml       31 Mar 2004 22:55:20 -0000      1.10
  +++ changes.xml       23 Apr 2004 16:20:24 -0000      1.11
  @@ -25,6 +25,7 @@
     </properties>
     <body>
       <release version="1.0.4" date="In CVS">
  +      <action dev="evenisse" type="add" issue="MPJCOVERAGE-7">Custom stylesheet for 
jcoverage plugin.</action>
         <action dev="evenisse" type="fix" issue="MPJCOVERAGE-6">Fix the report 
generation after a rmic generation.</action>
       </release>
       <release version="1.0.3" date="2004-03-10">
  
  
  
  1.4       +8 -0      maven-plugins/jcoverage/xdocs/properties.xml
  
  Index: properties.xml
  ===================================================================
  RCS file: /home/cvs/maven-plugins/jcoverage/xdocs/properties.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- properties.xml    4 Mar 2004 18:36:01 -0000       1.3
  +++ properties.xml    23 Apr 2004 16:20:24 -0000      1.4
  @@ -41,6 +41,14 @@
             </td>
           </tr>
           <tr>
  +          <td>maven.jcoverage.report.stylesheet.dir</td>
  +          <td>${plugin.resources}/style.css</td>
  +          <td>Yes</td>
  +          <td>
  +            Specifies css file for jcoverage output files.
  +          </td>
  +        </tr>
  +        <tr>
             <td>maven.jcoverage.instrumentation</td>
             <td>${maven.jcoverage.dir}/classes</td>
             <td>Yes</td>
  
  
  

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

Reply via email to