Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 367407 - Require-Bundle "org.ibm.icu" should use "Import-Package" instead…
Summary: Require-Bundle "org.ibm.icu" should use "Import-Package" instead…
Status: CLOSED FIXED
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Dennis Huebner CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-22 05:42 EST by Alexis Drogoul CLA
Modified: 2012-12-11 04:36 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 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).