You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

sonar-runner 628B

12345678910111213141516171819202122232425
  1. #!/bin/sh
  2. #
  3. # Sonar Runner Startup Script for Unix
  4. #
  5. if [ -z "$SONAR_RUNNER_HOME" ] ; then
  6. PRG="$0"
  7. SONAR_RUNNER_HOME=`dirname "$PRG"`/..
  8. # make it fully qualified
  9. SONAR_RUNNER_HOME=`cd "$SONAR_RUNNER_HOME" && pwd`
  10. fi
  11. JAVA_CMD="`which java`"
  12. JAVA_CLASSPATH="${SONAR_RUNNER_HOME}"/lib/sonar-runner.jar:"${SONAR_RUNNER_HOME}"/lib/sonar-batch-bootstrapper.jar
  13. #echo "Info: Using sonar-runner at $SONAR_RUNNER_HOME"
  14. #echo "Info: Using java at $JAVACMD"
  15. #echo "Info: Using classpath $JAVACLASSPATH"
  16. exec "$JAVA_CMD" \
  17. -classpath $JAVA_CLASSPATH \
  18. "-Drunner.home=${SONAR_RUNNER_HOME}" \
  19. org.sonar.runner.Main "$@"