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

Bug 367407

Summary: Require-Bundle "org.ibm.icu" should use "Import-Package" instead…
Product: [Modeling] TMF Reporter: Alexis Drogoul <alexis.drogoul>
Component: XtextAssignee: Dennis Huebner <dennis.huebner>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: dennis.huebner, xtend-inbox
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=395967
Whiteboard:

Description Alexis Drogoul CLA 2011-12-22 05:42:23 EST
Build Identifier: 20110916-0149

When using XText to build an IDE in a standalone product, it appears that at least org.eclipse.xtext.ui depends on "org.ibm.icu" with "Require-Bundle", which makes it impossible to put in the product the smaller replacement plugin "org.ibm.icu.base". Would a dependency using "Import-Package" be possible instead ? (as in the various JDT components). 

Reproducible: Always

Steps to Reproduce:
1. Create a standalone RCP application, in which com.ibm.icu is replaced by com.ibm.icu.base (same version). 
2. Launch the application. 
3. It should crash and indicate, in the log, that " required bundle com.ibm.icu_0.0.0." is missing.
Comment 1 Dennis Huebner CLA 2012-12-07 05:38:44 EST
(In reply to comment #0)
> Build Identifier: 20110916-0149
> 
> When using XText to build an IDE in a standalone product, it appears that at
> least org.eclipse.xtext.ui depends on "org.ibm.icu" with "Require-Bundle",
> which makes it impossible to put in the product the smaller replacement
> plugin "org.ibm.icu.base". Would a dependency using "Import-Package" be
> possible instead ? (as in the various JDT components). 
> 
> Reproducible: Always
> 
> Steps to Reproduce:
> 1. Create a standalone RCP application, in which com.ibm.icu is replaced by
> com.ibm.icu.base (same version). 
> 2. Launch the application. 
> 3. It should crash and indicate, in the log, that " required bundle
> com.ibm.icu_0.0.0." is missing.

We will change it where possible. We can't change it where the require bundle entry is reexported.
Comment 2 Dennis Huebner CLA 2012-12-11 04:36:17 EST
Bundle requirements were changed to package imports (where possible).