[
https://issues.apache.org/jira/browse/RAT-240?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16261638#comment-16261638
]
Fabio Utzig commented on RAT-240:
---------------------------------
Also tested with:
$ java -version
java version "1.8.0_152"
Java(TM) SE Runtime Environment (build 1.8.0_152-b16)
Java HotSpot(TM) 64-Bit Server VM (build 25.152-b16, mixed mode)
And it also didn't work. I took a quick look at the source code and it seems
that DirectoryWalker is only applying exclusion patterns to the leaves in the
path but I might be getting it completely wrong since I never spent much time
programming in java.
Would you mind providing your own build (apache-rat-0.13-SNAPSHOT.jar) for me
to test here?
> 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
>
> Attachments: rat.txt
>
>
> 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)