下载Eclipse插件更新站点进行离线安装 [英] Downloading Eclipse plug-in update sites for offline installation

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

问题描述

我要安装的插件提供了一个安装的更新站点。但是,要安装它的Eclipse安装在未连接到Internet的计算机上。有没有办法让我访问网站(HTTP,FTP等)下载文件以进行离线安装?

A plug-in that I want to install provides an update site for installation. However, the Eclipse installation that I want to install it to is on a machine that is not connected to the Internet. Is there a way for me to access the site (HTTP, FTP, etc.) to download the files in it for offline installation?

推荐答案

$eclipse_home/eclipse -application org.eclipse.equinox.p2.artifact.repository.mirrorApplication -source $1 -destination $2
$eclipse_home/eclipse -application org.eclipse.equinox.p2.metadata.repository.mirrorApplication -source $1 -destination $2

参考: Equinox p2存储库镜像

java -jar $eclipse_home/plugins/org.eclipse.equinox.launcher_*.jar -application org.eclipse.update.core.standaloneUpdate -command mirror -from $from -to $to

参考:从命令行运行更新管理器

您可以在我的脚本存储库

这篇关于下载Eclipse插件更新站点进行离线安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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