[ https://issues.apache.org/jira/browse/RAT-161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14026757#comment-14026757 ]
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: https://github.com/apache/spark/blob/master/dev/check-license#L71 The '-E' file is this: https://github.com/apache/spark/blob/master/.rat-excludes 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 ambiguities. > 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 > 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 (v6.2#6252)