empty author table in html report ?

David Michel <[email protected]> Wed, 17 Feb 2010 11:50:09 +0000
Newsgroups gmane.comp.java.audit.checkstyle.user
Message-ID <[email protected]>
Hi all,

While checkstyle apparently runs smoothly (i.e. no warning/error message),
the html report doesn't give any info per authors as it should, i.e. the
authors table is empty.

The thing is I don't know how checkstyle identifies an author. Does it look
at the javadoc tag @author ? at the class level or at the method level ? or
what ?

I used the default sun_checks.xml provided with the distribution and the ant
task I used is below:

<taskdef resource="checkstyletask.properties"
classpath="${checkstyle.dir}/checkstyle-all-5.0.jar"/>
<target name="checkstyle" description="Generates a report of code
convention violations.">
    <mkdir dir="${checkstyle.dir}"/>
    <checkstyle config="${checkstyle.dir}/sun_checks.xml"
failureProperty="checkstyle.failure" failOnViolation="false">
        <formatter type="xml" tofile="${checkstyle.dir}/checkstyle_report.xml"/>
        <fileset dir="${src.dir}" includes="**/*.java"/>
    </checkstyle>
  <xslt in="${checkstyle.dir}/checkstyle_report.xml"
out="${checkstyle.dir}/checkstyle_report.html"
style="${checkstyle}/checkstyle-author.xsl"/>
</target>

Many thanks for your help

David


---
Dr. David Michel
Address: 8 Viking Drive, Didcot, OX11 9RD, Oxfordshire
Mobile: 0789 670 98 01 - Home: 0123 581 46 93

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev

_______________________________________________
Checkstyle-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/checkstyle-user