- This topic has 5 replies, 4 voices, and was last updated 20 years, 6 months ago by Riyad Kalla.
-
AuthorPosts
-
wilkerd1MemberIs 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 🙂
Scott AndersonParticipantDaniel,
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
wilkerd1MemberThanks 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 🙂
Scott AndersonParticipantDaniel,
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
BJ HellstromMemberI 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.
Riyad KallaMemberI 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?
-
AuthorPosts