xTend and code generation [message #12101] |
Wed, 24 January 2007 14:13 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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 :(
|
|
|
Powered by
FUDForum. Page generated in 0.03145 seconds