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

Szymon Janc commented on RAT-240:
---------------------------------

if you look at .rat-exclude you'll see that we are force to use very generic 
names for exclusion like  lora, mesh, rtt etc and those can simply exclude too 
much

so what this report is about is that we would like to be able to have our 
rat-exclude be like:
./kernel/os/src/arch/pic32/
./hw/bsp/pic32mz2048_wi-fire/
./net/lora/node/
./hw/mcu/nordic/src/ext/nRF5_SDK_11.0.0_89a8197/components/device/compiler_abstraction.h

instead of currently used
pic32
lora
compiler_abstraction.h

as those can simply match too much.

> CLI: RAT excludes file does not allow to set a full path
> --------------------------------------------------------
>
>                 Key: RAT-240
>                 URL: https://issues.apache.org/jira/browse/RAT-240
>             Project: Apache Rat
>          Issue Type: Bug
>          Components: cli, scan
>    Affects Versions: 0.12
>            Reporter: Szymon Janc
>            Assignee: Philipp Ottlinger
>             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)

Reply via email to