Are plugins installed automatically when installing a plug-in with dependencies?

I am developing a plugin that relies on CodePro and Sonar plugins. I added these plugins to the "Required Plugins" section in the plugin manifest editor. When I try to install my plug-in on a new instance of Eclipse, I get the error message: "Missing requirement: XYZ plugin requires" ABC "bundle, but cannot be found." Is it a requirement that users manually install these required plugins before installing my plug-in? Or is there a way that the update manager can automatically download and install these necessary plugins in front of mine? If there is a way, how can I do this? I read many, many articles, blogs and forums, but did not answer. I would appreciate any help.

+5
source share
2 answers

Open the Feature Manifest editor, go to the "Information" tab, go to the "Sites to Visit" tab. Add all plugin update sites that your plugin depends on. When installing the plugin, check the option "Contact all update sites during installation to find the necessary software."

+7
source

p2 will monitor the dependencies of the plugin to install all the necessary plugins (or functions, depending on what is configured). If you are using Help>Install New Software, update sites for all plugins should be available, as well as "Contact all update sites during installation to find the necessary software."

p2 . :

eclipse/eclipse \
-application org.eclipse.equinox.p2.director \
-noSplash \
-repository \
http://download.eclipse.org/egit/updates-nightly,\
http://download.eclipse.org/e4/updates/0.12-I-builds,\
http://download.eclipse.org/releases/juno,\
file://$HOME/eclipseUpdate \
-installIUs \
org.eclipse.egit.feature.group,\
org.eclipse.egit.source.feature.group,\
org.eclipse.jgit.feature.group,\
org.eclipse.jgit.source.feature.group,\
org.eclipse.egit.fetchfactory.feature.group,\
org.eclipse.emf.sdk.feature.group,\
org.eclipse.xtext.sdk.feature.group,\
org.eclipse.wst.xml_ui.feature.feature.group,\
org.eclipse.pde.api.tools.ee.feature.feature.group,\
org.eclipse.e4.core.tools.feature.feature.group,\
org.eclipse.e4.tools.css.spy.feature.feature.group,\
org.eclipse.e4.tools.css.editor.feature.feature.group
+6

All Articles