poiati / gmongo

A Groovy wrapper to the mongodb Java driver
http://blog.paulopoiati.com/2010/06/20/gmongo-0-5-released/
Apache License 2.0
182 stars 44 forks source link

gmongo 0.9 is compiled with Groovy 1.8 causing errors with Groovy 1.7 #6

Closed graemerocher closed 13 years ago

graemerocher commented 13 years ago

See http://hudson.grails.org/view/All/job/grails_data_mapping/lastCompletedBuild/testReport/org.grails.datastore.gorm.mongo/OneToOneIntegritySpec/Test_persist_and_retrieve_one_to_one_with_inverse_key/

The error is:

java.lang.NoClassDefFoundError: org/codehaus/groovy/runtime/BytecodeInterface8 at com.gmongo.internal.Patcher._convert(Patcher.groovy:64) at com.gmongo.internal.Patcher._patchInternal_closure1(Patcher.groovy:32)

If you compile with Groovy 1.7 then it should be able to run in both 1.7 and 1.8 but if you compile with 1.8 it won't run in Groovy 1.7.

Could gmongo be updated to compile with 1.7 please?

poiati commented 13 years ago

Ok, I will do it tonight.

The version in the maven central repo will be 0.9.1 ok ?

graemerocher commented 13 years ago

Ok by me. Thanks.

poiati commented 13 years ago

Version 0.9.1 available at maven central.