When creating a plugin fragment with a Checkstyle configuration, any header
file or suppression file references in the Checkstyle configuration file
are resolved relative to the VMs working directory.
It would be much more practical for these files to be resolved relative to
the location of the configuration file itself, i.e. the plugin fragment.
That way a plugin fragment can be built that includes
checkstyle.xml
checkstyle.header.txt
checkstyle.suppressions.xml
with checkstyle.xml containing settings such as
<module name="RegexpHeader">
<property name="severity" value="warning" />
<property name="headerFile" value="checkstyle.header.txt" />
</module>
Lars Koedderitzsch
Checkstyle Integration
5.0.0
Public
|
Date: 2008-06-17 22:24
|
|
Date: 2008-04-06 12:22
|
| Field | Old Value | Date | By |
|---|---|---|---|
| status_id | Open | 2008-04-06 12:22 | lkoe |
| resolution_id | None | 2008-04-06 12:22 | lkoe |
| category_id | None | 2008-04-06 12:22 | lkoe |
| artifact_group_id | None | 2008-04-06 12:22 | lkoe |
| assigned_to | nobody | 2008-04-06 12:22 | lkoe |
| close_date | - | 2008-04-06 12:22 | lkoe |
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use