Sonar

Checkstyle custom rules configuration is not imported

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Fixed
  • Affects Version/s: 1.4
  • Fix Version/s: 1.4.2
  • Component/s: Rules
  • Labels:
    None
  • Environment:
    windows, embedded derby DB, JOnAS.
  • Number of attachments :
    0

Description

When importing rules from a checkstyle configuration file, only built-in rules are correctly configured. The configuration of custom extensions is NOT imported : all custom rules remain "inactive" and all parameters remain empty.

Activity

Hide
SALMON Nicolas added a comment -

I have the same issue. I have created a custom rule for checkstyle. Results are the following :

  • the new rule is displayed on the listing of all rules available -> i can configure it and it works
  • when i want to upload a checkstyle xml file using my custom rule, this rule is not taken into account and doesn't appear neither on the user interface nor in the xml file when i want to export back the checkstyle file
Show
SALMON Nicolas added a comment - I have the same issue. I have created a custom rule for checkstyle. Results are the following :
  • the new rule is displayed on the listing of all rules available -> i can configure it and it works
  • when i want to upload a checkstyle xml file using my custom rule, this rule is not taken into account and doesn't appear neither on the user interface nor in the xml file when i want to export back the checkstyle file

People

Vote (1)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: