aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEvgeny Mandrikov <mandrikov@gmail.com>2011-12-19 16:10:06 +0000
committerEvgeny Mandrikov <mandrikov@gmail.com>2011-12-19 16:10:06 +0000
commite95b8201821b4876528c4f9dbfd7d1229cb68d84 (patch)
tree3c7365795ed9bc5b5cbf8a93f1ef87586f3f0ad7 /src
parentb4cb37fbc1f87df0947d4af3cc59b92b5d3db3bf (diff)
downloadsonar-scanner-cli-e95b8201821b4876528c4f9dbfd7d1229cb68d84.tar.gz
sonar-scanner-cli-e95b8201821b4876528c4f9dbfd7d1229cb68d84.zip
SONARPLUGINS-1343 When launching runner, information about OS should be printed
Diffstat (limited to 'src')
-rw-r--r--src/main/java/org/sonar/runner/Main.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/org/sonar/runner/Main.java b/src/main/java/org/sonar/runner/Main.java
index 3de89f2..4a4cef4 100644
--- a/src/main/java/org/sonar/runner/Main.java
+++ b/src/main/java/org/sonar/runner/Main.java
@@ -51,6 +51,7 @@ public final class Main {
log("Runner version: " + runner.getRunnerVersion());
log("Java version: " + System.getProperty("java.version", "<unknown java version>")
+ ", vendor: " + System.getProperty("java.vendor", "<unknown vendor>"));
+ log("OS name: \"" + System.getProperty("os.name") + "\", version: \"" + System.getProperty("os.version") + "\", arch: \"" + System.getProperty("os.arch") + "\"");
log("Server: " + runner.getServerURL());
log("Work directory: " + runner.getWorkDir().getCanonicalPath());
runner.execute();