eclipse commandline to install plugin from remote zip

时光总嘲笑我的痴心妄想 提交于 2019-12-21 17:28:05

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/23946703/eclipse-commandline-to-install-plugin-from-remote-zip

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!