Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] How to add required bundle to packaged plug-in?

Hello again,

Let me reply myself, maybe sometimes in the future someone will find this useful:

I've solved this by making Core a feature as well. In that way, both Core and Plugin are distributed as p2 update site. 

I'm sorry for spamming the list.

Best regards,

Igor

On 17 August 2015 at 16:28, Igor Levaja <levaja89@xxxxxxxxx> wrote:
Hello everyone,

In my plugin setup, I have 2 projects (both are OSGI bundles, built with Tycho), one provides some functionalities (let's call it "Core")  and another one is actual plugin, that is using those functionalities (let's call it "Plugin").

Plugin imports Core with "Require-Bundle" directive in its MANIFEST.MF file. Both Eclipse and build process don't have any problem with it.

When I want to create an update site for Plugin, everything goes smoothly, but Core.jar is not included in the final Plugin.jar, which leads to "missing requirement" when I want to install my Plugin in Eclipse. I've tried to solve it with Maven's copy-dependencies, but this approach does not work.

Bottom line, I guess that my question is how can I set up Tycho to include required bundle in deployment version of my plugin?

Thank you very much for your assistance!

Best regards,

Igor



Back to the top