facebook

Error when running xdoclet task [Closed]

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #197075 Reply

    jcorbin
    Member

    I 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.

    #197076 Reply

    Scott Anderson
    Participant

    J.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

    #197078 Reply

    jcorbin
    Member

    Scott,

    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.

    #197079 Reply

    Scott Anderson
    Participant

    J.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

    #197080 Reply

    jcorbin
    Member

    Scott,

    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.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Error when running xdoclet task [Closed]

You must be logged in to post in the forum log in