From: Mark Rekveld Date: Mon, 28 Sep 2020 06:55:34 +0000 (+0200) Subject: SQSCANNER-70 - Updated script comments (#91) X-Git-Tag: 4.5.0.2216~3 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=22b155a580d6ac9d09e15259afd92e4e853c7799;p=sonar-scanner-cli.git SQSCANNER-70 - Updated script comments (#91) --- diff --git a/src/main/assembly/bin/sonar-scanner b/src/main/assembly/bin/sonar-scanner index 56f0ce5..2d2c2cc 100755 --- a/src/main/assembly/bin/sonar-scanner +++ b/src/main/assembly/bin/sonar-scanner @@ -2,10 +2,12 @@ # # SonarScanner Startup Script for Unix # +# Required ENV vars: +# JAVA_HOME - Location of Java's installation, optional if use_embedded_jre is set +# # Optional ENV vars: # SONAR_SCANNER_OPTS - Parameters passed to the Java VM when running the SonarScanner # SONAR_SCANNER_DEBUG_OPTS - Extra parameters passed to the Java VM for debugging -# JAVA_HOME - Location of Java's installation real_path () { target=$1 diff --git a/src/main/assembly/bin/sonar-scanner-debug b/src/main/assembly/bin/sonar-scanner-debug index 750f813..dd45ab0 100755 --- a/src/main/assembly/bin/sonar-scanner-debug +++ b/src/main/assembly/bin/sonar-scanner-debug @@ -2,9 +2,11 @@ # # SonarScanner Startup Script for Unix # +# Required ENV vars: +# JAVA_HOME - Location of Java's installation, optional if use_embedded_jre is set +# # Optional ENV vars: # SONAR_SCANNER_OPTS - parameters passed to the Java VM when running the SonarScanner -# JAVA_HOME - Location of Java's installation SONAR_SCANNER_DEBUG_OPTS="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000" diff --git a/src/main/assembly/bin/sonar-scanner-debug.bat b/src/main/assembly/bin/sonar-scanner-debug.bat index aea4d97..3021c01 100644 --- a/src/main/assembly/bin/sonar-scanner-debug.bat +++ b/src/main/assembly/bin/sonar-scanner-debug.bat @@ -1,7 +1,7 @@ @REM SonarScanner Startup Script for Windows @REM @REM Required ENV vars: -@REM JAVA_HOME - location of a JDK home dir +@REM JAVA_HOME - Location of Java's installation, optional if use_embedded_jre is set @REM @REM Optional ENV vars: @REM SONAR_SCANNER_OPTS - parameters passed to the Java VM when running the SonarScanner diff --git a/src/main/assembly/bin/sonar-scanner.bat b/src/main/assembly/bin/sonar-scanner.bat index 4ee9e55..fdfbfd9 100644 --- a/src/main/assembly/bin/sonar-scanner.bat +++ b/src/main/assembly/bin/sonar-scanner.bat @@ -1,10 +1,11 @@ @REM SonarScanner Startup Script for Windows @REM @REM Required ENV vars: -@REM JAVA_HOME - location of a JDK home dir +@REM JAVA_HOME - Location of Java's installation, optional if use_embedded_jre is set @REM @REM Optional ENV vars: @REM SONAR_SCANNER_OPTS - parameters passed to the Java VM when running the SonarScanner +@REM SONAR_SCANNER_DEBUG_OPTS - Extra parameters passed to the Java VM for debugging @echo off