|Hide features on update-site from showing up in a older version of Eclipse [message #1107797]
||Thu, 12 September 2013 23:49
| Nick Chen
Registered: September 2013
I have a feature that used to support only Eclipse 3.6 with a corresponding update-site. I am now upgrading the feature to support Eclipse 4. I would like to use the same update-site. Thus, in that update-site, there will be several versions of the feature; some for Eclipse 3.6 and some for Eclipse 4.3. I would like only versions applicable for Eclipse 3.6 to show up only when I view it in Eclipse 3.6; the same for Eclipse 4.3. Is this possible?|
Right now, when I view the update site in Eclipse 3.6 through the Eclipse Help > Install New Software, it shows the features for Eclipse 4.3 as well. Of course, when you try to actually install it, it will fail since it cannot resolve the dependencies. Ideally, I would like to hide those features from Eclipse 3.6 since it cannot install them.
I have tried setting the min version of my required plugins in the feature.xml file. For instance, I have specified that the min version of org.eclipse.ui.ide to be <import plugin="org.eclipse.ui.ide" version="3.9.0" match="greaterOrEqual"/> which corresponds to the version in Eclipse 4.3.
Is there another setting that I can use? Or do I have to use different update-sites?
Powered by FUDForum
. Page generated in 0.15294 seconds