[
https://issues.apache.org/jira/browse/RAT-240?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16193749#comment-16193749
]
Philipp Ottlinger commented on RAT-240:
---------------------------------------
hmm - what's the expected behaviour. I can run RAT successfully and get some
files without licenses:
{code}
$ java -jar ~/Downloads/apache-rat-0.12.jar -E .rat-excludes -d .
*****************************************************
Summary
-------
Generated at: 2017-10-05T23:25:03+02:00
Notes: 4
Binaries: 0
Archives: 0
Standards: 1786
Apache Licensed: 1765
Generated Documents: 0
JavaDocs are generated, thus a license header is optional.
Generated files do not require license headers.
6 Unknown Licenses
*****************************************************
Files with unapproved licenses:
./hw/bsp/pic32mx470_6lp_clicker/src/sbrk.c
./hw/bsp/pic32mz2048_wi-fire/src/sbrk.c
./kernel/os/include/os/arch/pic32/os/cp0defs.h
./kernel/os/src/arch/pic32/startup/cache-err-exception.S
./kernel/os/src/arch/pic32/startup/crt0.S
./kernel/os/src/arch/pic32/startup/simple-tlb-refill-exception.S
...
{code}
So your expectation would be to exclude /hw/bsp or should the kernel also be
excluded?
It's possible that the CLI does not have the same functionality as the maven
version, but at first I'd like to find out what you want to have.
Thanks
> .rat-excludes not matching full path
> ------------------------------------
>
> Key: RAT-240
> URL: https://issues.apache.org/jira/browse/RAT-240
> Project: Apache Rat
> Issue Type: Bug
> Reporter: Szymon Janc
> Fix For: 0.12
>
>
> it is not possible to exclude file (or folder) by providing full path
> eg
> foo/foo2/main.c
> bar/bar2/main.c
> it is not possible to match only one of those file from project top directory
> .rat-excludes file.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)