- This topic has 4 replies, 2 voices, and was last updated 21 years, 5 months ago by jcorbin.
-
AuthorPosts
-
jcorbinMemberI have an ear project with a single ejb module. I configured the xdoclet information and then executed the run xdoclet from the right-click menu. I get the following error and am not sure why.
[ejbdoclet] C:\eclipse\workspace\OrganizerEJB\src not found.
My ejb source directory is “EJB Module”. I’m not sure why it is looking for a src directory. Is there a configurable item that I missed somewhere????
J.D.
Scott AndersonParticipantJ.D.
There’s an XDoclet configuration in the ejbdoclet that tells it what the path to the source directory is. It is src by default. I forgot the exact property name, but it’s something obvious like ‘sourceDirectory’
–Scott
MyEclipse Support
jcorbinMemberScott,
I found the src attribute and changed it from “src” to “EJB Module”, then I clicked apply.
I re-executed ‘run xdoclet’ and it doesn’t appear that the xdoclet properties dialog updates the xml file after a change is made.
I went back into the xdoclet properties editor and the src attribute was still selected with a value of ‘EJB Module’.
I then looked at the xml file that is generated from this editor and the destination directory property was still set to ‘src’. I manually changed this property to ‘EJB Module’, reran ‘run xdoclet’ and it ran fine.
This seems like a bug to me… 🙂
J.D.
Scott AndersonParticipantJ.D.
Can you check your log file at <workspace>/.metadata/.log and see if it contains any stacktraces? If so, please mail them to our support address (support@myeclpseide.com)
I’ll post any followups back to this thread.
–Scott
MyEclipse Support
jcorbinMemberScott,
I am going to try it one more time from a new EJB. After I started changing the attributes, the run xdoclet task wouldn’t generate anything. I will also clean out the log file so it isn’t cluttered.
I will post my success or failure to this forum.
Thanks,
j.D. -
AuthorPosts