[grails-user] How do I commit to my database from a GANT script?

by rmzon 2009-07-01T07:18:32+00:00

Hi.
I have written a grails program, and I needed a database backup/restore
mechanism, so I wrote something to dump and restore the database using XML
serialization. Wrote a service that does the backup dump/restore. Wrote
integration tests to check that things worked, and they do.
Then I figured that I should create a couple of scripts to do dump/restore.
Simple enough I thought. The dump script works fine, dumps things to stdout.
The restore script probably does the right thing (judging from trace
output), but the database remains unchanged. It seems that the changes I do
in the restore script are not committed. Any ideas about where I should
look for enlightenment?
(I'm using grails 1.1-RC2 on wxp sp3)
The dumper script:
==============
includeTargets