CrossLanguageRegexpHeader only working for java
"Tim Foster" <[email protected]> Wed, 19 Nov 2008 11:11:58 -0500
| Newsgroups | gmane.comp.java.audit.checkstyle.user |
|---|---|
| Message-ID | <[email protected]> |
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