You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by jh...@apache.org on 2003/09/02 13:36:03 UTC

cvs commit: ant/src/etc/checkstyle checkstyle-frames.xsl

jhm         2003/09/02 04:36:03

  Modified:    src/etc/checkstyle checkstyle-frames.xsl
  Log:
  Display number of the column where the "error" occured (if present).
  
  Revision  Changes    Path
  1.4       +3 -4      ant/src/etc/checkstyle/checkstyle-frames.xsl
  
  Index: checkstyle-frames.xsl
  ===================================================================
  RCS file: /home/cvs/ant/src/etc/checkstyle/checkstyle-frames.xsl,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- checkstyle-frames.xsl	20 Jul 2003 10:18:29 -0000	1.3
  +++ checkstyle-frames.xsl	2 Sep 2003 11:36:02 -0000	1.4
  @@ -286,13 +286,13 @@
                       <table class="log" border="0" cellpadding="5" cellspacing="2" width="100%">
                           <tr>
                               <th>Error Description</th>
  -                            <th>Line</th>
  +                            <th>Line:Column</th>
                           </tr>
                           <xsl:for-each select="error">
                               <tr>
                                   <xsl:call-template name="alternated-row"/>
                                   <td><a title="{@source}"><xsl:value-of select="@message"/></a></td>
  -                                <td><xsl:value-of select="@line"/></td>
  +                                <td align="center"><xsl:value-of select="@line"/><xsl:if test="@column">:<xsl:value-of select="@column"/></xsl:if></td>
                               </tr>
                           </xsl:for-each>
                       </table>
  @@ -327,5 +327,4 @@
               <xsl:if test="position() mod 2 = 0">evenrow</xsl:if>
           </xsl:attribute>
       </xsl:template>
  -</xsl:stylesheet>
  -
  +</xsl:stylesheet>
  \ No newline at end of file
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org