eclipse plugin - Are required plug-ins automatically installed when installing a plug-in that has dependencies? -
I am developing a plug-in which depends on CodePro and sonar plugins. I added these plugins to the "required plug-in" section of the Plug-In Manifest Editor. When I try to install my plug-in on a new eclipse example, I get an error: "Neutrality requirement: XYZ plug-in requires bundle 'ABC', but it is not found." Is it a requirement that the user must manually install these required plug-ins before installing my plug-in? Or can an update manager automatically download and install these required plug-ins before me? If there is a way, how can I do this? I have read many articles, blogs and stories, but there is no clear response on it. I appreciate any help.
P2 relies on all the required plugins (or attributes, configured) If you select When using the command line P2 director, you will need to list all the updated sites that you need on that command line eg: help & gt; If you use new software installed , then the updates site of all plugins should be available, and check "Contact all updated sites during installation to find required software" check.
Eclipse / Eclipse \ -Application org.eclipse.equinox.p2.director \ -no splash \ -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.xtex T.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.sfe.feature .feature.group
Comments
Post a Comment