Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[mdt-papyrus.dev] Guava dependencies

Hi all,

 

 

A few Papyrus components depend on the Guava API. In Guava 10.0.0, some API have been deprecated. In Guava >= 11.0.0, these methods don’t exist anymore.

 

Most plug-ins declare a dependency to Guava >= 10.0.0, which means they are supposed to work with Guava 11 and Guava 12. However, they usually rely on these deprecated methods available only in Guava 10.x

 

There are two solutions:

 

-          Do not use deprecated APIs of Guava 10.x

-          Use an explicit dependency to Guava [10.0.0, 11.0.0) (i.e. excluding Guava >= 11.0.0)

 

Until this is fixed, there will be undeterministic behaviors and bugs, depending on the Eclipse installation and which versions of Guava are available @runtime.

 

Note that XText also reexports its dependency to Guava, but as Guava is not a singleton library, this should not have any impact on other plug-ins.

 

 

Thanks,
Camille

__________________________

Camille Letavernier

+33 (0)1 69 08 00 59 - camille.letavernier@xxxxxx

CEA LIST - Laboratoire d'Ingénierie dirigée par les modèles pour les Systèmes Embarqués (LISE)

Papyrus : http://www.eclipse.org/papyrus

 


Back to the top