You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@creadur.apache.org by "Szymon Janc (JIRA)" <ji...@apache.org> on 2018/05/23 14:35:00 UTC

[jira] [Commented] (RAT-240) CLI: RAT excludes file does not allow to set a full path

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

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

ok, new release is coming so I'm back to using RAT.

Lets say I have those new files:

hw/bsp/arc/file1
hw/bsp/arc/file2
hw/bsp/arc/file3
bsp/arc/file1
bsp/arc/file2
bsp/arc/file3

How do I exclude files in bsp/arc/ without excluding files in hw/bsp/arc?  
I'd expect somtehing like this (or similar) to work but none of combination I tried works.
./bsp/arc/*
./bsp/arc

Only working is 'arc' but then this excludes both folders.



> 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
>            Priority: Major
>             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
(v7.6.3#76005)