从更新站点下载 eclipse 插件的工具 [英] Tool for downloading eclipse plugins from update sites

查看:25
本文介绍了从更新站点下载 eclipse 插件的工具的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在未连接到 Internet 的机器上安装 eclipse 插件,但我找不到用于本地安装的 dist.

I need to install an eclipse plugin to a machine not connected to the Internet and I cannot find a dist to use for a local install.

是否有从更新站点下载插件并创建本地安装存档(或本地更新站点)的工具?谣言说你可以用 eclipse 做到这一点,但我找不到任何关于如何做到这一点的信息.

Is there a tool for downloading a plugin from an update site and create a local installation archive (or a local update site)? Rumors says you can do this with eclipse, but I cant find any info on how to do it.

推荐答案

可以使用P2镜像工具(或 P2 镜像在 Galileo 文档中)来镜像远程元数据和工件存储库.

You can use P2 mirror tool (or P2 mirror in Galileo documentation) to mirror remote metadata and artifacts repository.

这是在本地镜像 Galileo 工件存储库的示例命令:

Here is sample command to mirror Galileo artifacts repository locally:

eclipseeclipsec.exe -nosplash -verbose 
-application org.eclipse.equinox.p2.metadata.repository.mirrorApplication
-source http://download.eclipse.org/releases/galileo
-destination file:d:/temp/galileo/

eclipseeclipsec.exe -nosplash -verbose
-application org.eclipse.equinox.p2.artifact.repository.mirrorApplication
-source http://download.eclipse.org/releases/galileo
-destination file:d:/temp/galileo/

(第一个命令镜像元数据,第二个镜像工件.命令应该在 windows 中的一行)

(First command mirrors metadata, second mirrors artifacts. Command should be on one line in windows)

运行这些命令后,您可以使用 file:d:/temp/galileo 作为本地镜像.

After you run these commands, you can use file:d:/temp/galileo as a local mirror.

或者,您可以使用 P2 镜像 Ant 任务,它允许您指定要镜像的可安装单元(插件或功能).注意:指定特征时,不要忘记使用.feature.group后缀)

Alternatively, you can use P2 Mirror Ant Task, which lets you specify installable units (plugins or features) to mirror. Note: when specifying feature, don't forget to use .feature.group suffix)

这篇关于从更新站点下载 eclipse 插件的工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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