Could I ask one question about the 'sonar.libraries' on this page ? http://docs.sonarqube.org/display/PLUG/Java+Plugin+and+Bytecode There is a description of the effect that wild card is available. However,error occurs when we analyze some sources by using the following settings. I'd like to use a wild card without an error. Incidentally, my server is to use only JDK6, you must use the following version. SonarQube 4.5.2 Java 2.4 <Jar file storage location> /mnt/vol03/jenkins/jobs/myjob/branches/develop/workspace/projectname/ <Property settings> sonar.libraries=cache/**/*.jar <error logs> ------------------------------------------------------------------------------------- ERROR: Error during Sonar runner execution org.sonar.runner.impl.RunnerException: Unable to execute Sonar at org.sonar.runner.impl.BatchLauncher$1.delegateExecution(BatchLauncher.java:91) at org.sonar.runner.impl.BatchLauncher$1.run(BatchLauncher.java:75) at java.security.AccessController.doPrivileged(Native Method) at org.sonar.runner.impl.BatchLauncher.doExecute(BatchLauncher.java:69) at org.sonar.runner.impl.BatchLauncher.execute(BatchLauncher.java:50) at org.sonar.runner.api.EmbeddedRunner.doExecute(EmbeddedRunner.java:102) at org.sonar.runner.api.Runner.execute(Runner.java:100) at org.sonar.runner.Main.executeTask(Main.java:70) at org.sonar.runner.Main.execute(Main.java:59) at org.sonar.runner.Main.main(Main.java:53) Caused by: java.lang.IllegalStateException: No files nor directories matching 'cache/**/*.jar' in directory /mnt/vol03/jenkins/jobs/myjob/branches/develop/workspace/projectname at org.sonar.batch.scan.ProjectReactorBuilder.validateDirectories(ProjectReactorBuilder.java:302) at org.sonar.batch.scan.ProjectReactorBuilder.loadChildProject(ProjectReactorBuilder.java:217) at org.sonar.batch.scan.ProjectReactorBuilder.defineChildren(ProjectReactorBuilder.java:192) at org.sonar.batch.scan.ProjectReactorBuilder.execute(ProjectReactorBuilder.java:116) at org.sonar.batch.scan.ProjectScanContainer.projectBootstrap(ProjectScanContainer.java:120) at org.sonar.batch.scan.ProjectScanContainer.doBeforeStart(ProjectScanContainer.java:98) at org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:91) at org.sonar.api.platform.ComponentContainer.execute(ComponentContainer.java:78) at org.sonar.batch.scan.ScanTask.scan(ScanTask.java:64) at org.sonar.batch.scan.ScanTask.execute(ScanTask.java:51) at org.sonar.batch.bootstrap.TaskContainer.doAfterStart(TaskContainer.java:125) at org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:93) at org.sonar.api.platform.ComponentContainer.execute(ComponentContainer.java:78) at org.sonar.batch.bootstrap.BootstrapContainer.executeTask(BootstrapContainer.java:173) at org.sonar.batch.bootstrapper.Batch.executeTask(Batch.java:95) at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:67) at org.sonar.runner.batch.IsolatedLauncher.execute(IsolatedLauncher.java:48) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.sonar.runner.impl.BatchLauncher$1.delegateExecution(BatchLauncher.java:87) ... 9 more -------------------------------------------------------------------------------------
--
You received this message because you are subscribed to the Google Groups "SonarQube" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarqube+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/742ab4d8-949b-45f0-acb3-b06e43ea39d0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<Jar file storage location>
/mnt/vol03/jenkins/jobs/myjob/branches/develop/workspace/projectname/
This it was wrong
<Jar file storage location>
/mnt/vol03/jenkins/jobs/myjob/branches/develop/workspace/projectname/cache/jarname1/jarname1.jar
/mnt/vol03/jenkins/jobs/myjob/branches/develop/workspace/projectname/cache/jarname2/jarname2.jar
/mnt/vol03/jenkins/jobs/myjob/branches/develop/workspace/projectname/cache/jarname3/jarname3.jar
I've tried '**/cache/**/*.jar'.
However, the result was the same.
Also, I'd like to know the impact of this problem.
Specifically, do you have affect in which rules?
--
You received this message because you are subscribed to the Google Groups "SonarQube" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarqube+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/991f0cf6-64ce-4389-9df1-f1c2d2bc2fa0%40googlegroups.com.