Re: Excluding certain files from compilation or checking

2017-08-27 Thread Seth Goldstein
Yikes. Does that mean I can't exclude a file with a comma in it? I.e., one called .,thisisafilename.java -- Seth Copen Goldstein Carnegie Mellon University Computer Science Dept 7111 GHC 412-268-3828 On Sun, Aug 27, 2017 at 4:59 PM, Robert Scholte wrote: > Hi, > > this can't be c

Re: Excluding certain files from compilation or checking

2017-08-27 Thread Robert Scholte
Hi, this can't be correct: **/.,*.java this means: exclude all files called . (yes, just dot) and exclude all *.java files in the root. Don't think you're excluding anything, running with debug logging will probably confirm that. Robert On Sun, 27 Aug 2017 22:54:42 +0200, Seth Goldstein

Re: Excluding certain files from compilation or checking

2017-08-27 Thread Seth Goldstein
You are absolutely correct. In case others want this - exclude files from being checked and compiled - Here is the relevant part of the pom file: org.apache.maven.plugins maven-compiler-plugin 2.0.2 **/.,*.java

Re: Excluding certain files from compilation or checking

2017-08-26 Thread Benson Margulies
You have excluded it from the checkstyle plugin, but it's the Java compiler which is discontented. You need to configure the compiler plugin, as well. On Sat, Aug 26, 2017 at 12:03 PM, Seth Goldstein wrote: > I would have expected that too, however: > > > org.apache.maven.plugins >

Re: Excluding certain files from compilation or checking

2017-08-26 Thread Seth Goldstein
I would have expected that too, however: org.apache.maven.plugins maven-checkstyle-plugin 2.17 validate validate check config/checkstyle.xml

Re: Excluding certain files from compilation or checking

2017-08-26 Thread Robert Scholte
I would expect it to be **/.* **/ means zero or more directories .* any file with a dot followed by anything Robert ps. repeating the same element within configuration like you did with means the last one will win. On Fri, 25 Aug 2017 23:26:58 +0200, Seth Goldstein wrote: I am trying to e

Excluding certain files from compilation or checking

2017-08-26 Thread Seth Goldstein
I am trying to exclude all files that begin with '.,' from being checked or compiled. Is there a quick and easy way to do this? The following does NOT work: org.apache.maven.plugins maven-checkstyle-plugin 2.17 validate v