vote up
0
vote down

Griffon: new release means new plugins too

During the past weeks there was a series of sneak peeks on features available in the soon-to-be-released Griffon 0.9, as summary: command line application archetypes testing packaging infraestructure runtime The good news is that the latest release has
 
Andres Almiray
Jul 28 2010 11:20 PM
vote up
0
vote down

split Command for DOS/Windows Via Groovy

One of the commands that I miss most from Linux when working in Windows/DOS environments is the split command.  This extremely handy command allows one to split a large file into multiple smaller files determined by the specification of either by
tags: groovy
Jul 20 2010 12:04 PM
vote up
0
vote down

Code Generation on the JVM: Video and Slides

Two weeks ago I spoke at the Chech Java User Group (CZJUG) on the topic of “Code Generation on the JVM”. Some of the technologies covered are Lombok, Groovy, GContracts, Spock, AST Transformations, Spring Roo, and other fun stuff.Links to the slides and
 
Hamlet D'Arcy
tags: groovy
Jul 15 2010 04:37 AM
vote up
0
vote down

Griffon 0.9 sneak peek: runtime enhancements

Today's post on Griffon 0.9 updates is related to runtime enhancements, previous posts were all about build time. Be warned that there are some breaking changes here too, all for the best of course. 1. Addon enhancements The first update has to do with
 
Andres Almiray
Jul 13 2010 02:17 AM
vote up
0
vote down

Griffon 0.9 sneak peek: infrastructure updates

The fifth installment on the Grifofn 0.9 sneak peek series is about the framework's infrastructure, where the most radical change is the location of the buildtime configuration, so let's start with that one. 1. Configuration Early releases of Griffon
 
Andres Almiray
Jul 09 2010 12:46 AM
vote up
0
vote down

Grails pitfall: Proxies and inheritance

When using inheritance in a lazy fetched association, proxies are a common pitfall in Grails.
 
jenslukowski
Jul 06 2010 08:41 PM
vote up
0
vote down

Slimmed Down Software – A Lean, Groovy Approach Part 2 – Build Quality In

The 2nd part of "Slimmed Down Software - A Lean, Groovy Approach" is posted over on the Canoo Blog. This was originally printed in GroovyMag, and parts 3 and 4 are available now from the GroovyMag website. If you like it then be sure to vote at DZone.
 
Hamlet D'Arcy
tags: groovy
Jul 06 2010 07:05 AM
vote up
0
vote down

Groovier Java RegEx Token Determination

In my last blog post, I looked at using a simple Java application to determine which characters would work as desired for splitting a String with String.split. Simple utilities like this one are often a perfect fit for Groovy and in the blog post I show
tags: groovy
Jun 23 2010 09:24 AM
vote up
0
vote down

Unit Testing Groovy AST Transformations

Writing AST transformations and therefore modifying Groovy's compilation process is pretty easy. But when it comes to testing Groovy AST transformations things can get tricky. This article introduces AST transformation testing concepts currently used by
 
andresteingress
Jun 18 2010 11:35 AM
vote up
0
vote down

Slimmed Down Software – A Lean, Groovy Approach Part 1 – Eliminate Waste

GroovyMag is currently running a 7 part series I wrote called "Slimmed Down Software - A Lean, Groovy Approach". Part 1 started in the April 2010 edition, and now that it is June the copyright has reverted back to me and I get to self publish it on the
 
Hamlet D'Arcy
tags: groovy
Jun 07 2010 09:11 AM
vote up
0
vote down

Gradle Introduction

I love Gradle (http://www.gradle.org)! Gradle introduces so many needed concepts to the world of build scripts and allows developers enough flexibility to either customize to the Nth degree or simply use cookie cutter build scripts. I have added notes
 
Rob Castellow (President / Consultant)
tags: groovy
May 25 2010 07:24 AM
vote up
0
vote down

Griffon 0.3.1 released at Gr8conf

The latest version of the Griffon framework (0.3.1) was released last Wednesday live on stage at Gr8conf Copenhagen! You'll find a couple of new features and a handful of bugfixes, but perhaps most importantly, the immediate availability of the Griffon
 
Andres Almiray
May 22 2010 01:17 AM
vote up
0
vote down

Groovy and STM

Yesterday evening I was playing with some initial support for Groovy in Multiverse; a software transactional memory implementation for Java. And with the help of Alex Tkachman is was easy to get up some initial support. If you want to have a
May 19 2010 01:24 PM
vote up
0
vote down

A small improvement to GroovyConsole

If you're a Mac user you've probably noticed that running a Java based application results in a default icon being placed in the dock. Groovy's console application is no exception, as the following pic bears witnessHowever, fixing this issue is simple;
 
Andres Almiray
tags: groovy
May 04 2010 02:33 PM
vote up
0
vote down

Does Groovy Know You Are Seeing Clojure?

In the intervening 30 years since starting out on a TRS-80 Model 1, nothing had been more difficult in terms of solving even the most trivial of problems than learning Clojure.
May 02 2010 06:00 AM
vote up
0
vote down

Hackergarten #2 + Griffon

The second installment of the Hackergarten just took place this Friday, an excellent way to end the month and a working week if I may add. What is Hackergarten you ask? In brief, a group of people like you and me that come together to tackle a problem by
 
Andres Almiray
May 01 2010 09:48 PM
vote up
0
vote down

Latest EasyGSP Release

The latest release of EasyGSP, 0.4, adds the following features: Failover/Loadbalancing clustering Template Inheritance Better class reloading Implicit method for sending email, and for formatting Dates Clustering This feature is a necessity for
 
d1515
tags: groovy
Apr 29 2010 07:47 PM
vote up
0
vote down

Curious about Grovy and Eclipse?

If so (and if you have the time) then please consider the following webminar by yours truly: Groovy for Java Developers. The event date & time is May 11th at 3pm GMT. Here's the quick abstractGroovy is a dynamic language that runs on top of the JVM,
 
Andres Almiray
tags: groovy
Apr 28 2010 07:01 PM
vote up
0
vote down

Spock Framework Mock Objects: Better Groovy Based Testing

I wrote an article on the Canoo blog called "Spock and Test Spies: A Logical Choice". If you are interested in alternative (and better) mock object frameworks in Groovy then check it out. Spock is a heavy user of Groovy AST Transformations, so those
 
Hamlet D'Arcy
tags: groovy
Apr 21 2010 04:05 PM
vote up
0
vote down

Groovy++ goes APL 2.0!

Groovy++ goes APL 2.0! This is obviously great news to Groovy/Groovy++ community.
 
Evgeny Goldin
Apr 19 2010 12:10 PM
vote up
0
vote down

Groovy Grape – Adding Dependencies to Root ClassLoader

When using grape in groovy to download dependencies and add to classpath, they will by default be added to the GroovyClassLoader when the script is run. This can be a problem, if these dependencies needs to be uses from classes higher in the classloader
 
polesen
Apr 19 2010 08:40 AM
vote up
0
vote down

Groovy and Hibernate Validator for Dynamic Constraints

I was reading this article about hibernate validator today and it inspired me to apply a little Groovy to the problem of validating a bean. More specifically, finding out how hard it would be to apply different validation rules to the same classes at
Apr 18 2010 09:17 PM
vote up
0
vote down

Integrating Groovy in Legacy Spring Applications

Spring comes with support for Groovy out-of-the-box. How this is realized and why you want to choose alternative approaches is handled by this article.
 
andresteingress
Apr 13 2010 09:36 PM
vote up
0
vote down

Find the bug: Groovy and autogenerated equals

Every program has bugs. Even autogenerated code from IDEs. Can you spot this one?
 
jenslukowski
Apr 13 2010 02:08 PM
vote up
0
vote down

Groovy vs Scala [vs JRuby vs Closure vs Jython]

I'm planning to broaden my perspectives in JVM platform, and I've got a dilemma: what should I learn first? Could you please explain, what are the advantages of Groovy, Scala and other languages for JVM? Thanks.Answer:Chosen as BestJRuby and Jython. Both
tags: groovy
Apr 11 2010 03:04 PM
vote up
0
vote down

What are the key differences between Scala and Groovy?

They're both object oriented languages for the JVM that have lambdas and closures and interoperate with Java. Other than that, they're extremely different.Groovy is a "dynamic" language in not only the sense that it is dynamically typed but that it
tags: groovy
Apr 11 2010 01:06 PM
vote up
0
vote down

REST and XML using Spring MVC and Groovy

There's one particular thing Groovy is really good for and that is working with XML. When I started playing around with the REST support in the latest version of Spring MVC I wanted to try using Spring for the controller infrastructure and delegate to
 
Mattias Hellborg Arthursson
Apr 09 2010 05:02 PM
vote up
0
vote down

Groovy 1.7.2 - Three Features Worth the Upgrade

Groovy 1.7.2 was released 22 hours ago, so by now you have surely spent hours playing with the new bits and combing through the release notes looking for new nuggets of productivity.Or maybe not.For all those busier than me, here are the top 3 reasons to
 
Hamlet D'Arcy
tags: groovy
Apr 09 2010 12:06 AM
vote up
0
vote down

Slimmed Down Software – A Lean, Groovy Approach in GroovyMag

The newest issue of GroovyMag is hot off the presses, and it contains the first of seven articles on Lean Software and Groovy.The title is “Slimmed Down Software – A Lean, Groovy Approach Part 1 – Eliminate Waste”, and from the article:The Groovy
 
Hamlet D'Arcy
tags: groovy
Apr 07 2010 09:33 AM
vote up
0
vote down

Java Loses No.1 Rank Amongst Programming Languages — A Matter Of Concern?

The TIOBE Programming index for April 2010 says that C is back at the No 1 position and the main reason is said to be the decline of Java which is showing a long-term downward trend. I am sure this will get reported as evidence of the end of Java being
 
Harshad Oak
Apr 06 2010 10:27 PM
vote up
0
vote down

gcontracts 1.0 released

gcontracts 1.0 released!
 
andresteingress
Apr 01 2010 01:58 PM
vote up
0
vote down

Contracts in the Domain Model

This blog-post gives a brief introduction to contract-oriented programming aka design by contract in general and in relation to Groovy with gcontracts assertions. The Problem With each Grails application generation of test-cases is simply part of the
 
andresteingress
Apr 01 2010 12:30 AM
vote up
0
vote down

Gradle Plugin Conventions: Groovy Magic Explained

Hackergarten last Friday was a big success. About 10 of us (not all Canooies!) stayed up late and created an Announce plugin for Gradle. In the 0.9 release you will be able to announce build events to Twitter, Snarl, and the Ubuntu notification service
 
Hamlet D'Arcy
tags: groovy
Mar 31 2010 12:33 PM
vote up
0
vote down

What Is Groovy++? How Does It Compare With Java and Groovy?

While some find Groovy language still in its infancy, others know that there is now Groovy++ and are all eyes and ears on what “++” of the language is going to bring, which itself was touted by some as Java++. I have been very curious to know
 
Roshan Dawrani
Mar 29 2010 04:07 PM
vote up
0
vote down

Contract-Oriented Programming with Groovy

contract-oriented programming or design by contract is a feature that is rarely found in main-stream programming languages like Java or C#. gconstracts provides a library which adds support to contract-oriented programming with using closure annotations
 
andresteingress
Mar 27 2010 03:00 AM
vote up
0
vote down

Multi-level ternary operator

Love one. Can’t be easily debugged, probably .. But reads very nicely: String getScmClass() { ( this.@scmClass == 'svn' ) ? 'hudson.scm.SubversionSCM' : ( this.@scmClass == 'git' ) ? 'hudson.plugins.git.GitSCM' : [...]
 
Evgeny Goldin
Mar 24 2010 05:07 PM
vote up
0
vote down

Unrolling Spock: Advanced @Unroll Usages in 0.4

Some of the Spock Framework 0.4 features are starting to see the light of day, with the Data Tables being explained last week in a nice blog post from Peter Niederwieser. One of the new features that I had not seen before is the new advanced @Unroll
 
Hamlet D'Arcy
tags: groovy
Mar 24 2010 01:12 AM
vote up
0
vote down

EasyGSP & MVC

In EasyGSP there are 2 styles in which you can code an application, MVC or template(ie straight PHP/JSP/ASP style). Wait, just in case you don’t know about EasyGSP, you can read about it here: http://www.easygsp.com There are benefits to both, but
 
d1515
tags: groovy
Mar 22 2010 05:37 AM
vote up
0
vote down

Using Groovy++ with Maven – an update

Joern Schimmelpfeng has correctly pointed out about transitive dependencies that may be added to org.codehaus.groovy:groovypp, eliminating the need to specify them explicitly. He’s right! That’s what we have Maven dependencies mechanism
 
Evgeny Goldin
Mar 22 2010 01:40 AM
vote up
0
vote down

Using Groovy++ with Maven

Note, an update is available. Groovy++ artifacts are now deployed in Maven repository at: http://groovypp.artifactoryonline.com/groovypp/libs-releases-local/ and http://groovypp.artifactoryonline.com/groovypp/libs-snapshots-local/   So you can
 
Evgeny Goldin
Mar 18 2010 09:15 AM