Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » [XPand/Xtend] Model Transform Example(Looking for a good model transform)
[XPand/Xtend] Model Transform Example [message #988428] Thu, 29 November 2012 16:09
Dale Pennington is currently offline Dale Pennington
Messages: 6
Registered: November 2012
Junior Member
I are looking at using the Xpand/Xtend tool set for code generation from an EMF Model of our Data Types into IDL and C++/Java. In the IDL and C++ areas I need to make sure type definitions are emitted in the correct order, so if the EMF Model has defined :

Type A
Ref Type B

Type B

We need to actually generate the Type B definition before the Type A definition. To do this I am thinking that a model transformation would be appropriate. My question is, is there an existing public example of using Xtend for a model to model transform.

The references I can get to say this is a good use for Xtend, but seeing the basics of such a project would be a good starting point. The "samples" on the Eclipse Wiki do not seem to have actual source (or else I am not good enough to figure out how to get to them).

Thanks,
Dale Pennington
Previous Topic:[Acceleo] A circular dependency exists between scripts
Next Topic:[JET2] Resource does not exist
Goto Forum:
  


Current Time: Thu Apr 17 17:38:34 EDT 2014

Powered by FUDForum. Page generated in 0.01868 seconds