Discussion:
[Middlegen-user] create just hibernate.cfg.xml
gdilem\@libero\.it
2007-05-16 14:14:41 UTC
Permalink
How to create just hibernate.cfg.xml?
Should I run any special ant task?
Regards


------------------------------------------------------
Leggi GRATIS le tue mail con il telefonino i-mode™ di Wind
http://i-mode.wind.it/
e***@colargol.tihlde.org
2007-05-21 07:03:35 UTC
Permalink
Post by gdilem\@libero\.it
How to create just hibernate.cfg.xml?
Inside the "middlegen" target in the build xml, comment out the parts you
don't need. You typically want to get rid of <cmp20..>, <sunjdo10..>,
<html..>, <simple..>, <struts..>, <adapter..> and <torque..>.

Only thing that should be left inside the middlegen target is the
<middlegen> task itself plus the <hibernate> section.
Post by gdilem\@libero\.it
Should I run any special ant task?
Nope. 'ant middlegen' should do the generation for you..

Regards
.eivindw
Post by gdilem\@libero\.it
Regards
------------------------------------------------------
Leggi GRATIS le tue mail con il telefonino i-mode™ di Wind
http://i-mode.wind.it/
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
middlegen-user mailing list
https://lists.sourceforge.net/lists/listinfo/middlegen-user
Loading...