Help get this topic noticed by sharing it on Twitter, Facebook, or email.

Are there any plans to support Groovy in the future?

Support for other JVM languages would be hugely useful.
As my current employer is using a Groovy on Grails stack, I can't use your awesome tool.
7 people like
this idea
+1
Reply
  • no groovy plans yet, but I would like see how many votes this gets.

    that said if you have java code intermixed with groovy, you can tell chronon to record just the java portions.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited kidding, amused, unsure, silly sad, anxious, confused, frustrated indifferent, undecided, unconcerned

  • I'd love to see Groovy/grails support!

    Actually, I did some tests (just got Chronon a couple of days ago), and there doesn't seem to be a fundamental problem using it with Groovy. Unfortunately, while regular methods worked quite well, I couldn’t figure out how to record closures. But maybe there is a way, closures are objects after all. Maybe you could give it a try?

    In Grails, all controller actions are closures (at least until the release of 2.0), which makes it hard to work with.

    I also had a NPE in InstrumentationCode:

    java.lang.NullPointerException
    at com.chronon.sb.recorder.instrument.InstrumentationCode.a(Unknown Source)
    at com.chronon.sb.recorder.instrument.InstrumentationCode.a(Unknown Source)
    at com.chronon.sb.recorder.instrument.InstrumentationCode.createNewMultiArray(Unknown Source)
    at de.codex.w2p.FormService.buildFormStatus(FormService.groovy:117)

    If you need more details, let me know!

    Michael
    • Thanks for reporting this. We will look into this exception and make sure it goes away in the next update :)

      That said, we would need to see a lot more votes to start looking at groovy right now...... :(
    • I understand, Groovy is not main stream enough to look into it right now. Then again, Groovy is very close to Java, and it seems to work well with Chronon except Closures.

      But Closures are classes/objects as well, so maybe it's just a naming problem. I will check with the Groovy community to find out what's special about Groovy Closures - my gut tells me it's probably a trivial problem to solve.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly sad, anxious, confused, frustrated happy, confident, thankful, excited indifferent, undecided, unconcerned