dion        02/05/27 16:21:47

  Modified:    src/dvsl/xdocs checkstyle.dvsl
  Log:
  Patch provided by Stephane Mor (sorry I don't know how to type the accented
  characters) to not display a file if the error count for it is zero.
  
  Revision  Changes    Path
  1.3       +3 -1      jakarta-turbine-maven/src/dvsl/xdocs/checkstyle.dvsl
  
  Index: checkstyle.dvsl
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-maven/src/dvsl/xdocs/checkstyle.dvsl,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- checkstyle.dvsl   27 May 2002 05:32:24 -0000      1.2
  +++ checkstyle.dvsl   27 May 2002 23:21:47 -0000      1.3
  @@ -10,7 +10,7 @@
   ## Based on the XSL stylesheet checkstyle-noframes.xsl from the
   ## checkstyle contrib.
   ##
  -## Version: $Id: checkstyle.dvsl,v 1.2 2002/05/27 05:32:24 dion Exp $
  +## Version: $Id: checkstyle.dvsl,v 1.3 2002/05/27 23:21:47 dion Exp $
   
   #######################################################################
   ## V E L O C I T Y    M A C R O S                                    ##
  @@ -77,10 +77,12 @@
           #foreach ($file in $node.selectNodes("file"))
             #set ($name = 
$context.toolbox.pathtool.getPackagePath($file.attribute('name')))
             #set ($errorCount = $file.valueOf("count(error)"))
  +          #if ($errorCount != "0")
           <tr>
             <td><a href="#$name">$name</a></td>
             <td>$errorCount</td>
           </tr>
  +          #end
           #end
         </table>
   
  
  
  

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

Reply via email to