How to enable Software Update in an Eclipse product?

孤人 提交于 2019-12-05 19:30:01

The menu entry 'Install new software' is contribued by plug-in org.eclipse.equinox.p2.ui.sdk. You should include it to show that menu entry in your RCP.

If your RCP is feature based, I think you should only include p2 related features to simplify the process.

I don't know the full list of required p2 bundles, but this is how you can easily generate it: Use the new wizard to create an e4 > e4 Application Project. This generates a product file that contains all bundles needed for an p2 updatable product.

If you have a feature-based product, the features org.eclipse.rcp and org.eclipse.e4.rcp should also give you an updatable product

I was also face same issue and resolved by the following steps;

In the Product Configuration file,

.product file --> In Configuration Tab

Specify custom start levels for the following plug-ins,
    org.eclipse.equinox.ds start level 2, auto start true 
    org.eclipse.equinox.simpleconfigurator start level 1, auto start true
    org.eclipse.equinox.common start level 2, auto start true
    org.eclipse.core.runtime start level 4, auto start true
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!