Donate Share

Eclipse Checkstyle Plug-in

Tracker: Feature Requests

5 Override config properties at fragment build time - ID: 2143207
Last Update: Comment added ( lkoe )

Add support for overriding checkstyle configuration properties as part of
the check-configuration. This would enable deploying multiple
configurations using a single checkstyle configuration file (each
overriding some properties in the checkstyle config file).

Example:

<extension
id="checkstyle.CheckConfiguration"
point="com.atlassw.tools.eclipse.checkstyle.configurations">

<!-- uses the default "lineLength" property -->
<check-configuration
name="Our Checks (80)"
location="our_checks.xml"
description="%SunChecks.description"/>

<!-- sets the "lineLength" property to "100" -->
<check-configuration
name="Our Checks (100)"
location="our_checks.xml"
description="%SunChecks.description">
<property name="lineLength" value="100"/>
</check-configuration>

</extension>

See this thread for details:
https://sourceforge.net/forum/forum.php?thread_id=2206671&forum_id=274377

Also, if you're willing to point me in the right direction. I wouldn't mind
putting together a patch for this.

--steve


Steve McKay ( shmckay ) - 2008-10-02 22:33

5

Closed

Fixed

Lars Koedderitzsch

Checkstyle integration

None

Public


Comment ( 1 )

Date: 2009-02-14 18:16
Sender: lkoeProject Admin

Oh happy day. Better late than never. It's implemented. In the CVS. Will
ship with the next 5.0.0 beta.

Cheers,
Lars


Attached File

No Files Currently Attached

Changes ( 5 )

Field Old Value Date By
status_id Open 2009-02-14 18:16 lkoe
resolution_id None 2009-02-14 18:16 lkoe
assigned_to nobody 2009-02-14 18:16 lkoe
close_date - 2009-02-14 18:16 lkoe
summary Override config properties in at fragment build time 2008-10-02 22:33 shmckay