没有更新的Eclipse p2 Director应用程序 [英] Eclipse p2 director application without updates

查看:131
本文介绍了没有更新的Eclipse p2 Director应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在从命令行通过p2 Director应用程序安装人工制品,其所有存储库都将添加到软件更新中。有没有办法不添加存储库,或者以后再删除/禁用它们?

I'm installing artefacts through the p2 director application from a command line and all of their repositories will get added to the Software Updates. Is there a way not the get the repositories added, or remove/disable them afterwards?

推荐答案

p2导演存储以下位置:两个文件中的存储库

The p2 director stores the locations of the repositories in the two files


  • org.eclipse.equinox.p2.artifact.repository.prefs

  • org.eclipse.equinox.p2.metadata.repository.prefs

在以下两个目录中的每个目录中:

in each of the following two directories:


  • p2 / org.eclipse.equinox.p2.engine / .settings

  • p2 / org.eclipse.equinox.p2.engine / profileRegistry /< profileName> .profile / .data / .settings

  • p2/org.eclipse.equinox.p2.engine/.settings and
  • p2/org.eclipse.equinox.p2.engine/profileRegistry/<profileName>.profile/.data/.settings

恢复这些文件可能会成功。

Restoring these files might do the trick.

注意,添加存储库(别名软件) / update网站)不是使用p2导向器的副作用,而是通过 touchpoi元数据存储库中的nt操作 addRepository content.xml / content。 jar )作为已安装功能的一部分。

Note, adding the repositories (alias software/update sites) is not a side-effect of using the p2 director, but explicit specified via the touchpoint action addRepository in the metadata repository (content.xml/content.jar) as part of the installed feature.

这篇关于没有更新的Eclipse p2 Director应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆