Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info
titleSonar Eclipse Plugin
Note that to perform local analysesa preview, a SonarQube plugin for Eclipse is also available. It currently supports Java, C/C++ and Python.

...

Basically, the way to run an analysis and a preview is the same. Copy to your local machine the analysis configuration file (sonar-project.properties, pom.xml, etc.) that is used to analyze the project on the remote server to your local machine. Make sure that the sonar.sources property refers to the directory containing the source code on your local machine (or update it accordingly). The tree structure of the source code on your local machine must match the tree structure that has been remotely analyzed by SonarQube. Finally, run a local analysis:

...

 

Code Block
languagenone
sonar-runner -Dsonar.dryRun=true -Dsonar.issuesReport.html.enable=true -Dsonar.inclusions=myCobolProgram.cbl
Note
titleMulti-module project compatibility
Note that the Issues Report plugin is not yet compatible with multi-module projects. See https://jira.codehaus.org/browse/SONARPLUGINS-2805.

 

Change Log

JIRA Issues
anonymoustrue
titleVersion 1.0
height60
renderModestatic
width900
columnstype;key;summary;priority
urlhttp://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?fixfor=19094&pid=11911&sorter/field=priority&sorter/order=DESC&tempMax=1000