Menu

#218 XSLT from Arthur Gouros

open
pmd (28)
5
2012-10-07
2007-09-28
No

'tis from a few months back, but it looks great!

Discussion

  • Tom Copeland

    Tom Copeland - 2007-09-28

    Example output

     
  • Tom Copeland

    Tom Copeland - 2007-09-28

    The XSLT script

     
  • Tom Copeland

    Tom Copeland - 2007-09-28

    Logged In: YES
    user_id=5159
    Originator: YES

    File Added: ag-pmd-report.xslt

     
  • Tom Copeland

    Tom Copeland - 2007-09-28

    Logged In: YES
    user_id=5159
    Originator: YES

    Here's Arthur's note about it:

    ==========
    Hi folks,

    I've adapted a bunch of existing PMD stylesheets into ag-pmd-report.xslt (attached) and also provided a sample of the outcome foo.html

    This one is designed for ANT and accepts 2 parameters
    1) title - Report title (usually the build name)
    2) filepathheader - Leading path to strip from the file path name (because it's usually quite long).

    ANT usage is
    <xslt in="foo.xml" style="${pmd.xslt.dir}/ag-pmd-report.xslt" out=" foo.html">
    <param name="title" expression="${build.name}"/>
    <param name="filepathheader" expression="${basedir}"/>
    </xslt>

    I'll leave it up to you folk to decide if it's worthwhile including in the next release.

    Best regards and thanks for a great tool.
    Arthur Gouros.
    ==========

     
  • Tom Copeland

    Tom Copeland - 2007-11-06

    Logged In: YES
    user_id=5159
    Originator: YES

    File Added: ag-pmd-report.xslt

     
  • Tom Copeland

    Tom Copeland - 2007-11-06

    An updated stylesheet

     
  • Tom Copeland

    Tom Copeland - 2007-12-02

    An update

     
  • Tom Copeland

    Tom Copeland - 2007-12-02

    Logged In: YES
    user_id=5159
    Originator: YES

    Another update!
    File Added: ag-pmd-report.xslt

     
  • Romain PELISSE

    Romain PELISSE - 2008-03-15

    Logged In: YES
    user_id=1679130
    Originator: NO

    Hi,

    As i became the xslt integration expert, i'll work on adding this to pmd.

    If somebody can, please assign me this patch.

     
  • Tom Copeland

    Tom Copeland - 2008-03-17

    Logged In: YES
    user_id=5159
    Originator: YES

    Done!

     

Log in to post a comment.