- This topic has 6 replies, 2 voices, and was last updated 20 years, 9 months ago by
Riyad Kalla.
-
AuthorPosts
-
Robert ChartierMemberHi,
I notice that the auto completion for @hibernate… xdoclet is missing the “table” attribute for the tag @hibernate.joined-subclass. The table attribute is supported by XDoclet. But, the “table” attribute is not listed when the code assist pops up, for the tag @hibernate.joined-subclass.
Is there a way to fix the configuration file? If so, where can I do this.
Thanks, I remain.
Robert Chartier
Robert ChartierMemberForgot to mention, that I am using Eclipse 3 and myEclipse v3.8 b2
Riyad KallaMemberRobert,
I checked the doclet description and don’t see a table attribute: http://xdoclet.sourceforge.net/xdoclet/tags/hibernate-tags.html#@hibernate_joined-subclass__0__1_Is there a doc someplace that says there should be?
Robert ChartierMemberNo, this attribute is not part of the documentation yet. But it is part of the xml configuration of this doclet.
You may verify this by looking at the following file: hibernate-joined-subclass.xdt, which is part of the xdoclet-hibernate-module-1.2.1.jar
Robert C
Riyad KallaMemberRobert,
We pull our autocomplete from the META-INF/xtags.xml file and neither XDoclet 1.2 or 1.2.1 ship with the support for the table attribute. You can fix this manually by opening up that JAR file, and opening the xtags.xml file, finding the joined-subclass entry in that xtags file and just copy another attribute and modify it accordingly.Now make sure to update the JAR, then open Eclipse and go to Window > Preferences > MyEclipse > XDoclet and hit refresh there and on the level below it to have MyEclipse pickup the changes. Also we would appreciate it if you could post back your changes so we might include them in the GA release.
Robert ChartierMemberRiyad,
I did the modification and it now display the table parameter. Thanks.
Also, I tried to post the changes here, but the text was too long and this forum, does not allow me to post such a big message. How do I post the new xtags.xml file?
I will also post this as a bug to XDoclet folks.
Robert
Riyad KallaMemberRobert,
I’m glad its working and appreciate you commiting this change back to us. Please email the new file with a description of what you did (and a link to this post) to support@genuitec.com. I am sure the team will really appreciate the contribution! -
AuthorPosts