Skip to content

Interoperability between p2-layout-resolver and tycho #40

@reckart

Description

@reckart

It seems there could be a problem when mixing p2-layout-resolver and and tycho in the same project.

eclipse-tycho/tycho#3099

Note that Apache UIMA has been successfully mixing them for some years now, but recently we ran into a strange problem where tycho suddenly wasn't able to resolve some dependencies anymore.

This happened when we built against the Eclipse 2022-09 update site and switching to 2023-09 miraculously fixed the problem... but it does not feel like a convincing "fix" - more like a hack.

@laeubi suggested that mixing p2-layout-resolver and tycho in a single reactor could be "too much stuff", in particular because they both claim repository declarations that use the "p2" layout.

This issue is partially to generate awareness that p2-layout-resolver and tycho have been used together in practice successfully and it would be cool if this would also be possible in the future.

Partially, I would like to raise the question if there might be a way to separate the two extensions in such a way that one or maybe both could support an additional layout, e.g. p2-resolver and p2-tycho to allow them to co-exist more peacefully?

Or maybe there are other ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions