creadur-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Erlandson (JIRA)" <>
Subject [jira] [Commented] (RAT-161) Support exclusion of paths: "path/to/file.ext"
Date Tue, 10 Jun 2014 17:51:01 GMT


Erik Erlandson commented on RAT-161:

Spark is sbt centric (being primarily scala code).  RAT is currently being invoked in CL mode,
via a shell script:

The '-E' file is this:

As the contents of ".rat-excludes" suggest, a mixture of explicit file names and regular expressions
is used to describe the full ignore list.   The goal is to use more complete path names in
place of the file names, which currently don't include paths, and so are more vulnerable to

> Support exclusion of paths:   "path/to/file.ext"
> ------------------------------------------------
>                 Key: RAT-161
>                 URL:
>             Project: Apache Rat
>          Issue Type: New Feature
>          Components: reports
>            Reporter: Erik Erlandson
>            Priority: Minor
>             Fix For: 0.11
> 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