I'm fairly new to Spring Roo. I've most recently been working with Grails and was wondering if there is equivalent functionality in Spring/Roo to Grails' BootStrap.groovy (allows you to run random code on application startup). I'm porting over an app from Grails to Roo and I was using BootStrap.groovy to load sample data which is used during development to manually test the interface. I'm currently running a SQL script to load the sample data whenever I rebuild/restart the app but that's getting to be a PITA.
I've seen the data on demand functionality but that looks like it is intended solely for automated integration testing. I also saw this thread http://forum.springsource.org/showthread.php?t=89664 so I'm guessing that I might be out of luck in the short term.
Any advice greatly appreciated.
Gary


Reply With Quote
