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

Bug 286609

Summary: [m4.0] Use Import-Package instead of Require-Bundle for apache logging
Product: z_Archived Reporter: Flavio Donze <flavio.donze>
Component: MylynAssignee: Project Inbox <mylyn-triaged>
Status: CLOSED WONTFIX QA Contact:
Severity: minor    
Priority: P3 CC: akurtakov, steffen.pingel
Version: 3.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on:    
Bug Blocks: 355941    
Attachments:
Description Flags
mylyn/context/zip none

Description Flavio Donze CLA 2009-08-14 05:35:59 EDT
I'm using mylyn in my client application. 
To keep control over the different logging frameworks, I'm using Logback (http://logback.qos.ch/).
The package "org.apache.commons.logging" is provided by a plug-in called "com.springsource.slf4j.org.apache.commons.logging" and not the usual "org.apache.commons.logging".

The two mylyn plug-ins "org.eclipse.mylyn.tasks.ui" and "org.eclipse.mylyn.commons.net" have a dependency on the "org.apache.commons.logging" plug-in.
To be more flexible, mylyn should import the package/packages instead of having a dependency on the "org.apache.commons.logging" plug-in.
Comment 1 Steffen Pingel CLA 2009-08-14 13:23:00 EDT
Makes sense, org.apache.commons.httpclient uses Import Package as well.
Comment 2 Steffen Pingel CLA 2009-09-16 21:45:29 EDT
Turns out that org.eclipse.mylyn.commons.net re-exports it's dependencies. Unfortunately that prevents a change from require bundle to import package without breaking API. I'm afraid this request will have to wait until Mylyn 4.0.
Comment 3 Steffen Pingel CLA 2009-09-16 21:46:00 EDT
Created attachment 147394 [details]
mylyn/context/zip
Comment 4 Flavio Donze CLA 2010-06-02 08:16:34 EDT
Just updated my Launch Configuration and noticed that I could remove the "org.apache.commons.logging" plug-in.

So this issue is closed?
Comment 5 Steffen Pingel CLA 2010-06-02 14:17:36 EDT
The Mylyn manifests have not changed in that regard.
Comment 6 Steffen Pingel CLA 2010-07-09 00:18:18 EDT
*** Bug 304499 has been marked as a duplicate of this bug. ***
Comment 7 Alexander Kurtakov CLA 2021-12-16 11:03:43 EST
After 10 years it's safe to close as wontfix.