-
1. Re: XDoclet doesn't generate ejb files
raja05 Dec 4, 2003 11:28 AM (in response to petrus)You need to have
in the ejbdoclet tag to render Session EJB information.
-Raj -
2. Re: XDoclet doesn't generate ejb files
petrus Dec 5, 2003 3:39 AM (in response to petrus)I tried it but it doesn't work either. Moreover, if I declare an entity bean, no files are generated either.
thanks anyway. -
3. Re: XDoclet doesn't generate ejb files
darranl Dec 5, 2003 7:36 AM (in response to petrus)It looks to me as if your bean is not being seen by XDoclet at all.
I think I can remember a while back specifying the type of the bean in lower case and getting an error saying the type was invalid. (Should have been 'Stateless') -
4. Re: XDoclet doesn't generate ejb files
petrus Dec 5, 2003 9:35 AM (in response to petrus)I found the problem, and of course that was a stupid one : my fileset was bad.
but there is still something I don't understand.
${src.ejb.home} = /src/ejb
${src.home} = /src
my ModelSessionBean.java is in /src/ejb/
CASE 1 :
-----------
it works :)
CASE 2 :
------------
That doesn't work.
Why don't they describe the same files ?
px -
5. Re: XDoclet doesn't generate ejb files
raja05 Dec 5, 2003 9:39 AM (in response to petrus)Because ur package name is ejb and when u specify
it looks for a directory called ejb and a file called *Bean.java in it which it cannot find (as ur bean is in the ejb directory). If u wanted Xdoclet to use this, create a package called ejb under ur /src/ejb folder and place the file in there.