Skip to main content

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 21:09
Dale Pennington is currently offline Dale PenningtonFriend
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).

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

Current Time: Wed Jul 06 13:18:23 GMT 2022

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

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

Back to the top