Hi, > Now, the entity bean gets a dd entry of "ejb/Foo" while the > Session bean (BlaBean) gets an entry of "test/Bla" (test is the > package). > When I e.g. change the jndi-name from "Bla" to "ejb/Bla", the > dd entry will change to "test/ejb/Bla". > > Is this on purpose? How could I prevent this?
It looks like this came from the fact that in the EB, the import statement for the Class (javax.ejb.EntityBean) was before the Xdoclet attributes, while in the Session Beans, this import was after the comment section. For the compiler this does not matter, but for Xdoclet. Unfortunately, Xdoclet does not complain when it did not see the import before the comment section, which also leads to the point that invalid types of the @ejb.bean attribute (e.g. type="blabla") are not reported but silently set to the default. I filed this in a comment to XDT-205 (which else looks like XDT-2). Heiko -- Bancotec GmbH EMail: [EMAIL PROTECTED] Calwer Str. 33 Telefon: +49 711 222 992 900 D-70173 Stuttgart Telefax: +49 711 222 992 999 Ein Unternehmen der Cellent AG http://www.cellent.de/ ------------------------------------------------------- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/ _______________________________________________ Xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
