creadur-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sandhya Sundaresan (JIRA)" <>
Subject [jira] [Commented] (RAT-161) Support exclusion of paths: "path/to/file.ext"
Date Tue, 29 Sep 2015 17:06:04 GMT


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:
>             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

View raw message