阅读更多

8顶
0踩

编程语言

原创新闻 Groovy 1.7.6 和 1.8-beta-3 正式发布

2010-12-16 13:10 by 副主编 just_cool 评论(5) 有2896人浏览

Groovy开发团队今天正式发布了Groovy 1.7.6  和 1.8-beta-3。


Groovy 1.7.6 主要是一个bug的修复版本,1.8-beta-3带来了很多新的特性和功能。


查看详细发布文档: Groovy 1.7.6 and Groovy 1.8-beta-3.

 

Groovy 1.8 beta3 新特性:

 

  • extended command expressions can be used on the right-hand side of assignments
  • the @Log AST transformation is customizable for your own logging needs
  • Map now has an isCase() method
  • a @GrabResolver shortcut with @GrabResolver("http://some/url")
  • String can be coerced to Enums ("blue" as Color)
  • support for closure memoization and trampoline
  • @ThreadInterrup, @ConditionalInterupts and @TimedInterrupt AST transformations for stopping the execution of embedded scripts
  • min() / max() methods on maps (on values)
  • ability to store node metadata in AST nodes, for use in your AST transformations
8
0
评论 共 5 条 请登录后发表评论
5 楼 witcheryne 2010-12-21 09:17
key232323 写道
witcheryne 写道
一直没搞懂 怎么把Groovy直接用到Java项目中....



这个。。。。
好好看官方例子。。

Gant 一直有问题...  使用官方最简单的 QuickStartGroovy...
GAnt 一直报:
build, line 50 -- Error evaluating Gantfile: No such property: Ant for class: build
我的环境:
Groovy :1.7.5
Ant 1.7.1
Gant 1.9.3
classpath="%GANT_HOME%\lib;"
4 楼 key232323 2010-12-19 22:54
witcheryne 写道
一直没搞懂 怎么把Groovy直接用到Java项目中....



这个。。。。
好好看官方例子。。
3 楼 witcheryne 2010-12-17 21:55
一直没搞懂 怎么把Groovy直接用到Java项目中....

2 楼 skyfen 2010-12-17 12:12
Oracal公司将Java收费了,Goorvy也不容易乐观。
但是Goorvy真的是非常不错语言。
1 楼 hardPass 2010-12-17 09:38
翻译下新特性撒?

发表评论

您还没有登录,请您登录后再发表评论

相关推荐

Global site tag (gtag.js) - Google Analytics