Browse Source

SONARPLUGINS-1617 Support the properties sonar.showSql and sonar.showSqlResults

tags/2.5-rc1
Fabrice Bellingard 12 years ago
parent
commit
2bed1e46d1
2 changed files with 23 additions and 0 deletions
  1. 5
    0
      pom.xml
  2. 18
    0
      src/main/assembly/bin/sonar-runner.bat

+ 5
- 0
pom.xml View File

@@ -36,6 +36,11 @@
<name>Simon Brandhof</name>
<timezone>+1</timezone>
</developer>
<developer>
<id>fabemn</id>
<name>Fabrice Bellingard</name>
<timezone>+1</timezone>
</developer>
</developers>

<scm>

+ 18
- 0
src/main/assembly/bin/sonar-runner.bat View File

@@ -9,12 +9,30 @@

@echo off


@REM ==== START VALIDATION ====
if not "%JAVA_HOME%" == "" goto OkJavaHome

echo.
echo ERROR: JAVA_HOME not found in your environment.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation
echo.
goto end

:OkJavaHome
if NOT "%SONAR_RUNNER_HOME%"=="" goto run
set SONAR_RUNNER_HOME=%~dp0..


@REM ==== START RUN ====
:run
echo %SONAR_RUNNER_HOME%

set PROJECT_HOME=%CD%

"%JAVA_HOME%\bin\java.exe" %SONAR_RUNNER_OPTS% -classpath "%SONAR_RUNNER_HOME%\lib\sonar-runner.jar";"%SONAR_RUNNER_HOME%\lib\sonar-batch-bootstrapper.jar" "-Drunner.home=%SONAR_RUNNER_HOME%" "-Dproject.home=%PROJECT_HOME%" org.sonar.runner.Main %*


@REM ==== END EXECUTION ====
:end

Loading…
Cancel
Save