From b2e86f648cc4d62e42d788ee80ecefc3500028ed Mon Sep 17 00:00:00 2001 From: Duarte Meneses Date: Tue, 9 Jun 2015 10:35:05 +0200 Subject: [PATCH] SONARUNNER-132 Add support for offline mode --- .../src/main/java/org/sonar/runner/impl/BatchLauncher.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sonar-runner-impl/src/main/java/org/sonar/runner/impl/BatchLauncher.java b/sonar-runner-impl/src/main/java/org/sonar/runner/impl/BatchLauncher.java index eebb592..edc057a 100644 --- a/sonar-runner-impl/src/main/java/org/sonar/runner/impl/BatchLauncher.java +++ b/sonar-runner-impl/src/main/java/org/sonar/runner/impl/BatchLauncher.java @@ -56,7 +56,7 @@ public class BatchLauncher { private static PersistentCache getCache(Properties props) { PersistentCacheBuilder builder = new PersistentCacheBuilder(); - if ("true".equals(props.getProperty("sonar.forceUpdate"))) { + if (!"true".equals(props.getProperty("sonar.enableHttpCache"))) { builder.forceUpdate(true); } -- 2.39.5