You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@karaf.apache.org by fp...@apache.org on 2020/10/21 15:14:38 UTC

[karaf-winegrower] branch master updated: make winegrower.framework.lazyInstall.skip configurable

This is an automated email from the ASF dual-hosted git repository.

fpapon pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/karaf-winegrower.git


The following commit(s) were added to refs/heads/master by this push:
     new 92857c6  make winegrower.framework.lazyInstall.skip configurable
     new 722acb1  Merge pull request #18 from rmannibucau/rmannibucau/make-winegrower.framework.lazyInstall.skip-configurable
92857c6 is described below

commit 92857c626c30d325f3ac14bd1fb0c00e5496e9b8
Author: Romain Manni-Bucau <rm...@gmail.com>
AuthorDate: Wed Oct 21 14:36:31 2020 +0200

    make winegrower.framework.lazyInstall.skip configurable
---
 .../main/java/org/apache/winegrower/framework/WinegrowerFramework.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/winegrower-core/src/main/java/org/apache/winegrower/framework/WinegrowerFramework.java b/winegrower-core/src/main/java/org/apache/winegrower/framework/WinegrowerFramework.java
index 32a2279..63c9015 100644
--- a/winegrower-core/src/main/java/org/apache/winegrower/framework/WinegrowerFramework.java
+++ b/winegrower-core/src/main/java/org/apache/winegrower/framework/WinegrowerFramework.java
@@ -59,7 +59,7 @@ public class WinegrowerFramework implements Framework {
     private BundleImpl frameworkBundle;
 
     public WinegrowerFramework() {
-        configuration.setLazyInstall(true);
+        configuration.setLazyInstall(!Boolean.getBoolean("winegrower.framework.lazyInstall.skip"));
     }
 
     public void setConfiguration(final Ripener.Configuration configuration) {