eclipse命令行从远程zip中安装插件 [英] eclipse commandline to install plugin from remote zip

查看:228
本文介绍了eclipse命令行从远程zip中安装插件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨所有尝试使用厨师从远程站点安装eclipse插件。远程站点具有可访问的zip文件。我了解如何从本地的zip文件。但是这个例子是url和zip的混合。



请参阅我使用的以下语法

  eclipse\\ \\\eclipse \ 
-application org.eclipse.equinox.p2.director \
-noSplash \
-repository \ http://nikiclvm4.xxx.yyyy.com :8081 / artifactory / simple / tools-local / chef_bin / ccollab_client_8_3_8301_001_update_site.zip \
-installIUs \
com.smartbear.collaborator.base.feature.feature.group,\
com.smartbear.collaborator.8.3.8301.001

从本地驱动器我使用以下语法工作



-repository jar:file:/ C:/Users/xxxx/Downloads/ccollab_client_8_3_8301_001_update_site.zip!/ \



任何想法如何做?

解决方案

用作存储库url以下的头脑结束!和斜杠(并确保代理设置正确配置)

  jar:http://nikiclvm4.xxx.yyyy.com :8081 / artifactory / simple / tools-local / chef_bin / ccollab_client_8_3_8301_001_update_site.zip!/ 

p2首先下载整个zip文件,然后再访问包含的repo。


Hi All trying to install eclipse plugin from remote site using chef. Remote site has zip file which is accessible as url. I understand how to do it from local zip file. But this case is q mix of url and zip.

Please see the following syntax that I am using

eclipse\\eclipse \
-application org.eclipse.equinox.p2.director \
-noSplash \
-repository \ http://nikiclvm4.xxx.yyyy.com:8081/artifactory/simple/tools-local/chef_bin/ccollab_client_8_3_8301_001_update_site.zip \
-installIUs \
com.smartbear.collaborator.base.feature.feature.group,\
com.smartbear.collaborator.8.3.8301.001

From local drive I used following syntax which worked

-repository jar:file:/C:/Users/xxxx/Downloads/ccollab_client_8_3_8301_001_update_site.zip!/ \

Any idea how to do it?

解决方案

Use as repository url the following mind the ending ! and slash (and make sure that proxy settings are properly configured)

jar:http://nikiclvm4.xxx.yyyy.com:8081/artifactory/simple/tools-local/chef_bin/ccollab_client_8_3_8301_001_update_site.zip!/

drawback is that p2 is downloading the whole zip file first and then accessing the contained repo afterwards.

这篇关于eclipse命令行从远程zip中安装插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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