至高吴上(Alfa.wu)

一个人,一生,能坚持做好一件事情是多么的牛XX啊!!!

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

摘自: 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

posted on 2016-04-27 10:46  Alfa  阅读(429)  评论(0编辑  收藏  举报