groovy入门

  1. 安装groovy

    http://groovy.codehaus.org/Download

    GROOVY_HOME :    D:/groovy-2.3.2

    path : %GROOVY_HOME%/bin 

  2. 安装grails

    https://grails.org/download

    GRAILS_HOME: D:/grails-2.4.0

    path : %GRAILS_HOME%/bin 

  3. 安装eclipse插件

    下载zip  导入安装   http://dist.springsource.org/snapshot/GRECLIPSE/e4.3/index.html 

  4. 构建grails 集成maven项目

        mvn archetype:generate -DarchetypeGroupId=org.grails  

        -DarchetypeArtifactId=grails-maven-archetype

         -DarchetypeVersion=2.4.0.RC2 

        -DgroupId=com.greenline.tigase 

        -DartifactId=com-greenline-tigase-gops

     进入com-greenline-tigase-gops   执行   mvn initialize


你可能感兴趣的:(groovy入门)