This is the same for all plugins Create a file called
middlegen\plugins\hibernate\hibernate-dao.vm and add the root of that to your classpath before the hibernate plugin jar and this file will be used instead of the one included in the hibernate plugin jar. So for example <path id="build.classpath"> <pathelement path="template-override\" /> <fileset dir=".\lib" > <include name="*.jar" /> </fileset> </path> Where the directory structure looks like this template-override\middlegen\plugins\hibernate\hibernate-dao.vm If there are things that are missing that you would like to see in the hibernate dao generation, then let us know or submit an updated version. You should get the one from CVS because there have been many improvements to it. Ben Quoting "johann.pavis" <[EMAIL PROTECTED]>: > Does someone know how to use a custom template for the > hibernateDAO ant task ? thx=0A=0AAcc=E9dez au courrier =E9lectronique de = > La Poste : www.laposte.net ; =0A3615 LAPOSTENET (0,34=80/mn) ; t=E9l : 08= > 92 68 13 50 (0,34=80/mn)=0A=0A > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > middlegen-user mailing list > middlegen-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/middlegen-user > ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ middlegen-user mailing list middlegen-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/middlegen-user