facebook

MyEclipse XDoclet Plugin Documentation

  1. MyEclipse Archived
  2.  > 
  3. Documentation
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #198162 Reply

    wilkerd1
    Member

    Is there any substantial documentation that explains how the XDoclet plugin works in Eclipse? I read through the updated MyEclipse documentation, “Creating and EJB…”, but it didn’t explain a whole lot. I understand a little and can get a simple Session bean to work per the documentation example/tutorial, however, I still don’t know enough to trouble shoot problems with more robust code/deployments.

    I have read the XDoclet site and understand how it works and can use it independently. I just want to know what Eclipse is and is not doing for me in terms of MyEclipse/Eclipse.

    Hope that doesn’t sound confusing and I appreciate your help!

    Regards,
    Daniel 🙂

    #198165 Reply

    Scott Anderson
    Participant

    Daniel,

    What MyEclipse does is provide a graphical interface to choosing which doclets to run on what projects and a way to easily configure the doclet properties through property sheets. From what you enter, we automatically generate your xdoclet build file so you don’t have to write any Ant scripts. All configuration is done through the UI. Additionally, we allow you to run your configuration when you want to with the ‘Run XDoclet’ command on the project context menu and we also tie in the XDoclet run into the builder framework so it is run automatically when you rebuild your project.

    So, we facilitate the use of XDoclet with a GUI and tie it into the build model. You still have to configure everything correctly with that GUI using the XDoclet documentation. We’ll be doing more in the future, but that’s basically where we are now.

    Hope that answers your questions.

    –Scott
    MyEclipse Support

    #198188 Reply

    wilkerd1
    Member

    Thanks for the reply Scott! I guess I was getting confused when trying to read/use the XDoclet reference in the MyEclipse docs and the XDoclet web site.

    The big question I have – which may be obvious to others – is: The gui facilities in MyEclipse only handle the XDoclet Ant tasks (as stated in your reply)…so the individual Class level and method level tags still have to be inserted in the code by typing them in yourself (i.e. no gui)…correct?

    Thanks again for your help!

    Regards,
    Daniel 🙂

    #198195 Reply

    Scott Anderson
    Participant

    Daniel,

    Glad I could help a bit.

    the individual Class level and method level tags still have to be inserted in the code by typing them in yourself (i.e. no gui)…correct?

    Sort of, but there is context sensitive code assistance available to help you out. Just type @<ctrl+space> in a class javadoc section and you’ll see a list of XDoclet tags available. Once you select a tag, another <ctrl+space> will show you the attributes for it, etc.

    –Scott
    MyEclipse Support

    #206839 Reply

    BJ Hellstrom
    Member

    I want to use the hibernate XDoclet tagset.

    I tried starting a @hibernate.class tag with code-completion and nothing pops up after the “c”. Furthermore, “.class” is not even in the list.

    I followed this up by groping through about 10 “pages” of MyEclipse docs which each had one line title of the documentation would have said if someone had taken the time to write anything.

    XDoclet functionality could actually be useful if someone took the time to write a substantive document explaining how to use it.

    #206840 Reply

    Riyad Kalla
    Member

    I tried starting a @hibernate.class tag with code-completion and nothing pops up after the “c”. Furthermore, “.class” is not even in the list.

    I am not able to reproduce this. I use hibernate quite a bit in a project I”m working on now, and hibernate.c| <– completion inserts “lass” giving me “hibernate.class”. Also invoking completion after the “hibernate.” gives me a list with the proper elements in it.

    Can you give us your system info (reply to this post, hit “Insert” and answer questions) And also a snippet of code that is giving you trouble?

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: MyEclipse XDoclet Plugin Documentation

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