[Opensource] Using Expresso with Tomcat, MySQL, Eclipse and Ant

larry hamel expresso at codeguild.com
Mon Apr 7 12:38:10 PDT 2003


no need to unregister schema.

if you do db setup AFTER making dbobject changes, setup will make all possible changes and tell you what it cannot do.  then i typically use a mysql admin program (www.webmin.com) to modify or drop specific tables if necessary, then run dbsetup again.

of course, with enough changes, dropping the whole db is efficient.

good luck,

larry

At 05:55 AM 4/7/2003, you wrote:
>Hi all,
>I am new to Expresso Framework, and am trying to build a webapplication 
>with it. I have this basic question - I have searched the archives and 
>couldn't find an answer.
>
>I use Expresso with Tomcat and MySQL and I have build my own Schema, 
>DBObjects, JSPs etc. My question is - what are the suggested "best 
>practices" for using Expresso with Tomcat, MySQL, Eclipse/XEmacs and Ant? 
>Can someone point me to some URL that discusses this? Or any insight from 
>people who have been using this combo?
>
>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?
>
>Or can someone outline a more efficient development methodology?
>
>TIA,
>Binil
>
>-- 
>Binil Thomas                           binil-at-siptech-dot-co-dot-in
>SIP Technologies & Exports Ltd.,       Ph:  044-22541573/4 x319
>G4 Elnet Software City, Chennai-113    http://www.siptech.com/
>"A bug is a feature that didn't make it into the manual"
>
>_______________________________________________
>Opensource mailing list
>Opensource at jcorporate.com
>http://mail.jcorporate.com/mailman/listinfo/opensource
>Archives: http://mail.jcorporate.com/pipermail/opensource/




More information about the Opensource mailing list