I need to run a custom plugin for Ada language with Sonar Cxx on a multi-language project. If I specify a .cpp extension in the sonar.ada.language.suffixes property for the Ada plugin, I’ll get
Language of file 'xxx ' can not be decided as the file matches patterns of both sonar.lang.patterns.c++ : **/*.cxx,**/*.cpp,**/*.cc,**/*.c,**/*.hxx,**/*.hpp,**/*.hh,**/*.h and sonar.lang.patterns.ada : *\ */*.ads,**/*.adb,**/*.cpp,**/*.c
There is a way to use my Ada plugin on some C files also to upload measures and then the Sonar-Cxx plugin run the analysis on the same files and produce issues ?
Can we define some of the plugins as primary and some others as secondary ?
Could you point me to some documentation to know more if this is possible ?
Thanks in advance for your help!