Skip to main content



      Home
Home » Eclipse Projects » Eclipse 4 » Dependencies of same plugin with different versions
Dependencies of same plugin with different versions [message #1385092] Wed, 04 June 2014 05:55 Go to next message
Eclipse UserFriend
Hi all,

We try to migrate an Eclipse RCP product, based on features, to Eclipse 4 using the compatibility layer.

This changed our plugins dependencies as some of the tools integrated to our product have evolved. The problem is that we now depends of some plugins with several versions. For example, we need org.apache.batik.css but for both versions [1.6.0, 1.7.0) and [1.7.0, 1.8.0).

We have built a target platform and a repository with the both versions. The first one is used for our development Eclipse instance, the second one is referenced by our Tycho build.

With Tycho, we managed to build our product with the both versions of the plugin. Our .product definition is based on features and has not been changed.
In the Eclipse instance used for development, we managed to build a launch configuration based on plugins, and manually include the both versions, and it works. But we didn't managed to build a launch configuration based on features, which includes and starts the both versions of the needed plugin...

How can I define in my features that they depends of a plugin, with several versions ? It seems that if I specify the both dependencies, only one is respected.

Thanks for your advices.




Re: Dependencies of same plugin with different versions [message #1385225 is a reply to message #1385092] Thu, 05 June 2014 00:40 Go to previous messageGo to next message
Eclipse UserFriend
In my experience, the latest version is picked up unless you define a strict dependency. We ran into such problems when using Guava through XText.
Re: Dependencies of same plugin with different versions [message #1385245 is a reply to message #1385225] Thu, 05 June 2014 03:26 Go to previous messageGo to next message
Eclipse UserFriend
And have you defined your strict dependancies in your plugin dependancies, or in your feature content ?

[Updated on: Thu, 05 June 2014 03:27] by Moderator

Re: Dependencies of same plugin with different versions [message #1717507 is a reply to message #1385225] Mon, 14 December 2015 08:15 Go to previous message
Eclipse UserFriend
Hello Subramani,
Can you help me with strict dependency ?

Thanks,
Kiran.
Previous Topic:Parts from a perspective that is not active are not closed
Next Topic:Eclipse Mars build path issues
Goto Forum:
  


Current Time: Wed Jul 23 16:36:29 EDT 2025

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

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

Back to the top