Is this from beta-10 or from the stable branch. I believe this was fixed
after b10 was released.
--
dIon Gillard, Multitask Consulting
Blog: http://blogs.codehaus.org/people/dion/
Boris Ekelchik <[EMAIL PROTECTED]> wrote on 19/08/2003
11:39:06 AM:
> Generated links and labels in the checkstyle report seam to loose random
> number of characters from original class names, e.g.:
>
>
>
> Checkstyle report row for ApplicationException is
>
> <tr>
>
> <td>
>
> <a href="#plicationException.java">plicationException.java</a>
>
> </td>
>
> <td>1</td>
>
> </tr>
>
>
>
> TopiHandler becomes:
>
> <tr>
>
> <td>
>
> <a href="#opicHandler.java">opicHandler.java</a>
>
> </td>
>
> <td>55</td>
>
> </tr>
>
>
>
> I am not totally sure, but it may something to do with this in
> maven-checkstyle-plugin-2.0-SNAPSHOT\plugin-resources\checkstyle.jsl:
>
>
>
> <j:forEach var="file" items="${files}">
>
> <!-- Type coercion doesn't work worth a fuck in jexl. -->
>
> <j:set var="name"
> value="${file.attribute('name').getValue()}"/>
>
> <j:set var="name"
>
value="${name.substring(mavenTool.toInteger(srcDirLength.toString()))}"/>
>
> <util:replace var="name" value="${name}" oldChar="\\"
> newChar="/"/>
>
> <!--- +1 is for the trailing slash above -->
>
> <j:set var="errorCount"><x:expr
> select="count($file/error)"/></j:set>
>
>
>
> <j:if test="${errorCount != 0}">
>
> <tr>
>
> <td>
>
> <a href="#${name}">${name}</a>
>
> </td>
>
> <td><doc:formatAsNumber string="${errorCount}"
> pattern="0"/></td>
>
> </tr>
>
> </j:if>
>
> </j:forEach>
>
> </table>
>