Is it possible to override configuration settings in the current Checkstyle plugin like it was possible when properties files were used? For example, I would like to use the sun coding standard as the base for my coding standard and I want to change some of the settings. I notice that the turbine config just redefines all of the sun settings as well as the ones they wanted to change. I think it would be a neat feature to support configuration importing. Then the turbine config could look like this:
<?xml version="1.0"?>
<!DOCTYPE module PUBLIC
"-//Puppy Crawl//DTD Check Configuration 1.1//EN"
"http://www.puppycrawl.com/dtds/configuration_1_1.dtd"><modules>
<import href="sun_checks.xml"/><module name="TreeWalker">
<!-- ************************************************************** -->
<!-- Checks that are different from the sun coding conventions ones -->
<!-- ************************************************************** -->
<property name="tabWidth" value="4"/>
<module name="LeftCurly">
<property name="option" value="nl"/>
</module>
<module name="RightCurly">
<property name="option" value="alone"/>
</module>
<module name="LineLength">
<property name="ignorePattern" value="@version"/>
</module>
<module name="MemberName">
<property name="format" value="^f[A-Z][a-zA-Z0-9]*$"/>
</module>
</module>
</modules>
Modules defined in the 'importing' document override those defined in the
'imported' one.
-John K
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
