I suspect the problem here is that because you are building CMR's they must be in the same ejb.jar file. Because it is across 2 projects I assume this is not the case (both projects build an ejb.jar??) Unfortunately you will likely have to have a single project containing these beans if that is the case. If not you should be able to just include the source of bean B and bean A in the ejbdoclet task.
Al -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dominik Pospisil Sent: Friday, March 18, 2005 10:21 AM To: xdoclet-user@lists.sourceforge.net Subject: [Xdoclet-user] Unidirectional relationship target class source Hi all, I have two Entity EJBs connected by unidirectional relationship, say BeanA and BeanB. These EJBs are held in separate build projects, in separate directory trees, etc. BeanB depends on BeanA, so the relationship is as follows: BeanB ---> BeanA The first step in my build procces is to build project containg BeanA which is OK since BeanA does not know a thing about BeanB. The problem shows when i try to build the project with BeanB. While Xdoclet parses BeanB source file it throws an exception and reports: <<The Bean class is needed but not found in Xdoclet source path for interface cz. ** .LocalBeanA>> My question is. Is the source of BeanA class really needed? Have I missed something? For me it is an important question because I work large project where splitting EJBs to separate build projects is really necessary. Thanx for your answers, Dominik ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ xdoclet-user mailing list xdoclet-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-user ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ xdoclet-user mailing list xdoclet-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-user