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

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

I should point out: prior to this failure, rat seemed to run just fine on other 
modules, like solr's test-framework...

{noformat}
      [rat] 
      [rat] *****************************************************
      [rat] Summary
      [rat] -------
      [rat] Generated at: 2020-02-13T14:46:10-07:00
      [rat] Notes: 0
      [rat] Binaries: 0
      [rat] Archives: 0
      [rat] Standards: 70
      [rat] 
      [rat] Apache Licensed: 70
      [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] 0 Unknown Licenses
      [rat] 
      [rat] *******************************
      [rat] 
      [rat] Unapproved licenses:
      [rat] 
      [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/test-framework/build.xml
...
      [rat]  
      [rat] *****************************************************
      [rat]  Printing headers for files without AL header...
      [rat]  
      [rat]  
{noformat}

...and didn't even list "rat-report.xml" as a file in that module, even though 
one exists...

{noformat}
$ find -name rat-report.xml | grep test-framework
./solr/test-framework/build/rat/rat-report.xml
./lucene/test-framework/build/rat/rat-report.xml
{noformat}

I should also mention that 
/home/hossman/lucene/dev/solr/webapp/build/rat/rat-report.xml does not contain 
an entry for /home/hossman/lucene/dev/solr/webapp/build/rat/rat-report.xml 
(even though the timestamp seems to indicate it's from the same run)



> 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