So here is my struggle..I am working on my first Eclipse Plugin.. On my PC, I have 2 eclipse versions, one where I developed the plugin, and another where I want to install the plugin.
Now my plugin works just fine, as I can easily test it by running it as a Eclipse Application using the eclipse that the plugin was developed in. This is how my plugin looks:
As you can see, I have quite a lot of so called "Plug-in Dependencies".
I also tried various ways to export the plugin, the latest (and by some other answers best way) approach is using this tutorial :
Those appear to all be standard Eclipse plugins, they don't need to be part of your export.
The plugin install will find and use the already installed plugins.
You would get an error from the install if there were missing dependencies.
If you think that the target Eclipse is not going to have some of the plugins you need create a Feature and list the required plugins or better still the required Eclipse features that you require. Use the Feature export rather than plugin export to export this. When you install this the installer will find the necessary plugins/features from the correct install sites.
What you never do is include standard plugins in your export because this can lead to version mismatches.
For example, this is feature.xml extract:
<feature id="greg.music.feature" label="Feature" version="1.0.0.qualifier" provider-name="Greg"> <requires> <import feature="org.eclipse.e4.rcp" version="1.4.1.v20160212-1350" match="greaterOrEqual"/> </requires> <plugin id="greg.music.e4.rcp" download-size="0" install-size="0" version="0.0.0" unpack="false"/>
says that the feature requires the Eclipse
org.eclipse.e4.rcp feature. The feature includes the