- This topic has 1 reply, 2 voices, and was last updated 21 years, 1 month ago by Scott Anderson.
-
AuthorPosts
-
rbrindlMemberI am testing myeclipse for a view hours now, and tried to convert an existing project, which was set up using jboss-ide, in other words xdoclet.
when i now generate the code with myeclipse, the value-objects of 2 beans are generated the wrong way.
in any of those beans i use 3 value-objects (using match) to get different levels of detail. the value objects extend each other, so i have the following value-objects:1.) ProductEJBMinValue
2.) ProductEJBValue
3.) ProductEJBFullValue2.) extends 1.) and 3.) extends 2.)
when i generate using myeclipse, the resulting objects all extend ProductEJBMinValue (including ProductEJBMinValue itself) which leads to a cyclic hierarchy.
maybe the problem is in xdoclet. myeclipse uses 1.2b4 (which i havent seen on xdoclet.sourceforge.org, btw) whereas jboss-ide uses 1.2b3 (the latest official release).
while writing this i had the idea to look at the xdt-templates of valueobject.xdt and noticed, that there is a difference. i didnt analyze this in further detail, but i suspect, that the 1.2b4 version just takes the first occurence of value-object tag, while the 1.2b3 version takes the corresponding (correct) tag.for now i just put in the old version of the ejb-module.
i hope there will be a fix soon.
i wont send a bug-report to xdoclet, as there is no 1.2b4 release. is this a special my-eclipse-release?
Scott AndersonParticipantThanks for posting this and please let us know if you can determine what corrects the issue.
i wont send a bug-report to xdoclet, as there is no 1.2b4 release. is this a special my-eclipse-release?
No, it’s not and we didn’t make any changes to it. When we downloaded the build marked 1.2b3 from the XDoclet site, all the internal jars were labeled 1.2b4, so we just left them that way. I believe you’ll see that this is still the case today since I checked to see if there was an update a little while ago. So, I believe that we have the absolute latest version in MyEclipse. It would be interesting if you could independently verify that by comparing the files in question and then we’d know if it was something that we need to notify XDoclet about.
–Scott
MyEclipse Support -
AuthorPosts