]> source.dussan.org Git - sonar-scanner-cli.git/commitdiff
SONARPLUGINS-2911 Fix DOS script to support Sonar 3.6 tasks
authorFabrice Bellingard <fabrice.bellingard@sonarsource.com>
Thu, 6 Jun 2013 15:10:50 +0000 (17:10 +0200)
committerFabrice Bellingard <fabrice.bellingard@sonarsource.com>
Thu, 6 Jun 2013 15:10:50 +0000 (17:10 +0200)
sonar-runner-dist/src/main/assembly/bin/sonar-runner.bat

index 5fd8fabcd7d3861b8a8ec3fc2310b78ae1bda27f..e3f10ac3dbb073c0d8a7f21d2d39147ae90a373c 100644 (file)
@@ -74,7 +74,7 @@ echo %SONAR_RUNNER_HOME%
 
 set PROJECT_HOME=%CD%
 
-%JAVA_EXEC% %SONAR_RUNNER_OPTS% -jar "%SONAR_RUNNER_HOME%\lib\sonar-runner-dist-${project.version}.jar" "-Drunner.home=%SONAR_RUNNER_HOME%" "-Dproject.home=%PROJECT_HOME%" %*
+%JAVA_EXEC% %SONAR_RUNNER_OPTS% -cp "%SONAR_RUNNER_HOME%\lib\sonar-runner-dist-${project.version}.jar" "-Drunner.home=%SONAR_RUNNER_HOME%" "-Dproject.home=%PROJECT_HOME%" org.sonar.runner.Main %*
 if ERRORLEVEL 1 goto error
 goto end