Hello,
If you want to generate with the extension groovy instead of java
In the file mp-template-config-openxava-last-features.xml with is in mywork/config modify the nodes
- template name="OpenxavaDomainObjectUML"
- template name="OpenxavaDomainEntityJPA2EmbeddedId"
change file-extension="java" with file-extension="groovy"
If you want the code inside to be groovy=like then the template have to be changed:
The templates to adapt are:
template/framework/openxava/DomainObjectUMLJPAAnnotationOXAnnotationV4.vm
template/framework/openxava/DomainEntityJPA2EmbeddedId.vm
It is true that it would remove some 'useless' getter/setter LOCs.
But it is not done, now.
Best regards,
Florian