Re: CrossLanguageRegexpHeader only working for java
"Oliver Burn" <[email protected]> Thu, 20 Nov 2008 16:02:44 +1100
| Newsgroups | gmane.comp.java.audit.checkstyle.user |
|---|---|
| Message-ID | <[email protected]> |
How are you invoking Checkstyle? Are you only passing in a list of Java files? On Thu, Nov 20, 2008 at 03:11, Tim Foster <[email protected]> wrote: > Hello. I'm trying to use the CrossLanguageRegexpHeader check to validate > headers for all of my source code. However, it is only working for java. > Here is my configuration file entry with the specific regexp and other > checks extracted for simplicity's sake: > > > > <module name="Checker"> > > <property name="severity" value="warning"/> > > ... > > <module name="CrossLanguageRegexpHeader"> > > <property name="header" value="<my header regexp>" /> > > <property name="multiLines" value="1, 2" /> > > <property name="severity" value="error"/> > > <property name="fileExtensions" value="java, groovy" /> > > </module> > > </module> > > > > The CrossLanguageRegexpHeader module is running under the context of the > Checker module, not the TreeWalker module, as directed by the documentation, > so I'm expecting the header check to be applied to groovy files as well. > However, it only flags errors on java files. > > > > Any guidance would be appreciated. > > > > Tim > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Checkstyle-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/checkstyle-user > > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Checkstyle-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/checkstyle-user