creadur-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Szymon Janc (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (RAT-240) CLI: RAT excludes file does not allow to set a full path
Date Wed, 23 May 2018 14:35:00 GMT

    [ 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)

Mime
View raw message