从更新站点下载eclipse插件的工具 [英] Tool for downloading eclipse plugins from update sites
问题描述
我需要在没有连接到互联网的机器上安装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.
推荐答案
你可以使用<一个href =http://wiki.eclipse.org/Equinox_p2_Repository_Mirroring =noreferrer> P2镜像工具(或 P2镜像在Galileo文档)。
这里是用于在本地镜像伽利略工件存储库的示例命令:
Here is sample command to mirror Galileo artifacts repository locally:
eclipse\eclipsec.exe -nosplash -verbose
-application org.eclipse.equinox.p2.metadata.repository.mirrorApplication
-source http://download.eclipse.org/releases/galileo
-destination file:d:/temp/galileo/
eclipse\eclipsec.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)
运行这些命令后,可以使用文件:d:/ temp / galileo
作为本地镜像。
After you run these commands, you can use file:d:/temp/galileo
as a local mirror.
或者,您可以使用P2镜像蚁任务,它允许您指定可反映的可安装单元(插件或功能)。注意:指定功能时,请勿忘记使用 .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屋!