Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 335784

Summary: please import package log4j instead of required bundle (org.apache.zookeeper)
Product: [RT] ECF Reporter: ekkehard gentz <ekke>
Component: ecf.providersAssignee: ecf.core-inbox <ecf.core-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: slewis, wim.jongman
Version: 3.4.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description ekkehard gentz CLA 2011-01-30 06:46:30 EST
the plugin org.apache.zookeeper provided by ECF has a dependency to log4j.

unfortunately this is a required bundle - dependency.

using logging its usual to have different providers, per ex. SLF4J -
but this won't work if there's a required bundle 

please change the dependency to importPackage org.apache.log4j

thx

ekke
Comment 1 Scott Lewis CLA 2011-01-30 11:36:44 EST
Marking of duplicate of existing bug 335237

*** This bug has been marked as a duplicate of bug 335237 ***
Comment 2 Wim Jongman CLA 2011-01-30 12:35:48 EST
Ekke: would import package org.apache.log4j be enough? No other packages required to be imported? I wonder if we could make this an optional dependency. Let me ask the zookeeper guys what happens if there is no log4j available. This would also solve 335237.
Comment 3 ekkehard gentz CLA 2011-01-30 12:46:42 EST
(In reply to comment #2)
> Ekke: would import package org.apache.log4j be enough? No other packages
> required to be imported? I wonder if we could make this an optional dependency.
> Let me ask the zookeeper guys what happens if there is no log4j available. This
> would also solve 335237.

org.apache log4j should be enough

per ex. you can use SLF4J where the bundle Log4JOverSLF4J then provides org.apache.log4j