> 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. > Should I run any special ant task? Nope. 'ant middlegen' should do the generation for you.. Regards .eivindw > 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 > middlegen-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/middlegen-user > > ------------------------------------------------------------------------- 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 middlegen-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/middlegen-user