News from July, 2007

  2007/07/05
Groovy 1.1-beta-2 with contributions from JetBrains and JBoss
Last changed: Jul 05, 2007 17:13 by glaforge

The Groovy team is pleased to announce the release of Groovy 1.1-beta-2, yet another step on our aggressive roadmap towards the release of Groovy 1.1 in October.

For this release, I would like especially to highlight two key contributions to the project:

  • First of all, after we've added Java 5 annotation support in Groovy 1.1-beta-1, this time, it was generics' turn. Thanks to the help of some JBoss developers who've integrated Groovy in JBoss Seam, we've been able to test our support for annotations and generics, and to make sure we would release a quality milestone to our users. Groovy is the first alternative dynamic language for the JVM that supports annotations and generics, so that you can integrate Groovy with any Enterprise application frameworks like EJB 3 / JPA, JBoss Seam, Google Guice, Spring, etc.
  • Secondly, I'm very happy to report the contribution of JetBrains to the development of Groovy. While working on the IntelliJ IDEA plugin for Groovy and Grails, the talentuous JetBrains team provided us with a joint Java/Groovy compiler! No more nightmare to cleanly separate Java and Groovy code to avoid cyclic references and tedious build configuration, you can now use the Groovyc compiler to compile both Groovy and Java sources in a single step.

Apart from those two great contributions that we have integrated in the project, we've worked on many other areas since the release of the first beta:

  • We have ironed out the usage of Java 5 annotations (for instance annotations for method parameters were missing).
  • As I've already mentioned, we've added support for generics in Groovy, so that the generated bytecode properly includes the reflection information needed at runtime by various tools such as JPA. In the area of Java 5 features, static imports were also available in Groovy in beta-1 to make the code even more concise and readable.
  • Still pursuing the symbiotic relationship between the Groovy and Grails projects, the Grails team has integrated in Groovy its new ConfigSlurper mechanism to configure your applications more easily.
  • The classical for loop is now back in Groovy after a lot of user requests.
  • Named parameters are also now possible on top-level statements, without parentheses, so that expressive code can be written like in: move x: 10.centimers, y: 8;centimeters or fund.compareWith bench: NIKEI, over: 2.months

Apart from that, we also focused on cleaning up the Groovy grammar, improving the code coverage and the performance of Groovy in highly concurrent scenarios for paralle machines. Overall, roughly a hundred bug fixes, enhancements or new features have been integrated in this new release. On the tooling front, the Eclipse plugin recently released version 1.0.1, while the progress on the IntelliJ IDEA plugin has been awesome, you should also check it out.

You can download Groovy 1.1-beta-2 from the download area. You can find the full release notes in our JIRA bug tracker

Thanks to all users, contributors and committers for allowing us to make this great release.

--
Guillaume Laforge
Groovy Project Manager

Posted at 05 Jul @ 4:34 PM by glaforge | 0 Comments
  2007/07/19
Gant 0.3.1 Released

Reasons for a new Gant release:

  1. Gant now allows extra jar files to be added to the class path using the --lib <path> option.
  2. All jars in ~/.ant/lib are now automatically added to the classpath.
  3. If the environment variable ANT_HOME is defined then all ANT_HOME/lib/ant-*jar files are now added to the classpath
  4. Gant now returns an exit code of 1 when there is an error.

So Gant can now more easily deal with Ant optional tasks (which require jars over and above those distributed with Groovy). Groovy ships Ant 1.7.0 and JUnit 3.8.2 so all the Ant core tasks and the junit task are and always were fine. With these new features, it makes it easy to add jars so that the optional tasks can be used in Gant.

The exit code thing was prompted by people wanting to use Gant in continuous integration contexts. Not returning an error code was a bit of a problem. Now fixed.

Downloads for Groovy 1.0 and Groovy Head are available here

Posted at 19 Jul @ 6:04 AM by russel | 0 Comments
  2007/07/20
Groovy Maven Plugin 1.0-beta-1 Released

This release includes a few significants bits...

  • Uses Groovy 1.1-beta-2 (and Ant 1.7)
  • New goal to invoke GroovyDoc and site report support

Some other minor bits, like improved support for mojo implementations and a few bugs fixed too.

Site is still here:

See the change log for the full list of stuff that was changed:

Please use, enjoy and report any issues or spontaneous happiness you run into while using it.

Posted at 20 Jul @ 4:11 AM by Jason Dillon | 0 Comments
  2007/07/26
Windows-Installer for Groovy released

Now Windows-users do no longer have to install Groovy by hand, starting today Grooy versions will also be released as Windows-Installer versions for (hopefully) all Windows version starting with Windows 95 to current Windows versions.

The installer takes care of the gory details of a Windows installation, copying groovy files, setting environment variables and file associations, and copying the native launcher to the correct directory, if the user wants this.

Details of the Windows-Installer including screen shots can be found following this link.

Posted at 26 Jul @ 4:16 PM by Joachim Baumann | 0 Comments

July 2007
Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        

Jul 19, 2007
Jul 20, 2007