Middlegen currently only supports XDoclet syntax. I guess you could add support for EJBGen quite easily by looking at the existing velocity template for ejb and changing this.
I suggest you get and build Middlegen from cvs: http://boss.bekk.no/boss/middlegen/cvs-usage.html Then look at the template file which generates the ejb files: http://cvs.sourceforge.net/viewcvs.py/middlegen/middlegen/plugins/entitybean/src/middlegen/plugins/entitybean/entity-cmp-20.vm?view=markup (plugins/entitybean/src/middlegen/plugins/entitybean/entity-cmp-20.vm) Change this to make a version for EJBGen. .eivindw > Hi, > > I want to use the MiddleGen with EJBGen for generating the EJBS. > I found the following article. > http://mail-archive.objectweb.org/dods/2001-10/msg00031.html > > Middlegen - Source code generator for XDoclet/EJBGen > > How can i generate EJBGen annotations using MiddleGen? > > Any pointers are highly appreciated, > > Thanks in Advance. > > Regards, > Chendra. > > > > > --------------------------------- > Enjoy this Diwali with Y! India Click here ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ middlegen-user mailing list middlegen-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/middlegen-user