Eclipse集成Groovy插件(以eclipse-4.3.0替例)

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

步骤一:

          下载eclipse4.3.0,地址:http://www.eclipse.org/downloads/。

步骤二:

启动eclipse,点击help -> Install New Software...
Eclipse集成Groovy插件(以eclipse-4.3.0替例)
 

在弹出的窗口中点击:Add...
Eclipse集成Groovy插件(以eclipse-4.3.0替例)
 

从Groovy官网复制安装groovy插件的地址:根据你当前eclipse版本选择对应的地址

Groovy官网:http://groovy.codehaus.org/

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

 


Eclipse集成Groovy插件(以eclipse-4.3.0替例)
 

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

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

         Location:将上面的地址复制到这里,如:

http://dist.springsource.org/release/GRECLIPSE/e4.3/点击OK


Eclipse集成Groovy插件(以eclipse-4.3.0替例)
 

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

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

      右键 -> New -> Other...
Eclipse集成Groovy插件(以eclipse-4.3.0替例)
 

在搜索框中输入groovy,选择Groovy Project点击Next -> Finish完成在Eclipse中的第一个Groovy项目的建立
Eclipse集成Groovy插件(以eclipse-4.3.0替例)