dickiedyce Posted March 28, 2011 Posted March 28, 2011 Hi, just wondering if anyone know why println org.codehaus.groovy.runtime.InvokerHelper.getVersion() returns nothing when executed? I have some groovy code that fails to execute, but some of the error messages ( e.g. not being able to cast to a TreeSet, or no definition for java.util.LinkedHashMap.leftShift() ) seem to imply that it's not a current version. I just wanted to test see, what version of groovy is included, but I can't seem to get it to cough... ;-)
Smef Posted March 28, 2011 Posted March 28, 2011 We are currently using Groovy 1.7.6 with scriptmaster 4.
john renfrew Posted March 30, 2011 Posted March 30, 2011 This is what you are looking for.. return GroovySystem.getVersion()
Recommended Posts
This topic is 4999 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now