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)
Signup
Sonar Plugins
  • Sonar Plugins
  • SONARPLUGINS-2224

Improve multi-module support

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: ANT-TASK-2.0
  • Component/s: Ant Task
  • Labels:
    None
  • Number of attachments :
    0

Description

The purpose is to deprecate the way "sonar.modules" work.

Old mechanism:

  • "sonar.modules" is a list of paths that point to Ant scripts.
  • Those scripts are loaded to define the module definitions
  • This causes some issues (see SONARPLUGINS-2156) plus the fact that it is not flexible not reusable in tools like Gradle

New mechanism:

  • It will rely on the multi-module support implemented for the Sonar Runner (see SONARPLUGINS-2202)
  • It will be possible to specify the multi-module structure using either:
    • only properties in the root project (like explained in SONARPLUGINS-2202)
    • a mix of properties of the root project and "properties" files located in modules

Notes:

  • the "old" mechanism will still be available as "compatibility mode"

Issue Links

depends upon

Improvement - An improvement or enhancement to an existing feature or task. SONARPLUGINS-2202 Add multi-module support

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.
is depended upon by

Improvement - An improvement or enhancement to an existing feature or task. SONARPLUGINS-1454 Sonar Projects using Ant task do not have submodule hierarchy in dashboard

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Ronald J Jenkins Jr added a comment - 12/Sep/12 8:20 AM

I'm a little confused by the description of the new mechanism. Since the multi-module structure will now refer to property files rather than Ant scripts, does this mean that the Ant Task will now require the Sonar Runner in order to perform multi-module analysis?

Show
Ronald J Jenkins Jr added a comment - 12/Sep/12 8:20 AM I'm a little confused by the description of the new mechanism. Since the multi-module structure will now refer to property files rather than Ant scripts, does this mean that the Ant Task will now require the Sonar Runner in order to perform multi-module analysis?
Hide
Permalink
Fabrice Bellingard added a comment - 12/Sep/12 8:35 AM

The Ant Task will transparently embed the Sonar Runner. So no need to install the Sonar Runner aside the Ant Task.
What's more, the description says that the multi-module support uses either property files or only properties (easier way in most cases). We'll update our example projects to reflect this.

Show
Fabrice Bellingard added a comment - 12/Sep/12 8:35 AM The Ant Task will transparently embed the Sonar Runner. So no need to install the Sonar Runner aside the Ant Task. What's more, the description says that the multi-module support uses either property files or only properties (easier way in most cases). We'll update our example projects to reflect this.
Hide
Permalink
Freddy Mallet added a comment - 13/Sep/12 9:34 AM

Manually tested !

Show
Freddy Mallet added a comment - 13/Sep/12 9:34 AM Manually tested !
Hide
Permalink
Fabrice Bellingard added a comment - 20/Sep/12 3:18 AM

Existing ITs migrated.

Show
Fabrice Bellingard added a comment - 20/Sep/12 3:18 AM Existing ITs migrated.

People

  • Assignee:
    Fabrice Bellingard
    Reporter:
    Fabrice Bellingard
Vote (0)
Watch (3)

Dates

  • Created:
    06/Sep/12 6:00 AM
    Updated:
    20/Sep/12 3:18 AM
    Resolved:
    12/Sep/12 7:54 AM
  • Atlassian JIRA (v5.2.7#850-sha1:b2af0c8)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.