运行 Eclipse 插件/更新镜像

发布于 2024-12-15 09:47:57 字数 431 浏览 4 评论 0原文

我正在尝试为我们的开发团队可能想要或需要的所有插件/更新运行完整的 Eclipse 镜像。这是因为我们的网络受到 WebSense 代理过滤器的阻碍,该过滤器经常阻止插件下载。

这对于所有相关开发人员来说都非常令人沮丧。

我终于获得批准在专用服务器上运行 Eclipse 镜像,该服务器可以不受限制地访问互联网,并且所有内部计算机都可以访问。

我已经阅读和学习了很多有关 Equinox P2 更新机制以及更新站点发布的知识。

我选择了一个测试插件作为试金石,看看它是否一切正常。看起来,除了一件事: 该插件本身具有依赖项,然后 Eclipse 会尝试从互联网获取该依赖项,但无论如何我都找不到覆盖它的方法,以便它返回到我们自己的镜像。

如何强制 Eclipse 始终使用我们的镜像,或者如何发布/链接依赖项以便 Eclipse 从镜像获取它们?

谢谢

I'm trying to run a full Eclipse mirror for all the plugins / updates our development team might want or need. This is because our network is impeded by a WebSense proxy filter, which very often blocks plugins from downloading.

This has been exceptionally frustrating for all the devs concerned.

I finally got approval to run an Eclipse mirror on a dedicated server, which has unfettered access to the internet, and which all internal machines can access.

I've done a lot of reading up and learning about the Equinox P2 update mechanism, and about update site publishing.

I selected a test plugin to act as a touchstone, to see if it all works. It appears to, except for one thing:
The plugin itself has dependencies, which Eclipse then tries to get from the internet, and I cannot find anyway to override this so that it comes back to our own mirror instead.

How can I force Eclipse to always use our mirror, or how can I publish / chain dependencies so that Eclipse gets them from the mirror?

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

酒几许 2024-12-22 09:47:57

我不确定 100% 理解你的问题。

我认为您可以在从 Eclipse 向导安装插件时将镜像服务器添加为存储库。并禁用内网中所有无法访问的内置服务器。

如果不在GUI上修改,可以修改p2的prefs文件。

<your eclipse>/p2/org.eclipse.equinox.p2.engine/.settings/org.eclipse.equinox.p2.artifact.repository.prefs
<your eclipse>/p2/org.eclipse.equinox.p2.engine/.settings/org.eclipse.equinox.p2.metadata.repository.prefs

I'm not sure 100% understanding your question.

I think you can add your mirror server as a repository when installing plug-ins from Eclipse's wizard. And disable all the built-in servers that have problem to be accessed in your Intranet.

If you don't modify it on GUI, you can modify the prefs files of p2.

<your eclipse>/p2/org.eclipse.equinox.p2.engine/.settings/org.eclipse.equinox.p2.artifact.repository.prefs
<your eclipse>/p2/org.eclipse.equinox.p2.engine/.settings/org.eclipse.equinox.p2.metadata.repository.prefs
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文