Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 335784 - please import package log4j instead of required bundle (org.apache.zookeeper)
Summary: please import package log4j instead of required bundle (org.apache.zookeeper)
Status: CLOSED DUPLICATE of bug 335237
Alias: None
Product: ECF
Classification: RT
Component: ecf.providers (show other bugs)
Version: 3.4.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: ecf.core-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-30 06:46 EST by ekkehard gentz CLA
Modified: 2011-01-30 12:46 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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