First they ignore you
then they ridicule you
then they fight you
then you win
    -- Mahatma Gandhi
Chinese => English     英文 => 中文             
随笔-221  评论-1047  文章-0  trackbacks-0
由于这次发布的Groovy版本包含了很多Java5的特性,并修正(fix)了很多错误,且增添了许多新特性,1.1这个版本号已经无法反映这么多令人振奋的改进了,所以Groovy Team决定将本次发布的Groovy版本定为1.5。注意目前最新稳定版为Groovy1.5了,而非之前的Groovy1.0。

下载地址:http://dist.groovy.codehaus.org/distributions/groovy-binary-1.5.0.zip

附:朝花夕拾——Groovy & Grails

=======================================================

Last changed Dec 07, 2007 17:44 by glaforge

G2One, Inc., the Groovy & Grails professional services company, and the Groovy development team are proud to announce the release of Groovy 1.5.

Groovy is a dynamic language for the JVM that integrates seamlessly with the Java platform. It offers a Java-like syntax, with language features inspired by Smalltalk, Python or Ruby, and lets your reuse all your Java libraries and protect the investment you made in Java skills, tools or application servers. Groovy can be used for various purposes, from adhoc shell scripting leveraging Java APIs, to full-blown web applications built on Spring and Hibernate through the Grails web framework. It can also be integrated very easily in your applications to externalize business logic, create Domain-Specific Languages, or to provide templating, XML parsing capabilities, and much more.

This major release integrates features offered by Java 5: annotations, generics, static imports and enums, making Groovy the sole alternative dynamic language for the JVM that lets you leverage frameworks that use annotations like Spring's @Transactional or JBoss SEAM which both provide extended Groovy support, or generics to help JPA or Hibernate properly handle typed collections.

In this release, new meta-programming capabilities have been contributed thanks to the work of the Grails project developers, pursueing our symbiotic relationship. A few syntax enhancements have also found their way into it to help ease the development of Domain-Specific Languages. A great attention to performance improvements made this new version much snappier than before, as witnessed by a reports we had by teams working on mission-critical applications using Groovy as a business language.

Since Groovy 1.0, the team also worked on improving the tool chain by creating a joint Java / Groovy compiler to let you mix and match Groovy and Java classes in the same compilation step. A GroovyDoc equivalent to JavaDoc lets you document your Groovy classes. The rewritten interactive shell is now really interactive and provides useful command completions for making you more productive, and the Groovy Swing console has also been improved thanks to our talented Swing team and the help of Swing expert Romain Guy.

Apart from improvements or the creation of these new tools, you should have a look at JetBrains' JetGroovy, a fantastic Groovy and Grails plugin which provides advanced coding capabilities to IntelliJ IDEA:

  • syntax highlighting,
  • code completion,
  • scripts and unit tests running ability,
  • debugging capabilities,
  • and even refactorings!

Of course, if you're an Eclipse user, you can still use the Groovy Eclipse plugin, or Sun's work in progress NetBeans plugin for Groovy and Grails.

An upcoming article on InfoQ that will be published in the following days will detail the novelties of this new version in more depth. So, please stay tuned!
In the meantime, you can listen to the interview of Groovy Project Manager and G2One VP Technology Guillaume Laforge that was recorded at QCon 2007, in March, in London, or read G2One's team interview at JavaLobby.

I would like to thank everybody who was involved in this release in a way or another: the Groovy developers for their hard work, patch and documentation contributors, users reporting bugs or requesting new features or improvements, book authors.

Several well-known companies have put great efforts in helping us making Groovy what it is today:

  • IBM: Eclipse plugin improvements and upgrade to support this latest version of the language,
  • Oracle: JMX support improvements to call remote beans as if they were local,
  • Sun: Rooms for our developer meetings, and a wonderful 8-core 8-CPU machine for our high-load concurrency testing,
  • JetBrains: for the joint java/groovy compiler & their awesome plugin,
  • JBoss: for their help on ironing out our support for annotations and generics.

It would be impossible to list everybody, but you're all part of this effort, and you made the success of Groovy and the quality of this new milestone. Thanks and well done to you all!

You can read the detailed JIRA release notes of the changes since the last release candidate.

And now, just download Groovy 1.5 and give it a try: http://groovy.codehaus.org/Download

-
Guillaume Laforge
Groovy Project Manager
Vice-President Technology at G2One, Inc.
http://www.g2one.com


posted on 2007-12-08 09:50 山风小子 阅读(2678) 评论(15)  编辑  收藏 所属分类: Groovy & Grails