Hello Dmitri, Thank you for the quick and accurate response. I use Xdoclet 1.1.2. No, the abstract base class was not in the same source folder. It seems that this was the problem.
After copying my framework sources (including the abstract base class) to the src-folder that Xdoclet uses the callback methods are generated correctly. They all call super() in their body. It's just a matter of beauty, but can I tell Xdoclet not to generate them at all ? Btw. I used Xdoclet for the first time and I had the following problems: * There's no documentation on how to install Xdoclet (where to put the jar-files) for Ant. * I had some strange problems with code generation (like the empty callback handler bodies, empty deployment descriptors etc.). I think that it would be useful if the Xdoclet ant tasks produce a little bit more output that can be used ot track down problems. All of these problems were related to configuration and setup issues (classpath and/or src-folder visibility), so I think that it's a good idea to add some more "getting started" documentation. However, Xdoclet saved me a lot of time and work. Thanks for it ! Regards Nikolaus From: Dmitri Colebatch <[EMAIL PROTECTED]> Re: Entity bean callback methods 2003-03-16 22:58 Nikolaus, No straight answer as yet, but some questions: What version of xdoclet are you using? Is the abstract superclass source code in the src directory that you give to XDoclet The behaviour you're seeing isn't what 'should' happen, I would imagine that something is wrong with your build file. cheers dim ----- Original Message ----- From: Nikolaus Rumm To: [EMAIL PROTECTED] Sent: Monday, March 17, 2003 9:06 AM Subject: [Xdoclet-user] Entity bean callback methods Hello, I have some trouble with the XDoclet generated entity beans. First of all all my entity bean classes are derived from an abstract base class that implements i.e. the usual callback methods. The problems are... 1) The callback methods (ejbLoad,...) are always generated, even if they are already present in the base class. Is there a way to omit their generation ? 2) Even worse the entity context accessors (get/setEntityContext) are always generated with an empty body (they don't even call super). Is there a way to omit their generation ? Any hint is appreciated Regards Nikolaus ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user