P2 update of RCP based application fails

后端 未结 1 1045
逝去的感伤
逝去的感伤 2021-02-15 16:45

I trying to update an Eclipse-RCP-3.5 based application by an P2 update-site. The Application contains two features.

Product is built by Eclipse Buckminster

1条回答
  •  情歌与酒
    2021-02-15 17:08

    You need to build a new version of the product.

    p2 distinguishes between what is "installed" and what is "required by the things that are installed". Your product sernet.gs.ui.rcp.main.product is the thing that is installed. Everything else is required by that. "Check for Updates" is looking for a new version of sernet.gs.ui.rcp.main.product.

    By installing the feature, you are adding it to the list of things that are installed (instead of just required by the things installed). However, you still have the original product which has a requirement on a specific version of that feature. That requirement conflicts with the new version of the feature.

    This came up a few times on the eclipse forums. You might be interested in this blog post I wrote in response.

    0 讨论(0)
提交回复
热议问题