| [news.eclipse.tools.emf] Re: JMerge customization |
|
Hi Timothy, When we implemented the AST layer to support Java 5, we had to tackle the conversion from Java 1.4 enumeration to proper enums. This work is done by org.eclipse.emf.codegen.merge.java.facade.ast.ASTNodeConverter, which may be a good starting point for you since it manipulates the existing code before doing the merge. I am trying to remember the gotchas (I know there were some) but my memory is failing on me. I am quite sure that one of the problems we had was related either to reuse the modified AST during the merge or to apply the changes before the merge itself. I am sorry this is too vague but unfortunately I can't dig into the code right now. Feel free to post questions or your finding as you go ;-) Cheers, Marcelo Paul Elder wrote: Timothy: I'm cross posting this to the eclipse.tools.emf newsgroup, as the JMerge code is part of EMF. Paul "Timothy Marc" <timothymarc@xxxxxxxxxx> wrote in message news:gb2qrq$s80$1@xxxxxxxxxxxxxxxxx... |