您的位置:首页 > 编程语言 > Java开发

eclipse-4.4.2安装Groovy插件(其他版本eclipse可参考)

2016-04-27 10:46 393 查看
摘自: http://www.cnblogs.com/langtianya/p/5169170.html

查看Eclipse 对应安装 Groovy插件 地址:https://github.com/groovy/groovy-eclipse/wiki

步骤 :

1、启动eclipse,点击help -> Install New Software...

在弹出的窗口中点击:Add...

Groovy插件的地址:http://dist.springsource.org/release/GRECLIPSE/e4.4/

其他eclipse版本可以到:https://github.com/groovy/groovy-eclipse/wiki

下载对应的版本

在弹出的Install窗口中填写如下:

Name:可任意填写名称,如:Groovy plugin

Location:将上面的地址复制到这里,如:http://dist.springsource.org/release/GRECLIPSE/e4.4/点击OK

点击Select All,点击Next,再点finish。eclipse会自动进行下载(由于我的eclipse已经安装了Groovy,点不了Next和 Finish,还望谅解,到了这里正常情况就不会出错了,如果eclipse进行下载的时候失败了,可以重头开始重做一遍)

步骤三:新建你的第一个Groovy项目

右键 -> New -> Other...

在搜索框中输入groovy,选择Groovy Project点击Next -> Finish完成在Eclipse中的第一个Groovy项目的建立

运行groovy类

感谢Eclipse集成Groovy插件(以eclipse-4.3.0为例)

的原作者,我只是对他的文章进行更新,大部分图还是他的图,读者请谅解

eclipse的groovy插件源码地址:https://github.com/groovy/groovy-eclipse

groovy语言源码地址:https://github.com/apache/groovy

groovy语言参考项目:https://github.com/grails

groovy简单例子:https://github.com/langtianya/groovy_test
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: