Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » xTend and code generation
xTend and code generation [message #12101] Wed, 24 January 2007 14:13 Go to next message
Eclipse UserFriend
Originally posted by: Laph95.gmail.com

Hi all,

I want to know how I can generate code (java classes) associated to an
xTend file ?

Actually I'm searching for a solution to transform a model to another one
(more precisely instances of these models) calling a method with the input
instance in parameter.

I don't want to realize the m2m transformation in the Eclipse IDE (where I
develop the application) but in another application, when the user is
clicking a button (in the final application).

If I'm on the wrong way or if oAW isn't the best tool to realize such a
thing, thanks to advise me ;)
Re: xTend and code generation [message #12114 is a reply to message #12101] Wed, 24 January 2007 15:26 Go to previous message
Eclipse UserFriend
Originally posted by: Laph95.gmail.com

Some precisions in my question...

In fact, I think my main problem is to know if oAW is able to give me a
m2m transformator and not "only" to transform...

Is there a possibility for me to realize a translator "callable" in my own
application ?

There's always the good old method via ANTLR but my goal was to perform
that thanks to oAW.

Effectively, I want to get java classes corresponding to xtend file which
allow me to use the following expression in my own java program :

Y y = doTranslate(X x);

Where Y is the output model (and y his instance) and X the input model
(and x his instance).

I really need some help about all of that :(
Previous Topic:[ATL] transform model to model
Next Topic:[ATL] Interleave and union two collections
Goto Forum:
  


Current Time: Sat Dec 21 16:22:24 GMT 2024

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

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

Back to the top