[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [cross-project-issues-dev] Is it acceptable to have two com.google.common.collect providers?
|
Hi,
I have already encountered some problems with several providers of a
same package. If a project "A" uses "com.google.guava" and if a project
"B" uses and reexports "com.google.collect", a plugin "C" depending on
both projects can be crippled by ClassLoader issues. If the plugin "C"
does not have any dependencies with guava or google.collect but if it is
extending a class of the plugin "A" that is using some elements of
Google Collection from guava then when you will manipulate the class
from the plugin "C" linkage errors will appear.
As for Acceleo, we were waiting for the release of com.google.guava 10
to start a switch from "com.google.collect" to "com.google.guava". We
will do it in the weeks to come (maybe for M5) and we will make sure not
to reexport it :)
Regards,
Stephane Begaudeau
Le 16/12/2011 15:46, Sven Efftinge a écrit :
On Dec 16, 2011, at 3:42 PM, Ed Willink wrote:
Hi John, Sven
Thanks. It appears the double package provider is not a major concern, so I've done my job by raising the possible issue.
Great!
OCL was easily fixed by changing the require bundle from com.google.collect to com.google.guava.
I think that even shouldn't be necessary as long as you have com.google.collect installed.
I suspect it didn't work in your case, since the old bundle is no longer there, because it's no longer shipped with Xtext.
Sven
_______________________________________________
cross-project-issues-dev mailing list
cross-project-issues-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev
begin:vcard
fn;quoted-printable:St=C3=A9phane B=C3=A9gaudeau
n;quoted-printable;quoted-printable:B=C3=A9gaudeau;St=C3=A9phane
org:Obeo
adr;quoted-printable:;;7 Boulevard Amp=C3=A8re;Carquefou;;44481;France
email;internet:stephane.begaudeau@xxxxxxx
title:Eclipse Modeling Consultant
note:Twitter: twitter.com/sbegaudeau
url:http://stephanebegaudeau.tumblr.com
version:2.1
end:vcard