Grails: publish a plugin in a self-hosted maven repository

junio 10, 2013 at 10:08

Introduction and usage example of Grails Plugin Maven Deployer, a small scripting tool I created. The tool allows you to publish a plugin in a self-hosted maven repo by packaging it as a JAR file.

New Grails plugin – Timestamped

junio 3, 2013 at 09:46

A Grails plugin to inject the auto-timestamp properties using a configurable, joda-time compatible AST transform that can be used both by a project and by other plugins.

Grails – small and simple method to convert objects to JSON

enero 12, 2013 at 11:03

I was playing around with Grails and JSON and came up with a small method to convert a given collection of objects into JSON (typically, domain class objects, but it would work with anything). It’s nothing new or fancy, but maybe usefull for anybody who is starting to explore Grails [...]

Grails – generic methods for equals and hashCode calculation

diciembre 27, 2012 at 23:11

In modern versions of Grails, you can use the Groovy annotation EqualsAndHashCode for generating the equals and hashCode methods of your domain classes using an AST transformation, but if you are in any 1.x.x Grails version (that uses a Groovy version prior to 1.8.0), you won’t be able to use [...]

Grails Puppet module

noviembre 13, 2012 at 15:31

A Grails puppet module made by OSOCO, that allows you to install diferent Grails versions in a puppet node. Has been tested with Debian and Gentoo, so it should work with Ubuntu as well, and has it source code available in Github (so it’s free software).

Android GCM Sender

noviembre 12, 2012 at 10:46

Android GCM Sender, a webapp that allows you to send configurable push notifications to your Android devices. Developed in Grails using the Grails Android GCM plugin and Ajaxify, and hosted in Heroku.

Grails: how to see what objets are in Hibernate session

noviembre 5, 2012 at 19:52

Sometimes, when your Grails controllers and services relationships get complex and you do bad stuff (even without explicitly doing it! you gotta love all this magic ), Hibernate throws you lovely exceptions like the following (this is one of the most common, but there are more of them): org.hibernate.TransientObjectException: object [...]

Grails Android GCM Plugin

octubre 31, 2012 at 13:27

Grails Android GCM Plugin: send push notifications to Android devices in your Grails app