Browse Source

Display number of the column where the "error" occured (if present).

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275166 13f79535-47bb-0310-9956-ffa450edef68
master
Jan Materne 22 years ago
parent
commit
86fdee1fa7
1 changed files with 3 additions and 4 deletions
  1. +3
    -4
      src/etc/checkstyle/checkstyle-frames.xsl

+ 3
- 4
src/etc/checkstyle/checkstyle-frames.xsl View File

@@ -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>

Loading…
Cancel
Save