[JIRA] Created: (LBCLASSIC-168) for OSGi make javax.* imports optional to support using logback-classic without requiring javax.servlet and other jars to be present

for OSGi make javax.* imports optional to support using logback-classic without requiring javax.servlet and other jars to be present ------------------------------------------------------------------------------------------------------------------------------------ Key: LBCLASSIC-168 URL: http://jira.qos.ch/browse/LBCLASSIC-168 Project: logback-classic Issue Type: Improvement Components: Other Affects Versions: 0.917 Reporter: Hugues Malphettes Assignee: Logback dev list This improvement is related to http://jira.qos.ch/browse/LBCLASSIC-165 When prototyping some OSGi tweaks to slf4j I discovered that logback-classic once patched with LBCLASSIC-165 requires a couple of bundles that should be optional These bundles are present when executing jetty-osgi but not in a minimal environment. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira

[ http://jira.qos.ch/browse/LBCLASSIC-168?page=com.atlassian.jira.plugin.syste... ] Hugues Malphettes updated LBCLASSIC-168: ---------------------------------------- Attachment: LBCLASSIC-Minimum-dependencies.patch This patch will generate a manifest where logback-classic is correctly executed in an osgi framework where only slf4j-api and logback-core are present.
for OSGi make javax.* imports optional to support using logback-classic without requiring javax.servlet and other jars to be present ------------------------------------------------------------------------------------------------------------------------------------
Key: LBCLASSIC-168 URL: http://jira.qos.ch/browse/LBCLASSIC-168 Project: logback-classic Issue Type: Improvement Components: Other Affects Versions: 0.917 Reporter: Hugues Malphettes Assignee: Logback dev list Attachments: LBCLASSIC-Minimum-dependencies.patch
This improvement is related to http://jira.qos.ch/browse/LBCLASSIC-165 When prototyping some OSGi tweaks to slf4j I discovered that logback-classic once patched with LBCLASSIC-165 requires a couple of bundles that should be optional These bundles are present when executing jetty-osgi but not in a minimal environment.
-- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira

[ http://jira.qos.ch/browse/LBCLASSIC-168?page=com.atlassian.jira.plugin.syste... ] Hugues Malphettes updated LBCLASSIC-168: ---------------------------------------- Attachment: (was: LBCLASSIC-Minimum-dependencies.patch)
for OSGi make javax.* imports optional to support using logback-classic without requiring javax.servlet and other jars to be present ------------------------------------------------------------------------------------------------------------------------------------
Key: LBCLASSIC-168 URL: http://jira.qos.ch/browse/LBCLASSIC-168 Project: logback-classic Issue Type: Improvement Components: Other Affects Versions: 0.917 Reporter: Hugues Malphettes Assignee: Ceki Gulcu
This improvement is related to http://jira.qos.ch/browse/LBCLASSIC-165 When prototyping some OSGi tweaks to slf4j I discovered that logback-classic once patched with LBCLASSIC-165 requires a couple of bundles that should be optional These bundles are present when executing jetty-osgi but not in a minimal environment.
-- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira

[ http://jira.qos.ch/browse/LBCLASSIC-168?page=com.atlassian.jira.plugin.syste... ] Hugues Malphettes updated LBCLASSIC-168: ---------------------------------------- Attachment: LBCLASSIC-168-javax-optional.patch The latter attachment is inspired from the pom.xml of logback-core. It is a lot simpler and will catch more optional packages. I have built it and checked that it works fine for jetty-osgi and the simple slf4j experiment here: http://github.com/hmalphettes/slf4j/tree/osgi-binder
for OSGi make javax.* imports optional to support using logback-classic without requiring javax.servlet and other jars to be present ------------------------------------------------------------------------------------------------------------------------------------
Key: LBCLASSIC-168 URL: http://jira.qos.ch/browse/LBCLASSIC-168 Project: logback-classic Issue Type: Improvement Components: Other Affects Versions: 0.917 Reporter: Hugues Malphettes Assignee: Ceki Gulcu Attachments: LBCLASSIC-168-javax-optional.patch
This improvement is related to http://jira.qos.ch/browse/LBCLASSIC-165 When prototyping some OSGi tweaks to slf4j I discovered that logback-classic once patched with LBCLASSIC-165 requires a couple of bundles that should be optional These bundles are present when executing jetty-osgi but not in a minimal environment.
-- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira

[ http://jira.qos.ch/browse/LBCLASSIC-168?page=com.atlassian.jira.plugin.syste... ] Hugues Malphettes commented on LBCLASSIC-168: --------------------------------------------- I apologize this is a duplicate of LBCLASSIC-121. LBCLASSIC-168 comes with a patch that is a bit simpler than the suggested resolution.
for OSGi make javax.* imports optional to support using logback-classic without requiring javax.servlet and other jars to be present ------------------------------------------------------------------------------------------------------------------------------------
Key: LBCLASSIC-168 URL: http://jira.qos.ch/browse/LBCLASSIC-168 Project: logback-classic Issue Type: Improvement Components: Other Affects Versions: 0.917 Reporter: Hugues Malphettes Assignee: Ceki Gulcu Attachments: LBCLASSIC-168-javax-optional.patch
This improvement is related to http://jira.qos.ch/browse/LBCLASSIC-165 When prototyping some OSGi tweaks to slf4j I discovered that logback-classic once patched with LBCLASSIC-165 requires a couple of bundles that should be optional These bundles are present when executing jetty-osgi but not in a minimal environment.
-- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira

[ http://jira.qos.ch/browse/LBCLASSIC-168?page=com.atlassian.jira.plugin.syste... ] Ceki Gulcu resolved LBCLASSIC-168. ---------------------------------- Fix Version/s: 0.9.18 Resolution: Duplicate Duplicate of LBCLASSIC-121
for OSGi make javax.* imports optional to support using logback-classic without requiring javax.servlet and other jars to be present ------------------------------------------------------------------------------------------------------------------------------------
Key: LBCLASSIC-168 URL: http://jira.qos.ch/browse/LBCLASSIC-168 Project: logback-classic Issue Type: Improvement Components: Other Affects Versions: 0.917 Reporter: Hugues Malphettes Assignee: Ceki Gulcu Fix For: 0.9.18
Attachments: LBCLASSIC-168-javax-optional.patch
This improvement is related to http://jira.qos.ch/browse/LBCLASSIC-165 When prototyping some OSGi tweaks to slf4j I discovered that logback-classic once patched with LBCLASSIC-165 requires a couple of bundles that should be optional These bundles are present when executing jetty-osgi but not in a minimal environment.
-- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
participants (2)
-
Ceki Gulcu (JIRA)
-
Hugues Malphettes (JIRA)