This content has been marked as final.
Show 2 replies
-
1. Re: can seam-gen create the db too?
dan.j.allen Apr 14, 2009 1:04 AM (in response to gonorrhea)So you want the update schema task to run, but for it to run before you start the application (using a target in Ant)? We can certainly use hibernate tools from Ant. That's how seam-gen does it's reverse engineering magic after all. Care to give it a try?
Or are you asking for a target to run an arbitrary SQL script? In that case, you can absolutely add that to your Ant build. It's not really seam-gen specific.http://ant.apache.org/manual/CoreTasks/sql.html
-
2. Re: can seam-gen create the db too?
gonorrhea Apr 14, 2009 3:06 AM (in response to gonorrhea)The latter. It would be seam-gen specific if it was part of the seam setup (interview) and related functionality to create the db, tables, etc.
We'd like everything to be read db-wise and revengr-wise by the time the Seam dev imports the seam-gen'd project in JBDS...