我可以将 Eclipse 配置为通过 HTTPS 下载插件资源吗?只允许 HTTPS 下载我的代理/防火墙后面的 jar。
此外,我找不到一些插件资源可以离线安装,或者其中一些需要太多工作。
我可以将 Eclipse 配置为通过 HTTPS 下载插件资源吗?只允许 HTTPS 下载我的代理/防火墙后面的 jar。
此外,我找不到一些插件资源可以离线安装,或者其中一些需要太多工作。
HTTP/HTTPS depends on the source, if the plugin is on a server and the server is configured to host HTTPS then all is OK. Otherwise you need to have your workaround.
I would do like this:
I find the command line plugin installation faster, you just run the eclipsec.exe and give the target where you have downloaded the plugin.
Also worth to mention is if there is no plugin "full" download file, I mean sometimes you have just a update/or mirror-site url, but you can still download the plugin using:
eclipsec.exe
-nosplash
-application org.eclipse.equinox.p2.metadata.repository.mirrorApplication
-source url
-destination file:your-hdd-path
or
java
-jar plugins/org.eclipse.equinox.launcher[ECLIPSE dependent version, see ini file].jar
-application org.eclipse.update.core.standaloneUpdate
-command mirror
-from url
-to your-hdd-path
above differs if the plugin is on a mirror or update site. (Check if there is a site.xml file).
Installation the plugin is very simple by using the command-line-version of eclipse (which ends with letter c, i.e. eclipsec), see Link:
eclipsec.exe
-nosplash
-application org.eclipse.equinox.p2.director
-installIU "the-feature-to-install"
-profileProperties org.eclipse.update.install.features=true
-profile "Your-Profil see config.ini"
-repository "your-hdd-path"
-destination "your-eclipse-path"
Also there is a dropins folder in eclipse which is worth to mention, but I would go with above solution. And if you have lots of plug-ins I would recommend creating Composite repositories, locally (for other in your team to setup the plugins without web access).