Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: SONAR-RUNNER-1.4
-
Component/s: Sonar Runner
-
Labels:None
-
Environment:Windows
-
Number of attachments :
Description
If java.exe is found in the path it is not quoted and so fails when it comes time to run.
As java installed to "c:\program files\..." by default, I can see this affecting the majority of windows users.
Attached patch for this issue, which quotes JAVA_EXEC if it's found in the path.
Patch affects:
http://svn.codehaus.org/sonar-plugins/trunk/sonar-runner/src/main/assembly/bin/sonar-runner.bat