This one tasks creates php pages for me using a velocity template I created.
<middlegen appname="${name}" prefsdir="${src.dir}" gui="${gui}" databaseurl="${database.url}" initialContextFactory="${java.naming.factory.initial}" providerURL="${java.naming.provider.url}" datasourceJNDIName="${name}.database" driver="${database.driver}" username="${database.userid}" schema="${database.schema}">
<java mergedir="${basedir}/src/common" name="editphp" package="${project-package}.${name}" destination="${build.html.dir}">
<fileproducer template="${basedir}/src/templates/php/savepage.php.vm" destination="${build.html.dir}/save" filename="save{0}.php"/>
</java>
</middlegen>
From: "Nicolas Fonnegra" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: <[EMAIL PROTECTED]> Subject: [Middlegen-user] question about extending middlegen Date: Wed, 6 Oct 2004 09:38:12 -0500
Hi, i have been using middlegen for generating simple java files corresponding to tables on my database. Now i am willing to extend it in order to write a method i need in the generated classes. How do I that, wich template must I modify??
thanks for teh help, Nicolas Fonnegra M.
_________________________________________________________________
Check out Election 2004 for up-to-date election news, plus voter tools and more! http://special.msn.com/msn/election2004.armx
------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ middlegen-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/middlegen-user
