- This topic has 4 replies, 2 voices, and was last updated 21 years, 2 months ago by Martin_Kersten.
-
AuthorPosts
-
Martin_KerstenMemberI want to examining the capabilities of xdoclect to support BMP+DAO generation. Currently we are using custom DAO implementations (non-generated). Since it adds a lot of copy and paste to the work, I would like to know how I can enable the XDoclet DAO generation.
I am using the ejb.dao tag to specify the DAO interface name and the DAO implementation name.
But after hitting ‘Run XDoclet’ everything (interfaces, util, BeanBMP) gets created except the DAO and DAO implementation files. Therefore a lot of errors are exposed complaining about missing DAO and DAO implementation files.
Also I would like to use package substitution (substitute ejb with dao) but after adding the required xdoclet tag to the ‘Standard EJB’ configuration, the ‘Run XDoclet’ action throws an unexpected error telling me that the current template does not support package substitution.
Any help would be great… .
Thanks
Scott AndersonParticipantMartin,
This is really a very specific XDoclet question and I must admit I’ve never used it for much more than deployment descriptor generation. Unless another user can help here, I’d suggest seeing what information is available at xdoclet.sourceforge.net or through google searches. We don’t really enhance XDoclet, per se, we just put a GUI on it to ease the configuration a bit. So, if you can figure out what the settings should be with “plain XDoclet”, they should be the same within MyEclipse.
Can anyone else give Martin some pointers on this?
–Scott
MyEclipse Support
Martin_KerstenMemberWell I’ve noticed that MyEclipse 2.6.4 is available (I use 2.6.2). Maybe something changed. What version of XDoclet is shipped within MyEclipse 2.6.2? Maybe it’s an older version then the one shipped within lombozz (where I first used the DAO generation).
Scott AndersonParticipantWe haven’t updated the underlying implementation of XDoclet from 2.6.2 to 2.6.4 because it’s already the latest version available: 1.2.0 beta 3. Although, for whatever reason, the XDoclet distribution from the website tags them as 1.2b4.
–Scott
MyEclipse Support
Martin_KerstenMemberWell then it should work. I will install the JBoss IDE within a new Eclipse installation. I will play around a bit and try to get DAO generation working. It generates everything exept the DAO related methods and classes. A bit weired it is.
I will post a solution if I find one.
-
AuthorPosts