[
https://issues.apache.org/jira/browse/RAT-134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claude Warren resolved RAT-134.
-------------------------------
Resolution: Fixed
This was fixed in the migration of the exclusion processing to core as RAT-390
> RAT CLI uses different wildcard syntax for -e and -E; neither matches
> Ant/Maven wildcards
> -----------------------------------------------------------------------------------------
>
> Key: RAT-134
> URL: https://issues.apache.org/jira/browse/RAT-134
> Project: Apache Rat
> Issue Type: Bug
> Affects Versions: 0.8, 0.9
> Reporter: Sebb
> Priority: Major
> Fix For: 0.17
>
>
> RAT CLI uses two different wildcard syntaxes, neither of which agree with the
> Ant/Maven syntax.
> For the -E option (expressions read from a file), it uses RegexFileFilter
> which uses java.util.regex.Pattern syntax.
> For the -e option (expression provided on command-line), it uses
> WildcardFileFilter, whose Javadoc says:
> "The wildcard matcher uses the characters '?' and '*' to represent a single
> or multiple wildcard characters. This is the same as often found on Dos/Unix
> command lines."
> Ant and Maven syntax is similar to the -e syntax, except that they use '**'
> to mean zero or more directories.
> RAT CLI should be consistent, and should use Ant/Maven style syntax.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)