|Ecore model generation - merge custom and generated java code [message #899040]
||Mon, 30 July 2012 06:16
| Denis Delangle
Registered: July 2012
Usins xtext 2.3, I would like to modify the generated java code for my grammar. I know I can use a PostProcessor to modify the model but I would prefer to use the merge feature of EMF described here www.informit.com/articles/article.aspx?p=1323360&seqNum=4 using @generated markers. I would customize the generated code and Xtext/EMF would merge grammar modifications in the java code.
If I remove the directory cleaner from my mwe2 file, the generated java classes are not modified when I change my xtext file and launch the workflow.
Do you know if this merge feature is supported by xtext and if so how can I achieve it ?
Powered by FUDForum
. Page generated in 0.08677 seconds