sonar.rules.extensionsPath uses like jdbc drivers?

View: New views
6 Messages — Rating Filter:   Alert me  

sonar.rules.extensionsPath uses like jdbc drivers?

by Jim Sellers :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello.

I'm trying to understand the correct usage of the sonar.rules.extensionsPath property [1].

In the extensions directory that comes with sonar, it has jdbc-driver, plugins, and rules directories.  However, the wiki doc's only talk about subdirectories like pmd and checkstyle, which I can only find under the "rules" subdirectory.

I had assumed that I could set this property and have sonar pick up my jdbc driver as well.  Is this property *only* for custom rules?

If so, maybe the example in the wiki should be changed to to /user/home/jdoe/sonar/extensions/rules or /user/home/jdoe/sonar/extensions-rules.

Thanks for your time,
Jim


[1] http://docs.codehaus.org/display/SONAR/Advanced+parameters#Advancedparameters-Settingabsolutepathforextensions

coverage 0.0% after upgrading to 1.11.1

by Mohamed-Ali Sfaxi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Hi All,

I have a strange problem with code coverage. In fact, with Sonar version 1.10.1, the code coverage was about 100% and now it is 0.0% after installing Sonar version 1.11.1

Does anyone have an idea about this issue ?

Thanks in advance for your help

Regards

Dali

 


Re: coverage 0.0% after upgrading to 1.11.1

by Freddy Mallet :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Dali,

Could you launch the "mvn cobertura:cobertura" command and open the file target/site/cobertura/index.html to see what you get ? There isn't currently any open issue on that subject.

regards,

Freddy

On Tue, Oct 20, 2009 at 4:15 PM, Mohamed-Ali Sfaxi <mohamed-ali.sfaxi@...> wrote:

Hi All,

I have a strange problem with code coverage. In fact, with Sonar version 1.10.1, the code coverage was about 100% and now it is 0.0% after installing Sonar version 1.11.1

Does anyone have an idea about this issue ?

Thanks in advance for your help

Regards

Dali

 



Re: sonar.rules.extensionsPath uses like jdbc drivers?

by Freddy Mallet :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Jim,

You're right, this "sonar.rules.extensionsPath" property is only used to load custom PMD and/or Checkstyle rules. I've updated the wiki page.

Thanks
Freddy



On Tue, Oct 20, 2009 at 3:54 PM, Jim Sellers <jim.sellers@...> wrote:
Hello.

I'm trying to understand the correct usage of the sonar.rules.extensionsPath property [1].

In the extensions directory that comes with sonar, it has jdbc-driver, plugins, and rules directories.  However, the wiki doc's only talk about subdirectories like pmd and checkstyle, which I can only find under the "rules" subdirectory.

I had assumed that I could set this property and have sonar pick up my jdbc driver as well.  Is this property *only* for custom rules?

If so, maybe the example in the wiki should be changed to to /user/home/jdoe/sonar/extensions/rules or /user/home/jdoe/sonar/extensions-rules.

Thanks for your time,
Jim


[1] http://docs.codehaus.org/display/SONAR/Advanced+parameters#Advancedparameters-Settingabsolutepathforextensions


RE: coverage 0.0% after upgrading to 1.11.1

by Mohamed-Ali Sfaxi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Hi Freddy,

I executed “mvn cobertura:cobertura” and the result is N/A !! very strange

Regards,

Dali

 

-------------------------------------------------

Coverage Report - All Packages

 

Package               # Classes             Line Coverage   Branch Coverage             Complexity

All Packages       19             N/ A    N/A  N/A           

-----------------------------------------

 

 

From: Freddy Mallet [mailto:freddy.mallet@...]
Sent: mercredi 21 octobre 2009 14:46
To: user@...
Subject: Re: [sonar-user] coverage 0.0% after upgrading to 1.11.1

 

Hi Dali,

Could you launch the "mvn cobertura:cobertura" command and open the file target/site/cobertura/index.html to see what you get ? There isn't currently any open issue on that subject.

regards,

Freddy

On Tue, Oct 20, 2009 at 4:15 PM, Mohamed-Ali Sfaxi <mohamed-ali.sfaxi@...> wrote:

Hi All,

I have a strange problem with code coverage. In fact, with Sonar version 1.10.1, the code coverage was about 100% and now it is 0.0% after installing Sonar version 1.11.1

Does anyone have an idea about this issue ?

Thanks in advance for your help

Regards

Dali

 

 


Re: coverage 0.0% after upgrading to 1.11.1

by Freddy Mallet :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Could you send the Maven log generated when executing mvn cobertura:cobertura ?
Thanks
Freddy

On Wed, Oct 21, 2009 at 3:19 PM, Mohamed-Ali Sfaxi <mohamed-ali.sfaxi@...> wrote:

Hi Freddy,

I executed “mvn cobertura:cobertura” and the result is N/A !! very strange

Regards,

Dali

 

-------------------------------------------------

Coverage Report - All Packages

 

Package               # Classes             Line Coverage   Branch Coverage             Complexity

All Packages       19             N/ A    N/A  N/A           

-----------------------------------------

 

 

From: Freddy Mallet [mailto:freddy.mallet@...]
Sent: mercredi 21 octobre 2009 14:46
To: user@...
Subject: Re: [sonar-user] coverage 0.0% after upgrading to 1.11.1

 

Hi Dali,

Could you launch the "mvn cobertura:cobertura" command and open the file target/site/cobertura/index.html to see what you get ? There isn't currently any open issue on that subject.

regards,

Freddy

On Tue, Oct 20, 2009 at 4:15 PM, Mohamed-Ali Sfaxi <mohamed-ali.sfaxi@...> wrote:

Hi All,

I have a strange problem with code coverage. In fact, with Sonar version 1.10.1, the code coverage was about 100% and now it is 0.0% after installing Sonar version 1.11.1

Does anyone have an idea about this issue ?

Thanks in advance for your help

Regards

Dali