[ 
https://issues.apache.org/jira/browse/LUCENE-9224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17036543#comment-17036543
 ] 

Chris M. Hostetter commented on LUCENE-9224:
--------------------------------------------

Based on some experimenting...

* {{ant rat-sources}} (via {{ant precommit}} ) doesn't create any 
rat-report.xml files
* {{gradle rat}} (via {{gradle precommit}} ) _DOES_ create these rat-report.xml 
files
* {{ant clean}} is skipping these files for some reason?
* {{gradle clean}} (which i should have remembered before switching back to 
ant) _DOES_ clean up these files

but the perplexing question is still why {{ant rat-sources}} doesn't complain 
about any rat-report.xml files in any other modules that it checks before 
solr/webapp?

> RAT report complains about ... rat-report.xml
> ---------------------------------------------
>
>                 Key: LUCENE-9224
>                 URL: https://issues.apache.org/jira/browse/LUCENE-9224
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Chris M. Hostetter
>            Priority: Major
>
> I'm not sure if this is due to some comflagration of mixing gradle work with 
> ant work, but today i encountered the following failure after running "ant 
> clean precommit" ...
> {noformat}
> rat-sources:
>       [rat] 
>       [rat] *****************************************************
>       [rat] Summary
>       [rat] -------
>       [rat] Generated at: 2020-02-13T14:46:10-07:00
>       [rat] Notes: 0
>       [rat] Binaries: 1
>       [rat] Archives: 0
>       [rat] Standards: 95
>       [rat] 
>       [rat] Apache Licensed: 75
>       [rat] Generated Documents: 0
>       [rat] 
>       [rat] JavaDocs are generated and so license header is optional
>       [rat] Generated files do not required license headers
>       [rat] 
>       [rat] 1 Unknown Licenses
>       [rat] 
>       [rat] *******************************
>       [rat] 
>       [rat] Unapproved licenses:
>       [rat] 
>       [rat]   /home/hossman/lucene/dev/solr/webapp/build/rat/rat-report.xml
>       [rat] 
>       [rat] *******************************
>       [rat] 
>       [rat] Archives:
>       [rat] 
>       [rat] *****************************************************
>       [rat]   Files with Apache License headers will be marked AL
>       [rat]   Binary files (which do not require AL headers) will be marked B
>       [rat]   Compressed archives will be marked A
>       [rat]   Notices, licenses etc will be marked N
>       [rat]   AL    /home/hossman/lucene/dev/solr/webapp/build.xml
>       [rat]  !????? 
> /home/hossman/lucene/dev/solr/webapp/build/rat/rat-report.xml
>       [rat]   AL    /home/hossman/lucene/dev/solr/webapp/web/WEB-INF/web.xml
> ...
> {noformat}
> RAT seems to be comlaining that there is no license header in it's own report 
> file?



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to