Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » ICU plugin in 4.3 SR2 breaks compatibility
icon4.gif  ICU plugin in 4.3 SR2 breaks compatibility [message #1271140] Fri, 14 March 2014 10:41 Go to next message
Vlad Dumitrescu is currently offline Vlad Dumitrescu
Messages: 318
Registered: July 2009
Location: Gothenburg
Senior Member
Hi!

I'm not 100% sure this is the right forum and I couldn't find anyone else reporting this.

If I am reading the changes properly, the Kepler SR2 update includes a com.ibm.icu plugin that changed version from 4.4 to 50.1.1. This breaks plugins that were built against older versions and expect ICU version to be in the [4.4.0, 5.0.0) range: they can't be installed in SR2.

Is it just me being confused, or is it a real problem? Shouldn't this upgrade have waited until Luna?

What can we do about it? The only alternative for me is to make available multiple update sites, but it's a lot of work for something that IMHO shouldn't have happened...

best regards,
Vlad

[Updated on: Fri, 14 March 2014 10:55]

Report message to a moderator

Re: ICU plugin in 4.3 SR2 breaks compatibility [message #1271593 is a reply to message #1271140] Sat, 15 March 2014 15:54 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas Schindl
Messages: 5321
Registered: July 2009
Senior Member
File a bug but it is too late for SR2 anyways :-(

Tom

On 14.03.14 03:41, Vlad Dumitrescu wrote:
> Hi!
>
> I'm not 100% sure this is the right forum and I couldn't find anyone
> else reporting this.
>
> If I am reading the changes properly, the Kepler SR2 update includes a
> com.ibm.icu plugin that changed version from 4.4 to 50.1.1. This breaks
> plugins that were built against older versions and expect ICU version to
> be in the [4.4.0, 5.0.0) range: they can't be installed in SR2.
>
> Is it just me being confused, or is it a real problem? Shouldn't this
> upgrade have waited until Luna?
>
> What can we do about it? The only alternative for me is to make
> available multiple update sites, but it's a lot of work for something
> that IMHO shouldn't have happened...
>
> best regards,
> Vlad
>
Re: ICU plugin in 4.3 SR2 breaks compatibility [message #1279720 is a reply to message #1271140] Sat, 29 March 2014 05:42 Go to previous messageGo to next message
David Williams is currently offline David Williams
Messages: 696
Registered: July 2009
Senior Member
On 03/14/2014 06:41 AM, Vlad Dumitrescu wrote:
> Hi!
>
> I'm not 100% sure this is the right forum and I couldn't find anyone
> else reporting this.
>
> If I am reading the changes properly, the Kepler SR2 update includes a
> com.ibm.icu plugin that changed version from 4.4 to 50.1.1. This
> breaks plugins that were built against older versions and expect ICU
> version to be in the [4.4.0, 5.0.0) range: they can't be installed in
> SR2.
>
> Is it just me being confused, or is it a real problem? Shouldn't this
> upgrade have waited until Luna?
>
> What can we do about it? The only alternative for me is to make
> available multiple update sites, but it's a lot of work for something
> that IMHO shouldn't have happened...
>
> best regards,
> Vlad
>

I don't want to be argumentative, but I checked, and from what I see,
version 50.1.1 was in each release of Kepler. At least, as delivered
specifically by the Eclipse Platform team.

Perhaps earlier you were building on top of something else? If you do
something like build against the whole "Kepler Simultaneous Release"
repository, then it would have been some other project that was
contributing that old version to that repository and then they
eventually stopped doing that.

Which brings me to another piece of advice I always give -- which may or
may not apply to what you do -- but I always advice people to build
against the repositories of the specific projects they need. The
Simultaneous Release repo is intended more for "installing from", not
"building against" .... though, I know hardly anyone follows my advice
in this area. :) If that is what happened to you ... perhaps you could
help spread the word about the risks of doing that.

All that said, we've always tried to caution people about third-party
bundle versions, especially "com.ibm.icu". As a class, they do not
always follow the semantic versioning rules we do in Eclipse. For
com.ibm.icu, in particular, we encourage people to to specify a lower
bound only. In part, this is because we know first hand the ICU project
is quite focused on compatibility from release to release ... for their
APIs anyway, though they have made "odd" changes in versioning several
times over the years. But in general, third party bundles are always a
little unpredictable in this way ... some of them make breaking API
changes going from minor release to minor release. I can only advise you
open a bug on those third parties, asking them to follow semantic
versioning rules.

Hope this helps explain things ... even though I have no "solution"
other than what you suggested. But when you do update that plugin, I'd
just leave the lower bound of 4.4.0 and not specify an upper bound (but,
again, this is not be good advice for all third party bundles ... it's
meant to be specific to com.ibm.icu.
Re: ICU plugin in 4.3 SR2 breaks compatibility [message #1280977 is a reply to message #1279720] Mon, 31 March 2014 07:13 Go to previous message
Vlad Dumitrescu is currently offline Vlad Dumitrescu
Messages: 318
Registered: July 2009
Location: Gothenburg
Senior Member
Thanks for the detailed answer! I had no version range set, the dependency had been added automatically by PDE. Luckily I could remove it from my plugin.xml.

It's all tricky when semantic and non-semantic versioning is mixed in OSGi...

Previous Topic:How to add trusted CA to eclipse
Next Topic:Eclipse forgets java Compiler compliance level
Goto Forum:
  


Current Time: Wed Sep 17 15:51:02 GMT 2014

Powered by FUDForum. Page generated in 0.03909 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software