You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@creadur.apache.org by "John Vines (Created) (JIRA)" <ji...@apache.org> on 2011/12/05 19:40:40 UTC

[jira] [Created] (RAT-111) RAT does not ignore javah generated files

RAT does not ignore javah generated files
-----------------------------------------

                 Key: RAT-111
                 URL: https://issues.apache.org/jira/browse/RAT-111
             Project: RAT
          Issue Type: Improvement
          Components: engine
    Affects Versions: 0.8
            Reporter: John Vines
             Fix For: 0.9


RAT does not ignore the header used for javah generated files (used for compiled jni code).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (RAT-111) RAT does not ignore javah generated files

Posted by "Stefan Bodewig (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/RAT-111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefan Bodewig resolved RAT-111.
--------------------------------

    Resolution: Fixed

patch applied for svn revision 1210841

Thanks!
                
> RAT does not ignore javah generated files
> -----------------------------------------
>
>                 Key: RAT-111
>                 URL: https://issues.apache.org/jira/browse/RAT-111
>             Project: RAT
>          Issue Type: Improvement
>          Components: engine
>    Affects Versions: 0.8
>            Reporter: John Vines
>              Labels: generated
>             Fix For: 0.9
>
>
> RAT does not ignore the header used for javah generated files (used for compiled jni code).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (RAT-111) RAT does not ignore javah generated files

Posted by "John Vines (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/RAT-111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13162935#comment-13162935 ] 

John Vines commented on RAT-111:
--------------------------------

apache-rat-project john$ svn diff
Index: apache-rat-core/src/main/java/org/apache/rat/analysis/generation/GeneratedLicenseNotRequired.java
===================================================================
--- apache-rat-core/src/main/java/org/apache/rat/analysis/generation/GeneratedLicenseNotRequired.java	(revision 1210558)
+++ apache-rat-core/src/main/java/org/apache/rat/analysis/generation/GeneratedLicenseNotRequired.java	(working copy)
@@ -49,6 +49,7 @@
         Pattern.compile(".*This class was autogenerated.*"),
         Pattern.compile(".*Generated by Maven.*"),
         Pattern.compile(".*Autogenerated by Thrift.*"),
+	Pattern.compile(".*DO NOT EDIT THIS FILE - it is machine generated.*"),
         Pattern.compile(".*This class was generated by.*")};
     
I tested it, it worked, and nothing seems to be broken by it.
                
> RAT does not ignore javah generated files
> -----------------------------------------
>
>                 Key: RAT-111
>                 URL: https://issues.apache.org/jira/browse/RAT-111
>             Project: RAT
>          Issue Type: Improvement
>          Components: engine
>    Affects Versions: 0.8
>            Reporter: John Vines
>              Labels: generated
>             Fix For: 0.9
>
>
> RAT does not ignore the header used for javah generated files (used for compiled jni code).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira