Closed dantemon closed 4 years ago
Hi @dantemon. Can you please check the logs at logs\web.log? Is there any exception there?
Yeah i have the next exception
Thanks @dantemon. Do you have both "sonar-plsql-open-plugin-2.3.0.jar" and your custom plugin (e.g. "plsql-custom-rules-1.0-SNAPSHOT.jar") in the extensions/plugins
directory? It seems you don't have the main plugin (sonar-plsql-open-plugin)...
I just tested here and SonarQube 7.7 developer edition starts correctly with my plugin:
Oh i think i miss the "sonar-plsql-open-plugin-2.3.0.jar" i didnt know i have to put it there, thanks a lot, i have another Question when i use the same code you use on the example i get a different AST, you think this could affect the plugin? or it doesnt matter that much, i hust think its weird this happen
And another Question, it's possible to make both scan the same file extension or i have to forcefully decide which one have to scan it
when i use the same code you use on the example i get a different AST, you think this could affect the plugin?
No, it doesn't. My plugin is completely independent from SonarPLSQL (the commercial offering from SonarSource) and, being so, it doesn't generate the same AST.
it's possible to make both scan the same file extension or i have to forcefully decide which one have to scan it
Unfortunately, SonarQube doesn't allow that two different plugins analyze the same file. For now you'll have to choose between the plugins setting the properties sonar.plsql.file.suffixes
(for SonarPLSQL) or sonar.zpa.file.suffixes
(for ZPA) accordingly.
In the next months I intend to release the zpa-cli to enable this scenario. It'll be possible to analyze the same file with both SonarPLSQL and ZPA without having to install my plugin in the SonarQube server.
Oh i see thanks a lot for your help i appreciate it
when i use the same code you use on the example i get a different AST, you think this could affect the plugin?
No, it doesn't. My plugin is completely independent from SonarPLSQL (the commercial offering from SonarSource) and, being so, it doesn't generate the same AST.
it's possible to make both scan the same file extension or i have to forcefully decide which one have to scan it
Unfortunately, SonarQube doesn't allow that two different plugins analyze the same file. For now you'll have to choose between the plugins setting the properties
sonar.plsql.file.suffixes
(for SonarPLSQL) orsonar.zpa.file.suffixes
(for ZPA) accordingly.In the next months I intend to release the zpa-cli to enable this scenario. It'll be possible to analyze the same file with both SonarPLSQL and ZPA without having to install my plugin in the SonarQube server.
One last question when you think this new feature could be release, do you have some date on mind?
To be honest, I don't have any date in mind. Maybe January 2020.
I see, thanks a lot for all your help
Hi, i have a problem when i add the plugin to the server, i can't start the server and i get this error you have a idea of what could be?