Bläddra i källkod

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

tags/2.5-rc1
Fabrice Bellingard 12 år sedan
förälder
incheckning
2bed1e46d1
2 ändrade filer med 23 tillägg och 0 borttagningar
  1. 5
    0
      pom.xml
  2. 18
    0
      src/main/assembly/bin/sonar-runner.bat

+ 5
- 0
pom.xml Visa fil

<name>Simon Brandhof</name> <name>Simon Brandhof</name>
<timezone>+1</timezone> <timezone>+1</timezone>
</developer> </developer>
<developer>
<id>fabemn</id>
<name>Fabrice Bellingard</name>
<timezone>+1</timezone>
</developer>
</developers> </developers>


<scm> <scm>

+ 18
- 0
src/main/assembly/bin/sonar-runner.bat Visa fil



@echo off @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 if NOT "%SONAR_RUNNER_HOME%"=="" goto run
set SONAR_RUNNER_HOME=%~dp0.. set SONAR_RUNNER_HOME=%~dp0..



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


set PROJECT_HOME=%CD% 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 %* "%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

Laddar…
Avbryt
Spara