[
https://issues.apache.org/jira/browse/RAT-161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14935449#comment-14935449
]
Sandhya Sundaresan commented on RAT-161:
----------------------------------------
Erik's proposal would certainly help us in the Trafodion project. We have a
high level directory sturcture on which we'd like to run RAT. We have several
subdirectories and want to include only a subset of files in each of those
directories. Using filename patterns without /path would make the exclusions
imprecise. There may be the same file it 2 different subdirectories and both
would get excluded which we don't really intend to do.We want to exclude
specific files in specific directories with a regexp. Unfortunately it isn't
working.
> Support exclusion of paths: "path/to/file.ext"
> ------------------------------------------------
>
> Key: RAT-161
> URL: https://issues.apache.org/jira/browse/RAT-161
> Project: Apache Rat
> Issue Type: New Feature
> Components: reports
> Reporter: Erik Erlandson
> Assignee: Philipp Ottlinger
> Priority: Minor
> Fix For: 0.12
>
> Attachments: RAT-161.2.patch
>
>
> It would be advantageous to be able to exclude specific files, e.g.
> "path/to/file.ext"
> The current '-E' feature cannot do this, as the filter patterns are only
> applied to individual files as directory tree is traversed, so a filter will
> never see "path/to/file.ext", only "path", "to" and "file.ext"
> See for example: SPARK-1493
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)