我的要求是
1. Take a bare eclipse installation (runtime platform)
2. Install a p2 update site-A
3. Install a p2 update site-B
4. Install a p2 update site-C
5. Run some basic test on this eclipse application.安装p2更新站点简直是一场噩梦!它需要花费大量的时间,并且经常会在验证时失败。
有没有自动化的方法可以让我们自动安装所有的p2站点?
发布于 2015-12-02 13:11:09
您可以使用Eclipse p2 director进行无头安装或卸载。如果您已经安装了eclipse (通过p2完成),则可以使用它来安装或卸载it。
确保为eclipse IDE使用正确的配置文件名,例如SDKprofile。另一个障碍是将".feature.group“修改为功能ID (如果您安装了一个功能)。
<eclipseSDK>\eclipsec.exe
-application org.eclipse.equinox.p2.director
-repository <update-site-A>
-tag addingSiteA
-destination <bare-eclipse-installation>
-profile SDKProfile
-installIU <container.IU.feature.group>其他站点也是如此。如果没有,请给出要安装的IU的逗号分隔列表。
https://stackoverflow.com/questions/34018837
复制相似问题