|Re: JMerger Example and Standalone Use [message #507572 is a reply to message #507567]
||Wed, 13 January 2010 21:02
| Ed Merks
Registered: July 2009
Paul Elder wrote:
> I'm cross posting this to the EMF newsgroup, as JMerger lives within EMF.
> Ed, we await your wise response.
I hope this one counts. :-P
> vvernon wrote:
>> I am new to JMerger. I saw I nice example of using the now deprecated
>> version (org.eclipse.emf.codegen.jmerge.JMerger) on:
>> But I need an example for the newer version
>> (org.eclipse.emf.codegen.merge.java.JMerger). Are there any available?
The org.eclipse.emf.examples.jet.article2.codege example is updated to
use the non-deprecated merger.
>> Also I am trying to understand if the newer JMerger can be used
>> outside the Eclipse/EMF environment.
I think the one that uses the AST facade, the default, does work stand
alone because it's JDT dependencies also work stand alone.
>> I tried with the deprecated version but I ran into many dependency
Yes, JDT's JDOM doesn't work stand alone.
>> After I finally got all the jars I needed to run JMerger it appeared
>> that a NullPointerException indicated that some deep environment
>> dependency on Eclipse prevented reuse outside.
Yes, I think so. But I seem to recall that the AST-based version did
work stand alone.
>> Thanks for your help!
Professional Support: https://www.macromodeling.com/
Powered by FUDForum
. Page generated in 0.02337 seconds