Skip to content

[MCHECKSTYLE-420] includes is broken #332

@jira-importer

Description

@jira-importer

Delany opened MCHECKSTYLE-420 and commented

I thought I could achieve MCHECKSTYLE-412 using includes

 

<configuration>
  <configLocation>${build.root}/checkstyle.xml</configLocation>
  <includes>src\/**\/*.java</includes>
</configuration> 

but I dont get any violations. Neither with any of

<includes>src/**/*.java</includes>
<includes>**/src/**/*.java</includes>
<includes>**\/src\/**\/*.java</includes>

I get 69 violations (files in src and target) using

 

<configuration>
  <configLocation>${build.root}/checkstyle.xml</configLocation>
  <includes>**\/*.java</includes>
</configuration> 

 


Affects: 3.2.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpriority:majorMajor loss of function

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions