加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 大数据 > 正文

groovy&grails 初识

发布时间:2020-12-14 17:01:15 所属栏目:大数据 来源:网络整理
导读:groovy 安装 1.下载 http://groovy.codehaus.org/Download Download Windows-Installer : Binary Release 即可 2. 配置环境 JAVA_HOME=../java 在安装的时候你可以选择自动设置环境变量,不过应当注意环境变量的默认安装只设置了用户环境变量,应当把系统环


groovy 安装

1.下载
http://groovy.codehaus.org/Download
Download Windows-Installer: Binary Release
即可
2. 配置环境
JAVA_HOME=../java
在安装的时候你可以选择自动设置环境变量,不过应当注意环境变量的默认安装只设置了用户环境变量,应当把系统环境变量也选择上。
3. 测试
cmd
xx>groovysh
显示
C:Documents and Settingslht>groovysh
Let's get Groovy!
================
Version: 1.1-beta-2 JVM: 1.6.0_02-b06
Type 'exit' to terminate the shell
Type 'help' for command help
Type 'go' to execute the statements

?

groovy> 1+2
groovy> go

===> 3

groovy>

grails 安装

1. 下载 http://grails.org/Download
2. 解压../grails
3. 设置环境变量
GRAILS_HOME=../gails
PATH=%GRAILS_HOME%/bin
4.?测试
cmd?
>grails?

?

相关书籍:

Groovy.in.Action
The.Definitive.Guide.to.Grails.Dec.2006?
?

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读