jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Sonar
  • SONAR-1768

Import of Checkstyle configuration with "message" element fails

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 2.2
  • Fix Version/s: 2.3
  • Component/s: Checkstyle
  • Labels:
    None

Description

Creating a quality profile in Sonar with a Checkstyle configuration containing custom messages (reflected by a "message" element) doesn't work.

Following error message appears on the Sonar web-interface: "No profile created. Please check your configuration files."

See the following XML fragment which causes the problem:

<module name="IllegalImport">
      <property name="severity" value="error"/>
      <message key="import.illegal" value="[IllegalImport] Import from illegal package - {0}."/>
</module>

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Freddy Mallet added a comment - 08/Sep/10 5:16 AM

With Sonar 2.3, the import will complete successfully but the message node won't be used (a warning will be displayed)

Show
Freddy Mallet added a comment - 08/Sep/10 5:16 AM With Sonar 2.3, the import will complete successfully but the message node won't be used (a warning will be displayed)
Hide
Permalink
Joerg Dehmel added a comment - 08/Sep/10 5:25 AM

Why is the custom message that comes from Checkstyle ignored by Sonar? Is it only for now? Will support of Checkstyle- custom messages be added later?

Show
Joerg Dehmel added a comment - 08/Sep/10 5:25 AM Why is the custom message that comes from Checkstyle ignored by Sonar? Is it only for now? Will support of Checkstyle- custom messages be added later?
Hide
Permalink
Freddy Mallet added a comment - 08/Sep/10 5:50 AM

Hi Joerg, feel free to create a new JIRA ticket to ask for this feature. Thanks.

Show
Freddy Mallet added a comment - 08/Sep/10 5:50 AM Hi Joerg, feel free to create a new JIRA ticket to ask for this feature. Thanks.

People

  • Assignee:
    Freddy Mallet
    Reporter:
    Joerg Dehmel
Vote (0)
Watch (0)

Dates

  • Created:
    07/Sep/10 3:21 AM
    Updated:
    06/Oct/10 2:33 PM
    Resolved:
    08/Sep/10 5:16 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.