Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Managing Manifests

On 05/20/2015 11:47 PM, Jim Klo wrote:
I’d like to be able to dynamically update the and of the plugin to include all the dependencies copied over from other plugins.
I’m wondering if anyone has a recipe they could share for updating the manifest and files that the plugin uses to include the right dependency jars, but retain all the manually managed export information? Or is this all crazy-talk?
Your goal seems similar to what's provided by the Eclipse Bundle Recipes project ( ), ie turning Maven artifacts to p2 artifacts at build-time. So maybe you should be using EBR for that instead of implementing your own mechanism.
However, you'll have big difficulties to generating a MANIFEST.MF and making it visible to Tycho dependency resolution in the same reactor. There are a bunch of reported bugs on this topic, and it's indeed quite a complicated problem. Here is the EBR-related issue:

Mickael Istria
Eclipse developer at JBoss, by Red Hat
My blog - My Tweets

Back to the top