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

Philipp Ottlinger commented on RAT-240:
---------------------------------------

The version should be correct (latest SNAPSHOT) - are you on windows?

I've checked out your project and added 
{code}
/hw/mcu/stm/stm32f4xx/src/ext/Drivers/CMSIS/Device/ST/STM32F4xx
/hw/mcu/stm/stm32f4xx/src/ext/Drivers/CMSIS/Device/ST/STM32F4xx/*
/hw/mcu/stm/stm32f4xx/src/ext/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f401xc.h
{code}
to the exclusion file and it works fine
{code}
$ java -jar ../rat-trunk/apache-rat/target/apache-rat-0.13-SNAPSHOT.jar -E 
.rat-excludes -d . | more
{code}

Can you check out the version and try to build it for yourself just to make 
sure you are using the latest SNAPHOT?
https://svn.apache.org/repos/asf/creadur/rat/trunk

HTH

> 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