Did a bunch of work on Autobase tonight, culminating in a v0.8.1 release.
- First, I upgraded to Grails 1.1b3. This wasn’t that big a deal, except they moved the staging directory on me, so I had to shift to using
stagingDiron theeventWarStartto populate the war. That was on the to-do list for Autobase anyway, so it’s good it got done. - I also added a bit of a short-cut for things that have raw bodies (like the “sql” change) — bare string arguments will be set to the “sql” property. This isn’t the best solution for that, but the best solution involves upstream changes in Liquibase — it needs to somehow signal that a body is expected and what property to set with that body. Or (less OO-y), simply a helper object that takes the change and the string and applies it appropriately. This is probably coming in Liquibase 1.10, so the “sql” stopgap is only temporary.
- I fought again with the whole
column/whereproblem. ThemethodMissingdispatching was introducing arrays (instead ofArrayLists), missing existing methods, and other weirdness. I punted over togroovy.util.Proxy, but discovered that a proxy of a proxy fails. So I had to leave the dirty hack in place, because I just can’t get the meta-object magic to work.
Related posts: