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

Bug 178857

Summary: Using require-bundle with multiple versions of bundle causes manifest errors
Product: [Eclipse Project] PDE Reporter: Thomas Watson <tjwatson>
Component: UIAssignee: PDE-UI-Inbox <pde-ui-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 3.3   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Thomas Watson CLA 2007-03-22 14:28:19 EDT
This is related to bug 176289, but Wassim says it is a different problem so here is a new bug report ;-)

Steps to reproduce.
1) Import the project zip from bug 176289 attachment 60222 [details]
2) In the org.eclipse.example.ui bundle replace the Import-Package header with the following Require-Bundle Header:

Require-Bundle: org.eclipse.example.core;bundle-version="[1.0.0,1.1.0)"

3) Save the manifest.

Notice that the PDE classpath got updated correctly to point to org.eclipse.example.core_1.0.0 for both the org.eclipse.example.rcp and org.eclipse.example.ui projects.  But the manifest for org.eclipse.example.ui is showing the following error:

Severity and Description	Path	Resource	Location	Creation Time	Id
Unsatisfied version constraint: 'org.eclipse.example.core: [1.0.0,1.1.0)'	org.eclipse.example.ui/META-INF	MANIFEST.MF	line 9	1174587891171	1
Comment 1 Wassim Melhem CLA 2007-04-09 01:36:00 EDT
Fixed.  same problem as bug 179318

*** This bug has been marked as a duplicate of bug 179318 ***