Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » JMerge
JMerge [message #59190] Sun, 05 April 2009 18:30 Go to next message
Rafael Leaño is currently offline Rafael Leaño
Messages: 1
Registered: July 2009
Junior Member
Hello,

I'm trying to use JMerge without JET for joining java code from two
different classes into one. I have been searching for a tutorial with no
luck, the only one I have found is from IBM (
http://www.ibm.com/developerworks/library/os-ecemf3/ ) but it uses JMerge
with JDOM. Now having Java5 and annotations and JMerge with AST I was
wondering where I could find an updated tutorial or the list of new
targets (I'm specially interested in being able to read annotations).

Thank you very much for your help
Re: JMerge [message #59289 is a reply to message #59190] Mon, 06 April 2009 12:54 Go to previous message
Paul Elder is currently offline Paul Elder
Messages: 849
Registered: July 2009
Senior Member
Rafael:

JMerge was adapted to use the JDT AST several releases ago. The
org.eclipse.emf.codegen.jmerge package is now deprecated in favour of
org.eclipse.emf.codegen.merge.java. Here are the java doc's:

http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclips e.emf.doc/references/javadoc/org/eclipse/emf/codegen/merge/j ava/package-summary.html

The new implementation supports both JDT AST and JDOM. A quick look at the
java doc for the org.elcipse.emf.codegen.merge packages suggests that it
would be possible to write rules to access Java 5 annotations.

But, the best source of information would be the emf newsgroup. I'd cross
post this response, but the web interface I'm using today doesn't let me
:-(

Paul
Previous Topic:Re: Force UTF-8 for JET templates
Next Topic:Re: [Xtext] OAW Check/Xtend in Eclipse
Goto Forum:
  


Current Time: Fri Sep 19 03:47:52 GMT 2014

Powered by FUDForum. Page generated in 0.07907 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software