Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8470065
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T16:24:34+00:00 2026-06-10T16:24:34+00:00

I am setting up Sonar through Jenkins Sonar plugin and I have a couple

  • 0

I am setting up Sonar through Jenkins Sonar plugin and I have a couple of questions about the way Sonar interprets the directories I give it.

  1. sources=srcDir1,srcDir2 : from what I understand this is where I pass source dir of my project. My project is actually a multiproject with many source dirs inside. Is it okay to give Sonar the root path to the project and Sonar will know to go deep and find each projects .java files ? Or do I have to give it each one of the source dirs ? Also if I have src/com/mycompany/myproj/... package structure do I have to give it the end path, or the src path is sufficient ?
  2. binaries=binDir : Here I should give Sonar the path to the compiled .class code or the packed .jar / .war / .ear files so Findbugs will work. Same question here: I don’t have a central place with all the compiled classes, so do I have to specify each one of the paths ?
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T16:24:36+00:00Added an answer on June 10, 2026 at 4:24 pm

    The Sonar ANT task contains a section on how to configure Sonar to analysis a multi-module build:

    • http://docs.codehaus.org/display/SONAR/Analyzing+with+Ant+Task
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am setting up a Sonar project (using the delphi plugin), for simplicity sake
I have a tomcat server and I wish to install Jenkins and Sonar on
I've installed Sonar 1.8 plugin to Jenkins, according to the instructions form the official
Setting up a project structure; I am thinking is it better to have somewhat
Setting up CI within Microsoft Team Foundation Server, I have a build that will
setting is the following: I have a homepage where I display a diagram that
Setting width/height in CSS only corresponds to the content area. Is there a way
Setting a page title I have the following MVC View Syntax <title> Category :
Setting up an integration server, I’m in doubt about the best approach regarding using
Setting up ASP.net MVC with Linq2SQL or Entity Framework's context to have scaffolding work

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.