You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ka...@apache.org on 2003/01/25 04:57:53 UTC

cvs commit: jakarta-turbine-maven/src/plugins-build/checkstyle/src/plugin-resources checkstyle.jsl

kaz         2003/01/24 19:57:53

  Modified:    src/plugins-build/checkstyle/src/plugin-resources
                        checkstyle.jsl
  Log:
  Applying patch from Ben Walding.  Thanks Ben!  Resolves MAVEN-212.
  
  Revision  Changes    Path
  1.2       +7 -3      jakarta-turbine-maven/src/plugins-build/checkstyle/src/plugin-resources/checkstyle.jsl
  
  Index: checkstyle.jsl
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-maven/src/plugins-build/checkstyle/src/plugin-resources/checkstyle.jsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- checkstyle.jsl	24 Jan 2003 03:44:59 -0000	1.1
  +++ checkstyle.jsl	25 Jan 2003 03:57:53 -0000	1.2
  @@ -5,6 +5,7 @@
     xmlns:j="jelly:core"
     xmlns:jsl="jelly:jsl"
     xmlns:x="jelly:xml"
  +  xmlns:doc="doc"
     xmlns="dummy" trim="false">
   
     <!-- This needs to be instantiated here to be available in the template matches -->
  @@ -38,8 +39,10 @@
                 <th>Errors</th>
               </tr>
               <tr>
  -              <td>${fileCount}</td>
  -              <td>${errorCount}</td>
  +              <j:set var="fileCount">${fileCount}</j:set>
  +              <td><doc:formatAsNumber string="${fileCount}" pattern="0"/></td>
  +              <j:set var="errorCount">${errorCount}</j:set>
  +              <td><doc:formatAsNumber string="${errorCount}" pattern="0"/></td>
               </tr>
             </table>
           </section>
  @@ -67,7 +70,8 @@
                     <td>
                       <a href="#${name}">${name}</a>
                     </td>
  -                  <td>${errorCount}</td>
  +                  <j:set var="errorCount">${errorCount}</j:set>
  +                  <td><doc:formatAsNumber string="${errorCount}" pattern="0"/></td>
                   </tr>
                 </j:if>
               </j:forEach>