Rat xsl sylesheet used in builbot scripts

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Rat xsl sylesheet used in builbot scripts

Jacques Le Roux
Administrator
Hi,

Venkat, one of the Apache OFBiz user, was kind enough to check out RAT on his local box in order to run it to avoid false positive
we get in buildbot reports (mostly under build dirs)

He also uses Saxon and would want the Rat xsl sylesheet used in builbot scripts in order to get something more legible

How could we get this sylesheet?

TIA

Jacques
Reply | Threaded
Open this post in threaded view
|

Re: Rat xsl sylesheet used in builbot scripts

Jacques Le Roux
Administrator
From: "Gavin McDonald" <[hidden email]>

>> -----Original Message-----
>> From: Jacques Le Roux [mailto:[hidden email]]
>> Sent: Saturday, 30 June 2012 5:40 PM
>> To: [hidden email]
>> Cc: [hidden email]; [hidden email]
>> Subject: Rat xsl sylesheet used in builbot scripts
>>
>> Hi,
>>
>> Venkat, one of the Apache OFBiz user, was kind enough to check out RAT on
>> his local box in order to run it to avoid false positive we get in
> buildbot
>> reports (mostly under build dirs)
>>
>> He also uses Saxon and would want the Rat xsl sylesheet used in builbot
>> scripts in order to get something more legible
>>
>> How could we get this sylesheet?
>
> Please find attached the stylesheet, feel free to contribute a patch back if
> you improve
> On it (which wouldn't be hard, I did a basic model)
>
> Note we use Saxon 9B, let me know if the command line used is needed.

Thanks Gavin,

Venkat is also using saxon9b
Let's see what we can get from it

Jacques

> Gav...
>
>>
>> TIA
>>
>> Jacques
>
Reply | Threaded
Open this post in threaded view
|

Re: Rat xsl sylesheet used in builbot scripts

Jacques Le Roux
Administrator
Venkat,

The idea is to generate the RAT report without the class and lib files. So you should retry after an ant clean as suggested Jacopo. There will be far less files to worry about

Jacques
  ----- Original Message -----
  From: Venkat Mangudi
  To: Jacques Le Roux
  Cc: Gavin ; [hidden email] ; [hidden email]
  Sent: Saturday, June 30, 2012 12:53 PM
  Subject: Re: Rat xsl sylesheet used in builbot scripts




  On Sat, Jun 30, 2012 at 2:00 PM, Jacques Le Roux <[hidden email]> wrote:

    From: "Gavin McDonald" <[hidden email]>

      Please find attached the stylesheet, feel free to contribute a patch back if
      you improve
      On it (which wouldn't be hard, I did a basic model)

      Note we use Saxon 9B, let me know if the command line used is needed.



    Thanks Gavin,

    Venkat is also using saxon9b
    Let's see what we can get from it

    Jacques



  Gavin,


  Thanks for the stylesheet. It was most helpful. I used the following commandline


  saxonb-xslt -xsl:rat-output.xsl -o:rat-output.html -s:ofbiz11rat.html


  The output file is attached. It worked beautifully.


  Jacques, thank you for helping out with this.




  --
  Regards,
  Venkat
Reply | Threaded
Open this post in threaded view
|

Re: Rat xsl sylesheet used in builbot scripts

Jacques Le Roux
Administrator
In reply to this post by Jacques Le Roux
Also, as suggested Gavin, we can certainly do a better stylesheet. Like grouping files by license types, filtering certain types of files (images, etc.), etc.
With parameters on cmd line, we could have a generic stylesheet to propose to the entire Apache comunity

Jacques
  ----- Original Message -----
  From: Jacques Le Roux
  To: [hidden email]
  Sent: Saturday, June 30, 2012 4:58 PM
  Subject: Re: Rat xsl sylesheet used in builbot scripts


  Venkat,

  The idea is to generate the RAT report without the class and lib files. So you should retry after an ant clean as suggested Jacopo. There will be far less files to worry about

  Jacques
    ----- Original Message -----
    From: Venkat Mangudi
    To: Jacques Le Roux
    Cc: Gavin ; [hidden email] ; [hidden email]
    Sent: Saturday, June 30, 2012 12:53 PM
    Subject: Re: Rat xsl sylesheet used in builbot scripts




    On Sat, Jun 30, 2012 at 2:00 PM, Jacques Le Roux <[hidden email]> wrote:

      From: "Gavin McDonald" <[hidden email]>

        Please find attached the stylesheet, feel free to contribute a patch back if
        you improve
        On it (which wouldn't be hard, I did a basic model)

        Note we use Saxon 9B, let me know if the command line used is needed.



      Thanks Gavin,

      Venkat is also using saxon9b
      Let's see what we can get from it

      Jacques



    Gavin,


    Thanks for the stylesheet. It was most helpful. I used the following commandline


    saxonb-xslt -xsl:rat-output.xsl -o:rat-output.html -s:ofbiz11rat.html


    The output file is attached. It worked beautifully.


    Jacques, thank you for helping out with this.




    --
    Regards,
    Venkat
Reply | Threaded
Open this post in threaded view
|

Re: Rat xsl sylesheet used in builbot scripts

Jacques Le Roux
Administrator
In reply to this post by Jacques Le Roux
Forgot pathes, for instance we know all files under applications/content/template/docbook/ are OK

I guess you have other ideas  :o)

Jacques
  ----- Original Message -----
  From: Jacques Le Roux
  To: [hidden email]
  Sent: Saturday, June 30, 2012 5:02 PM
  Subject: Re: Rat xsl sylesheet used in builbot scripts


  Also, as suggested Gavin, we can certainly do a better stylesheet. Like grouping files by license types, filtering certain types of files (images, etc.), etc.
  With parameters on cmd line, we could have a generic stylesheet to propose to the entire Apache comunity

  Jacques
    ----- Original Message -----
    From: Jacques Le Roux
    To: [hidden email]
    Sent: Saturday, June 30, 2012 4:58 PM
    Subject: Re: Rat xsl sylesheet used in builbot scripts


    Venkat,

    The idea is to generate the RAT report without the class and lib files. So you should retry after an ant clean as suggested Jacopo. There will be far less files to worry about

    Jacques
      ----- Original Message -----
      From: Venkat Mangudi
      To: Jacques Le Roux
      Cc: Gavin ; [hidden email] ; [hidden email]
      Sent: Saturday, June 30, 2012 12:53 PM
      Subject: Re: Rat xsl sylesheet used in builbot scripts




      On Sat, Jun 30, 2012 at 2:00 PM, Jacques Le Roux <[hidden email]> wrote:

        From: "Gavin McDonald" <[hidden email]>

          Please find attached the stylesheet, feel free to contribute a patch back if
          you improve
          On it (which wouldn't be hard, I did a basic model)

          Note we use Saxon 9B, let me know if the command line used is needed.



        Thanks Gavin,

        Venkat is also using saxon9b
        Let's see what we can get from it

        Jacques



      Gavin,


      Thanks for the stylesheet. It was most helpful. I used the following commandline


      saxonb-xslt -xsl:rat-output.xsl -o:rat-output.html -s:ofbiz11rat.html


      The output file is attached. It worked beautifully.


      Jacques, thank you for helping out with this.




      --
      Regards,
      Venkat