From 5a98a8235cda61c25d6f5b3b404d1cbe34376cc6 Mon Sep 17 00:00:00 2001 From: Christoph Date: Sun, 2 Feb 2020 22:24:17 +0100 Subject: [PATCH] #28 Update Manifest.MF * replaced Require-Bundle with DynamicImport-Package * to allow janino-fragment see classes in ch.qos.logback.classic (instead of just ch.qos.logback.core): e.g. ch.qos.logback.classic.Level * also added org.slf4j which is also required to be visible and is currently missing * needed in OSGI environments * see https://github.com/qos-ch/logback-contrib/issues/28 for details * this also fixes the change request in https://github.com/qos-ch/logback-contrib/issues/22 --- janino-fragment/src/main/resources/META-INF/MANIFEST.MF | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/janino-fragment/src/main/resources/META-INF/MANIFEST.MF b/janino-fragment/src/main/resources/META-INF/MANIFEST.MF index 14f5c35..63dc016 100755 --- a/janino-fragment/src/main/resources/META-INF/MANIFEST.MF +++ b/janino-fragment/src/main/resources/META-INF/MANIFEST.MF @@ -1,2 +1,3 @@ Fragment-Host: org.codehaus.janino -Require-Bundle: ch.qos.logback.core +DynamicImport-Package: ch.qos.logback.*,\ +org.slf4j