Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » code generation for object c
icon5.gif  code generation for object c [message #1426220] Thu, 18 September 2014 12:24 Go to next message
jariya sirisang is currently offline jariya sirisangFriend
Messages: 1
Registered: September 2014
Junior Member
I'd like to implement the model driven architecture for the mobile application.
Now, I create a dsl from Xtext and I have a model already, but I don't know how to create the code generator.
I'm interested to do it from Xtend. Does anyone know it? or anyone have other idea to do the code generator for mobile application (ios, android, windowsPhone) in the conception of model driven architecture (MDA).

Thanks!
Re: code generation for object c [message #1426294 is a reply to message #1426220] Thu, 18 September 2014 14:23 Go to previous message
Karsten Thoms is currently offline Karsten ThomsFriend
Messages: 762
Registered: July 2009
Location: Dortmund, Germany
Senior Member

Have a look at the sources of project Spray and its Deveoper Guide. There are samples to achieve that. (https://code.google.com/a/eclipselabs.org/p/spray/)

Basically you would have to bind another IGenerator implementation than Xtext binds it by default.


Need professional support for Xtext, EMF, Eclipse IDE?
Go to: http://devhub.karakun.com
Twitter : @kthoms
Blog : www.karsten-thoms.de
Previous Topic:UML2Java Example "Can't find bundle"
Next Topic:Analyzing accessible EMF metamodels for project
Goto Forum:
  


Current Time: Fri Apr 26 08:31:03 GMT 2024

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

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

Back to the top