where do i find sonar's exclusion settings? - configuration

I've upgraded from sonar 2.12 to sonar 4.5.2 all seems well, except the exclusions list which i can't remember.
so I've been trying to see where it kept them (not in sonar.properties), is it in the database? a separate file?

Please check the official SonarQube documentation on how to manage exclusions.

Related

Sonar complains that a project is already defined in SonarQube but not as a module of project

After upgrading from SonarQube 5.1.2 to SonarQube 5.6, we started facing the below issue.
ERROR [o.s.s.c.t.CeWorkerCallableImpl] Failed to execute task AVX_lJ9fzEKnCGDDOpXH
org.sonar.api.utils.MessageException: Validation of project failed:
The project 'X' is already defined in SonarQube but not as a module of project "Y". If you really want to stop directly analysing project "X", please first delete it from SonarQube and then relaunch the analysis of project "Y".
We haven't done any changes or refactored our code apart from upgrading. please let us know how to fix the issue.
Sharieff,
I had faced a similar situation in my project. For me it was the sonar.skippedModules property which was still mentioned in my pom.xml. Since this property is no more supported since SonarQube 5.5, SonarQube may have problems analyzing the modules as they already would have entries in the database.
Hope this helps.
Regards,
Anantha

Which mysql driver will suport ejabberd 2.1.13 perfectly?

I want to configure Ejabberd with Mysql. I have seen many mysql drivers available in different sites. I don't know which will work fine with ejabberd 2.1.13.
I am using drivers from the link -
https://github.com/dizzyd/erlang-mysql-driver
And these are not working fine.
Use https://svn.process-one.net/ejabberd-modules/mysql/trunk/
This is a deprecated repository, but will work with 2.1.x.

How to use MySQL in a C# / XAML project

I've been searching around the web trying to find out how to use MySQL in a XAML project.
I've seen a bunch of examples where functions like MySqlConnection(...) are used and so forth, but none of them mentions if a specific assembly is necessary or if it's something you need to download first - like a dll.
Something like that is needed since it doesn't work straight away.
Anyone knows that?
You have to download and install MySql .Net Connector. Tool provided by MySql to connect with .net. This will have the assemblies used to connect .Net Applications to MySql.

Use Glassfish embedded with MySQL

Well, the title says almost everything, how can I define a jdbc-connection in an embedded glassfish to be able to use a MySQL database as a jdbc resource??
Thanks for your replies!
I got it working, it was simpler than I thought!
I've used a jdbc I had configured with an installed glassfish and copied the configuration from domain.xml.
For the embedded glassfish to be able to use MySql driver, I just put the dependency in maven...

COCOA Objective-c : How can connect to mysql database?

I am creating application for MAC using cocoa framework, I would like to know how and what are the ways i can connect to MySql database using cocoa framework.
You might want to look into http://www.sequelpro.com/docs/Source_Code. They seem to have resurrected the original MySQL-Cocoa code and it seems to be under active development. The other option is the commercial MacSQL Framework.
Edit: You might also want to look at the following tutorial. It is a great introduction in using the libmysqlclient and even provides a sample Xcode project.
Short answer: You can't, at least not directly.
The Cocoa Framework doesn't have a database driver, generic or otherwise (CoreData notwithstanding). In order to connect to a mysql database you need to use the aptly named libmysqlclient. This library is not included with Xcode, and as such will have to be downloaded (and probably built) separately: You can get it from here.
You'll probably have to distribute the library with your application, license issues might result.
Edit: It seems as if a library for connecting to the mysql database should be installed together with a MySQL server install. If the application will only need to run on machines where MySQL is installed, you might get away with linking to this.