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

Bug 367092

Summary: Dependency to httpclient not an interval
Product: z_Archived Reporter: Jens Kuebler <kuebler>
Component: MylynAssignee: Steffen Pingel <steffen.pingel>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.6   
Target Milestone: 3.7   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
mylyn/context/zip none

Description Jens Kuebler CLA 2011-12-19 11:00:01 EST
In org.eclipse.mylyn.commons.net
the dependency
org.apache.commons.httpclient;bundle-version="3.1.0";visibility:=reexport,
should be
org.apache.commons.httpclient;bundle-version="[3.1.0,4.0.0)";visibility:=reexport,
as the API is incompatible.

My setup contains both libraries and mylyn pics 4.0.3 and fails to load the class.
Comment 1 Steffen Pingel CLA 2011-12-19 11:23:11 EST
Can you clarify what you mean by both versions? The namespace changed to org.apache.httpcomponents.httpclient in version 4 and hence the unbounded version constraint shouldn't cause a problem.
Comment 2 Jens Kuebler CLA 2011-12-19 11:47:09 EST
It seems like our 4.0.3 plugin was created by hand and does not reflect the renaming. I think we have to rework that one. Thanks for the hint.
Comment 3 Steffen Pingel CLA 2011-12-19 16:03:01 EST
Thanks for clarifying. I'll look into making the suggested changes either way to avoid potential conflicts with other bundles that may use the same name.
Comment 4 Steffen Pingel CLA 2011-12-24 04:57:17 EST
Committed 985b7edd53996894d750e1d31a92d64a3a34d711 which constraints the dependency to in o.e.m.commons.net and o.e.m.commons.soap to org.apache.commons.httpclient;bundle-version="[3.1.0,4.0.0)".
Comment 5 Steffen Pingel CLA 2011-12-24 04:57:19 EST
Created attachment 208795 [details]
mylyn/context/zip