|Re: Tycho build fails missing org.eclipse.equinox.executable.feature.group 0.0.0 [message #1752546 is a reply to message #1749322]
||Wed, 25 January 2017 01:27
|| Patrik Suzzi
Registered: June 2010
Location: Imola, Italy
Tycho resolves dependencies against p2 repositories (remote or local). It uses the information in plugin.xml. The dependencies are declared in MANIFEST.MF|
Anything that is a plugin dependency should come from a p2 repository, or from a plug-in project included in the build (so the maven reactor can satisfy the dependencies).
If you use specific Java libraries, I suggest you add them to the bundle classpath: in the plugin.xml, Runtime tab, Classpath section. (verify they are included in the build).
If you use native libraries, I suggest you put them in the base folder of your project and ensure you have a task that copies those natives under the path where Maven is building (by default maven builds under the /target directory).
To fully understand the Tycho build, the best resource is the "Tycho demo tutorial," by J.Sievers. Download it; start reading the index.html; and follow the tutorial until the end. Once done, it will be easy to understand how to modify the tutorial to achieve a Tycho build for your plugin, product, or set of products.
- here is the link: https://github.com/jsievers/tycho-demo
If you need other pointers, please see also:
- for Theory: https://www.eclipsecon.org/na2014/sites/default/files/slides/Tycho%20Tutorial%20-%20Introduction.pdf
- extensive reference/tutorial: http://www.vogella.com/tutorials/EclipseTycho/article.html
If you have other doubts, please try to summarize and formalize them, and respond on this thread.
Ing. Patrik Suzzi
Consultant Software Engineer,
Eclipse Platform Committer
Powered by FUDForum
. Page generated in 0.02605 seconds