Our friends at DevBoost have announced today the release of new versions of their tools for model to text transformations, java to models extraction and model refactoring. Details below:
We are very proud to announce the availability of EMFText 1.4.1, JaMoPP 1.4.0 and Refactory 0.9.0. This release integrates one year of heavy development activities. It is the first release that is officially maintained by DevBoost, a recent spin-off launched by the Software Technology Group at TU Dresden.
For details about the specific changes introduced in this release, please consult the attached release note documents and/or the respective websites:
http://www.emftext.org/whatsnew
http://www.jamopp.org
http://www.modelrefactoring.org
http://www.devboost.de
All tools can be installed from Eclipse Marketplace:
http://marketplace.eclipse.org/content/emftext
http://marketplace.eclipse.org/content/jamopp
http://marketplace.eclipse.org/content/refactory
If you have any questions don’t hesitate to contact us.
Hello!
I see EMFText is a M2T tool, but on the website says “EMFText enables developers to define textual Domain Specific Languages”.
Does this mean it’s not suitable for graphical models? Should I use in this case something like Xpand?
Thanks.
Hi Ricardo,
EMFText is not per se a M2T tool. It’s a tool for the development of textual DSLs and as such it allows to convert textual representations of DSL models to object graphs and vice versa. One could say that EMFText is suitable for M2T transformations where the language of the model and the text are the same.
Xpand and its successor Xtend(2) are suitable for M2T transformations where the text corresponds to a different language. The latter does also allow for M2M transformations.
BTW: There is also a tool from the EMFText community that targets M2T transformations called CommentTemplate (http://marketplace.eclipse.org/content/commenttemplate).
Best regards,
Mirko
Hello Mirko, thanks for reply.
I don’t understand this. You say xtend is the successor of xpand, and in xtend website I read that only creates java code. It seems CommentTemplate only also creates java code.
What I really want is to transform a model (something like class diagrams and state charts) into ObjC (Objective-C) code (for iPhone and iPad). And after a small research I only found that xpand and another project called mofscript can do this.
Correct me, am I right?
What do you recommend me for my goal?
If xtend is the successor of xpand, why xpand can do things that xtend can’t?
Thanks in advance.
Ricardo.
You may want to take a look at Acceleo as well
Both Xtend and CommentTemplate can generate any kind of text. Thus, you can use both for generating Objective-C from diagrams. Acceleo can do the same. Mofscript should also be able to do this, but I haven’t tried yet.
Maybe you’re irritated by the fact that both Xtend and CommentTemplate generate Java code for the generator itself. Xtend generates Java classes from Xtend classes. CommentTemplate generates Java classes from Java classes. This only means that the generator implementation will be based on Java, but it does not imply that the output of the generator is also Java.
Acceleo is different in this regard as it uses an interpreter to execute code templates. No code generation for the code generator here
Hello again and thanks for replies.
I really have some questions about this, and I posted a question at eclipse forums, in the M2T section.
Could you tell me your opinions about these questions?
http://www.eclipse.org/forums/index.php/m/900578/#msg_900578
Thanks in advance.