The Griffon Trove: what version are you running? - No Fluff Just Stuff

The Griffon Trove: what version are you running?

Posted by: Andres Almiray on February 19, 2012

Welcome to a new series of posts regarding Tips & Tricks about Griffon.

The Griffon team decided to leave a late San Valentin present in the form of Griffon 0.9.5-rc1. This particular release includes plenty of updates to the build system and the command line tools. And here comes the first tip, which is enabled in the 0.9.5.x series: how can you tell which version of Griffon you're currently running? Moreover, how can you tell which Groovy version it relies upon?

The answer lies in using the --version (or -v) flag with the griffon command, and no arguments. For example, running the griffon command in my current setup with this flag turned on yields the following output
For plugin authors, this information is available at buildtime only as static properties found in the class org.codehaus.griffon.cli.GriffonEnvironment.

Keep on Groovying!

Andres Almiray

About Andres Almiray

Andres is a Java/Groovy developer and a Java Champion with more than 20 years of experience in software design and development. He has been involved in web and desktop application development since the early days of Java. Andres is a true believer in open source and has participated on popular projects like Groovy, Griffon, and DbUnit, as well as starting his own projects (Json-lib, EZMorph, GraphicsBuilder, JideBuilder). Founding member of the Griffon framework and Hackergarten community event. https://ch.linkedin.com/in/aalmiray

Why Attend the NFJS Tour?

  • » Cutting-Edge Technologies
  • » Agile Practices
  • » Peer Exchange

Current Topics:

  • Languages on the JVM: Scala, Groovy, Clojure
  • Enterprise Java
  • Core Java, Java 8
  • Agility
  • Testing: Geb, Spock, Easyb
  • REST
  • NoSQL: MongoDB, Cassandra
  • Hadoop
  • Spring 4
  • Cloud
  • Automation Tools: Gradle, Git, Jenkins, Sonar
  • HTML5, CSS3, AngularJS, jQuery, Usability
  • Mobile Apps - iPhone and Android
  • More...
Learn More »