[Opensource] Using Expresso with Tomcat, MySQL, Eclipse
and Ant
Michael Rimov
rimovm at centercomp.com
Mon Apr 7 11:15:31 PDT 2003
At 06:25 PM 4/7/2003 +0530, you wrote:
>Right now, whenever I make changes to my DBObject or Schema I unregister
>the Schema in the Web UI, shutdown Tomcat, drop my DB, create a new
>DB, restart Tomcat, register my Schema, and run setup. Sure, I am behaving
>paranoid here but "better safe that be sorry" is my policy :-). I can
>write Ant targets for all of these except the register/unregister Schema
>part - so, is there any known Ant tasks/targets that do this?
Binil,
If you change a schema and only add a new DBObject, you can just re-run
DBCreate [on the setup page] and the new dbobject will be created and
default security added.
Same goes if you modify a Controller's States.
The only real issue is when you modify the definition of a DBObject [ie
modify the setupFields]. Right now the easiest way is to run Component
Manager on the Applications page, remove your schema, and then reinstall
it. You don't need to drop the db, create a new one, etc etc etc.
HTH!
-Mike
More information about the Opensource
mailing list