You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Brad Walker (Jira)" <ji...@apache.org> on 2020/06/17 19:48:00 UTC

[jira] [Assigned] (NETBEANS-4465) update RAT license exceptions

     [ https://issues.apache.org/jira/browse/NETBEANS-4465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brad Walker reassigned NETBEANS-4465:
-------------------------------------

    Assignee: Brad Walker

> update RAT license exceptions
> -----------------------------
>
>                 Key: NETBEANS-4465
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-4465
>             Project: NetBeans
>          Issue Type: Improvement
>            Reporter: Brad Walker
>            Assignee: Brad Walker
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> When running the RAT report after a build has taken place, the report picks up hundreds of generated files. These files do not have a license header and it's really not necessary as they are generated by the build process..
> {code:java}
> [bwalker@localhost netbeans]$ $ANT_HOME/bin/ant -quiet rat -Drat-report.haltonfailure=true
>      [echo] Bootstrapping NetBeans-specific Ant extensions...
>      [copy] Warning: Could not find file /home/bwalker/src/netbeans/nbbuild/gitinfo.properties to copy.
>      [copy] Warning: Could not find file /home/bwalker/src/netbeans/nbbuild/netbeansrelease.properties to copy.
>      [echo] Processing build with branch update-rat-exclusion and hash aa266cbc66f0dbcc637db5ee13efff363ae68ecd
>      [echo] Building branch: update-rat-exclusion
> BUILD FAILED
> /home/bwalker/src/netbeans/nbbuild/build.xml:2220: Failed Rat test(s):
> Unapproved license in 825 file(s) 
> /tree/master/enterprise/j2ee.dd/src/org/netbeans/modules/j2ee/dd/impl/web/model_4_0/Filter.java
> /tree/master/enterprise/j2ee.dd/src/org/netbeans/modules/j2ee/dd/impl/application/model_8/HandlerChainType.java
> ...
> /tree/master/enterprise/j2ee.dd/src/org/netbeans/modules/j2ee/dd/impl/web/model_4_0_frag/SessionConfigType.java
> /tree/master/enterprise/j2ee.dd/src/org/netbeans/modules/j2ee/dd/impl/client/model_7_0/ResourceEnvRef.java
> Unapproved license in 1 file(s) 
> /tree/master/contrib/j2ee.jboss4/external/j2ee.jboss4-external-resources.txt
> Unapproved license in 3 file(s) 
> /tree/master/groovy/gradle/netbeans-gradle-tooling/.gradle/vcs-1/gc.properties
> /tree/master/groovy/gradle/netbeans-gradle-tooling/.gradle/4.10.2/gc.properties
> /tree/master/groovy/gradle/netbeans-gradle-tooling/.gradle/buildOutputCleanup/cache.properties
> Unapproved license in 1 file(s) 
> /tree/master/webcommon/javascript2.jquery/external/jquery-api.xml
> Total time: 1 minute 22 seconds
> [bwalker@localhost netbeans]$ 
> {code}
> Let's look at a file for example:
> {code:java}
> /**
>  *	This generated bean class SessionConfigType matches the schema element 'session-configType'.
>  *  The root bean class is WebFragment
>  *
>  *	===============================================================
>  *	
>  *	
>  *	        The session-configType defines the session parameters
>  *	        for this web application.
>  *	        
>  *	        Used in: web-app
>  *	        
>  *	      
>  *	===============================================================
>  * @Generated
>  */
> {code}
> So it's obvious this is a generated and should be ignored by the RAT report..



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists