Groovy Quickie: AST Transformations and TypeResolver NPs

I have seen this exception every now and than, but today I write this blog post mainly to remind myself of the error cause (and share it with the reader,...

@TypeChecked, @CompileStatic and GContracts

As of version 1.2.9 GContracts [0] - a Design by Contract library - supports Groovy's @CompileStatic and @TypedChecked annotations. With Groovy 2.0, @CompileStatic can be used to execute type...

GContracts 1.2.9 Released!

I am proud to announce that GContracts 1.2.9 has just been released and is available in the Central Maven repository [0] and at Github [1]. This release covers...

Groovy Extension Modules

One of Groovy's strengths is its ability to decrease clue code and API flaws by providing additional API methods for JDK classes. For example, instead of creating a reader and...

[German] JavaMagazin: Groovy goes 2.0

Ich durfte für den Groovy Schwerpunkt in der aktuellen Ausgabe des JavaMagazins [0] den Coverartikel verfassen. Neben dem Überblick auf...

Groovy 2.0: Love for Grails Command Objects

Grails supports command object binding [0]. Request parameters are bound to properties of a given command class. From this context, a special-case is the use of lazy list properties....

Grails - Multiple Log4j Configurations

This is a quick tip that I found very useful and - to my knowledge - is not part of the Grails documentation by now. So let's spread the word...