- This topic has 4 replies, 4 voices, and was last updated 21 years, 3 months ago by ssidi.
-
AuthorPosts
-
jrm.robertMemberI am using v2.5.1 of the workbench with eclipse 2.1.1.
When I run XDoclet on an EJB project i get an error message in the console:
[ejbdoclet] e:\developpement\eclipse\Workspaces\default211\workspace\WorkLoadBench_EJB\src not found.I can’t understand why it is trying to mess with this folder that does not exit since the sourcecode of the project is located in the “EJB Module” folder.
When I look in the xdoclet-buil.xml file, i can see lines like :
<fileset dir=”src” includes=”**/*.java” > which seems to indicate that the missing “src” is considered as the source folder… why ?
support-michaelKeymasterThe MyEclipse XDoclet integration is a work in progress. The default XDoclet configuration is not respecting the project’s designated source folder, e.g., “EJB Module”, but instead is trying to use its default of “src”. The remedy is to either rename your “EJB Module” folder to “src” or from the project’s Xdoclet properties change the element attribute named fileset.dir to “EJB Module”. I found the former (“changing the project’s source folder”) easiest.
To do the latter, select the project and open the context menut (right-click menu). Choose Properties->XDoclet Configuration. Select the “EJB Standard” template to populate the doclet’s tags (element). Then select the “fileset” element to view and modify the “dir” attribute value.
We are already working on a much tighter XDoclet integration to resolve this very problem.
Michael
MyEclipse Support
ssidiMemberI am running into a similar issue. I’d like for the source code to be generated in the EJB source dir (as specified in the project) but am not able to do so. I changed the xDoclet fileset element’s dir attribute as follows:
<fileset dir=”C:/ccviews/sidi_snap_view/pws_redesign/src” includes=”**/*.java” excludes=”**/*Facade*.java” >
The code is still being generated under the <project dir>/src dir (the value of dir attribute seems to be getting ignored).
Any other ideas ?
Thanks, Shah
Scott AndersonParticipantShah,
Did you set either destDir or packageSubstitution? Look at all the doclet settings you’re using.
–Scott
MyEclipse Support
ssidiMemberThanks, specifying appropriate value in the destdir fixed it.
Shah -
AuthorPosts