Over the weekend I needed to write a script in groovy which first downloaded a file from a remote webserver then, if that file was retrieved & different copy it to a final location. Now as Groovy is based on Java you could have done this in the usual manner but I wanted to find […]Read more "Downloading URL or copying Files using Categories in Groovy"
In this article I’ll briefly cover how to use Groovy to generate java sources as part of a maven build. There are times when you need to generate Java source which is either repetitive, based on external data or both. Now there are tools out there for some tasks like this, but for most simple […]Read more "Using groovy to generate java sources in maven"