Which version of Groovy am I using with this Grails version?

Two nights ago Jack Frosch gave a great summary of the new features in Grails 2.3 at the DFW Groovy – Grails User Group. At the end of the meeting somebody asked him what version of Groovy shipped with Grails 2.3. I could tell by the look on his face he wasn’t sure, so I came to the rescue.

Considering nobody else in the room could answer the question, I figured I would blog my answer. For starters, you have two easy options to get the version of Groovy used in your Grails distribution.

You can simply look at the Grails installation on your workstation. One of the benefits of Grails is that it ships with everything you need to build your webapp, including Groovy. Just drill down into the lib dir and look at the jar file.

Fri Dec 06 13:43 eweibust@RSNPLALT538 ~/dev/hello
$ ls $GRAILS_HOME/lib/org.codehaus.groovy/groovy-all/jars
groovy-all-2.1.6.jar          groovy-all-2.1.6-sources.jar
groovy-all-2.1.6-javadoc.jar

You can also get the version programatically with the following call:

println "groovy version: " + GroovySystem.getVersion()

Which prints:

groovy version: 2.1.6

Hey, Google, you should go ahead and crawl this one. Should be useful to others. ūüėČ

Dallas TechFest 2011 Recap…

Another year, another great Dallas TechFest event…

There were some great new speakers, Ken Sipe was my favorite with his Gradle talks. ¬†The story on Gradle is one worth listening to, regardless, of how ingrained Ant or Maven are at your¬†organization. ¬†The best place to go if you’re new to Gradle is their website. The Gradle documentation is great. ¬†Java “developer-types” can start with this Gradle tutorial geared to building Java projects.

There were also some great returning speakers, I especially liked Arun Gupta, with his Java EE Workshop. ¬†A few years ago, I wouldn’t consider starting a new enterprise Java application without the Spring stack. ¬†To be honest, in my mind, Spring == Enterprise Java. ¬†However, after seeing Arun’s talks the last two years, Oracle and the Java EE 6 stack have rapidly closed the gap on SpringSource, and now just might have a story to tell in the enterprise development space. ¬†I highly¬†recommend¬†you follow Arun on Twitter, or subscribe to his blog. ¬†The content is outstanding and the current Java EE story is really impressive.

This was my first year as a presenter at TechFest, after having been involved as an organizer the past 4 years. ¬†I gave a double session on The Grails Framework. ¬†The attendees were great. ¬†Lots of great participation and an all-around good time was had by all. Don’t forget to tell Tim that you want him to use the website we built next year. ¬†ūüėČ

Grails Workshop - Dallas TechFest 2011
Lastly, I need to add there was numerous great speakers / sessions I didn’t get to see. ¬†Craig Walls, author of Spring in Action (required reading for all Spring developers) and lead on Spring Socialgave two talks in the same slot I was speaking in so I unfortunately missed his talks. ¬†Next year I need to make sure I’m not speaking when Craig is.I guess it’s now time to start getting ready for Dallas TechFest 2012…