myeclipse2016 ci6 安装groovy插件

  1. 查看myeclipse对应的eclipse版本
  2. 到groovy官网查找插件安装方法
  3. 安装groovy插件
  4. 设置超时时间(可选)

1.myeclipse对应eclipse版本

${myeclipse_home}/readme/readme_eclipse.html

我机子上文件的实际位置

D:\devTools\myeclipse2016\ci6\readme\readme_eclipse.html

打开readme_eclipse.html,里面有写对应的eclipse版本

Eclipse Project Release Notes

Release 4.5.0
Last revised June 3, 2015

 

这里表示我的myeclipse对应的eclipse版本为4.5.0

 

2.到groovy官网查找插件安装方法

http://groovy-lang.org/ -> http://groovy-lang.org/documentation.html

扫描二维码关注公众号,回复: 576291 查看本文章

文档页面可看到如下,点击IDE integration,跳转页面后选择Groovy Eclipse Plugin

 Tools

到达github后,拖动到README.MD,点击wiki.

README.md

This is the Groovy-Eclipse project, the Eclipse tooling support for the Groovy programming language. More information, including how to use and install is available on the wiki.

这个页面列出了groovy与eclipse版本对应的可用插件

Snapshot Builds

Use one of these update sites to install the latest and greatest Groovy-Eclipse. Development builds tend to be quite stable (they are not released unless all tests pass). To install, paste the appropriate update site below into your Eclipse update manager, select the artifacts to install and follow the instructions.

Eclipse Level Snapshot Update Site
4.6 (Neon) http://dist.springsource.org/snapshot/GRECLIPSE/e4.6/
4.5 (Mars) http://dist.springsource.org/snapshot/GRECLIPSE/e4.5/
4.4 (Luna) http://dist.springsource.org/snapshot/GRECLIPSE/e4.4/
4.3-j8 (Kepler with Java 8 patch) http://dist.springsource.org/snapshot/GRECLIPSE/e4.3-j8/
4.3 (Kepler) http://dist.springsource.org/snapshot/GRECLIPSE/e4.3/
4.2 and 3.8 (Juno) http://dist.springsource.org/snapshot/GRECLIPSE/e4.2/
3.7 (Indigo) http://dist.springsource.org/snapshot/GRECLIPSE/e4.2/

3.myeclipse中Help -> Install from site...

直接selectAll安装全部,当然也可以选择性的安装

注:concat all update sites.... 这个复选框不用勾,不然后下载插件会很慢(经常装插件的都懂)



 

4.设置myeclipse的安装插件下载时的超时时间

如果安装的时候出现read time out的错误最好设置一下超时时间。

下面这个链接的博主有说明

http://www.xuebuyuan.com/2094996.html

加入以下参数到myeclipse.ini文件中,找到-vmargs那行,在后面加上:

-Dorg.eclipse.equinox.p2.transport.ecf.retry=15

-Dorg.eclipse.ecf.provider.filetransfer.retrieve.closeTimeout=30000

-Dorg.eclipse.ecf.provider.filetransfer.retrieve.readTimeout=30000

-Dsun.net.client.defaultReadTimeout=30000

猜你喜欢

转载自1711770142.iteye.com/blog/2326245
今日推荐