-- Providing a build-in configuration --
By providing a fragment the plug-in enables you to
roll out an immutable Checkstyle configuration to your team members. This is
especially powerful if you distribute your fragment via a corporate update site
You can provide such a built-in configuration by the use of the com.atlassw.tools.eclipse.checkstyle.configurations extension point.
Simply package you configuration file with your fragment and add a similar entry (see
example below) to your fragment.xml.
Example:
<extension
id=
"com.mychecks"
point=
"com.atlassw.tools.eclipse.checkstyle.configurations"
>
<check-configuration
name=
"My built-in configuration"
description=
"The mandatory set of checkstyle rules for my
company."
location=
"my-custom-builtin-configuration.xml"
>
</check-configuration>
</extension>
|