Anybody ? 

Could it be classloading issues with gorm/grails bootstrapping in gradle 
testworkers ?
Guess I could try writing my own ant based test task to see if that would work.

Cheers
Magnus

From: [email protected]
To: [email protected]
Date: Wed, 14 Sep 2011 20:35:31 +0000
Subject: [gradle-user] problems running groovy 1.8 spock/spring enabled/gorm 
related tests




Hi !, 

I have a sample project I'm working on. Been working a bit too long in my IDE 
without verifying my gradle build and now I've hit a problem I can't figure 
out.The project is here: https://github.com/rundis/TapestryGorm
I have two testcases that fail with something along the lines of:"name 
'grailsApplication': Invocation of init method failed; nested 
exception is groovy.lang.MissingPropertyException: No such property: static for 
class: groovy.lang.MetaClassImpl"And the exception happens when the test cases 
tries to load a spring application context (which again is supposed to 
bootstrap gralls... or rather gorm standalone)

The tests are using spock 0.6-groovy-1.8-SNAPSHOT (core and spring) and testing 
gorm standalone entities.

The amusing bit is that the tests run fine in idea, so thats why I'm wondering 
if any of you guys have some pointers 
cheersMagnus




                                          
                                          

Reply via email to