Open EdZilla opened 10 years ago
Yes, we're planning to upgrade the source code to Grails 2.3. It's a non-trivial exercise, but it will get done. It's one of the focus points now that the manuscript is complete and just needs fine-tuning.
And thanks for the list of breaking changes! I wasn't aware of the integration test one.
I'm following along the Hubbub app in the MEAP and implementing it using grails 2.3.x. As I do this I'm finding differences and issues between the grails 2.2.x and 2.3.x and i'm doing my best to figure out the right way to handle these situations.
Hopefully the authors are planning on upgrading the Hubbub app to the 2.3.x version for the book. Grails 2.3.x has some considerable differences and I hope this issue item will help the authors with this upgrade.
Dependency issues: The Spock plugin does not need to be added to BuildConfig The Scaffolding plugin does need to be added to BuildConfig
Test Differences Spock: Since Spock is no longer a plugin, integration tests are different. import grails.test.spock for IntegrationSpec
Artifact generation 2.3.x create-service creates a service that import grails.transaction.Transactional uses @Transactional (rather than static transactional = true)
creates a service spec that extends spock.lang.Specification