Found the culprit.
The
Synonym not found error when I replaced the
middlegen-2.1.jar in the \middlegen-lib directory of r5 with
middlegen-2.0-vo.jar (which I got from the 'complete' MiddleGen-2.0 release)
Another error exists in the r5 build.xml, task hbm2java
The <hbm2java...> task has attributes
Code:
genXDocletTags="true"
Code:
genIntergratedCompositeKeys="true"
Which at runtime are reported as not-supported.
Removal the script rin ok.
PS: I do not know much of ANT scripting. I can only tinker with a script.
So do not know what I have done is correct or wrong.