Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OJAudit extension pattern too greedy #8

Open
prikkeldraad opened this issue Sep 14, 2016 · 2 comments
Open

OJAudit extension pattern too greedy #8

prikkeldraad opened this issue Sep 14, 2016 · 2 comments

Comments

@prikkeldraad
Copy link

OJAudit is catching all files with the pattern */.* which is a problem if i run tests on python scripts that have nothing todo with OJAudit. In SonarQube (6.0) it is for all extensions possible to select the file-extension pattern, except for the OJAudit plugin. Please make it selectable and make the default less greedy.

build 14-Sep-2016 14:24:50 DEBUG: Declared extensions of language CSS were converted to sonar.lang.patterns.css : /.css
build 14-Sep-2016 14:24:50 DEBUG: Declared extensions of language OJAudit (JDeveloper auditing framework) were converted to sonar.lang.patterns.ojaudit : *
/.
build 14-Sep-2016 14:24:50 DEBUG: Declared extensions of language Python were converted to sonar.lang.patterns.py : */.py
build 14-Sep-2016 14:24:50 DEBUG: Declared extensions of language JavaScript were converted to sonar.lang.patterns.js : */.js
build 14-Sep-2016 14:24:50 DEBUG: Declared extensions of language Puppet were converted to sonar.lang.patterns.pp : */.pp
build 14-Sep-2016 14:24:50 DEBUG: Declared extensions of language JSP were converted to sonar.lang.patterns.jsp : */.jsp
build 14-Sep-2016 14:24:50 DEBUG: Declared extensions of language Java were converted to sonar.lang.patterns.java : */.java,
/.jav
build 14-Sep-2016 14:24:50 DEBUG: Declared extensions of language Web were converted to sonar.lang.patterns.web : *
/.html,__/.xhtml,/*.rhtml,/.shtml
build 14-Sep-2016 14:24:50 DEBUG: Declared extensions of language XML were converted to sonar.lang.patterns.xml : *
/*.xml

Mick

@cozappz
Copy link

cozappz commented Jan 16, 2020

I'm a newbie on setting ojaudit and sonar and got the worse side of it:
Language of file 'src/main/java/ForkedBambooNotifier.java' can not be decided as the file matches patterns of both sonar.lang.patterns.ojaudit : **/. and sonar.lang.patterns.java : /*.java,/*.jav

@dareyes90
Copy link

Hi, I have the same situation. Im trying to analyze a java project but I got the same issue:
ERROR: Language of file 'src/main/less/responsive.less' can not be decided as the file matches patterns of both sonar.lang.patterns.ojaudit : /. and sonar.lang.patterns.css : /*.css,/*.less,/*.scss
It would be nice to make this configuration available in the Sonar configuration as other languages

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants