To enable packageSubstitution on your value object use the following steps:
1) Go into the XDoclet configuration and selection Standard EJB.
2) Under the ejbdoclet, select valueobject subtask. Remove anything that is set as the packageSubstitutions attribute.
3) Right-click the valueobject subtask and select “Add”
4) Choose PackageSubstitution in the dialog
5) In the new nested-subtask called PackageSubstitution set the packages=”ejb” and substituteWith=”value”.
6) Hit ok and re-run XDoclet
The build file will be correct and you should see your value object with the correct substitution get generated. Hope this helps.
Also, read my last post in this related thread.
https://www.genuitec.com/forums/topic/xdoclet-dataobjectsubtask-problem/#post-225747