开发者

Create eclipse P2 update site from folder containing bundles?

开发者 https://www.devze.com 2023-01-25 09:22 出处:网络
Typically an eclipse p2 update site is created inside eclipse through the process of creating a feature project containing one or more plugins/bundles and adding this feature to an eclipse update site

Typically an eclipse p2 update site is created inside eclipse through the process of creating a feature project containing one or more plugins/bundles and adding this feature to an eclipse update site project. Finally the update site is build and can be referenced through the update manager in eclipse.

But is it possible to create a p2 update site outside eclipse from a folder only containing a set of already build plugins?

I have looked at:

http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse.platform.doc.isv/guide/p2_publisher.html

but it assumes that both the bundles AND features are already created.

I have also looked at:

http://wiki.eclipse.org/Equinox_p2_director_application http://wiki.eclipse.org/Equinox_p2_Getting_Started_for_Releng

but that does not describe how to create a p2 site from a list of bundles.

To simplify my question:

Is开发者_StackOverflow社区 it possible to create a full working p2 update site from a local folder containing osgi bundles?


Publisher is the one to generate the p2 repository from bundles.

Update:

If you want to let your product showing in p2 UI, you can create p2.inf in your top feature,

properties.1.name=org.eclipse.equinox.p2.type.group
properties.1.value=true

Of course, you also could add it to a category via p2 advice file.

0

精彩评论

暂无评论...
验证码 换一张
取 消