Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » How to generate/modify c code from XML?
How to generate/modify c code from XML? [message #957158] Thu, 25 October 2012 03:11 Go to next message
Forrest Zhao is currently offline Forrest ZhaoFriend
Messages: 3
Registered: October 2012
Junior Member
Hi,

For my SDK project I use GEF to create a GUI editor, then SDK user could use GUI editor to describe the object relation and generate the XML file.

For the next step I need to
1 generate c code from this XML file
2 modify the c code automatically after user modify the UI, thus XML file

Could the expert advise on which M2T project (JET, Acceleo, Xpand) I should use to achieve this goal?

Thanks,
Forrest
Re: How to generate/modify c code from XML? [message #957332 is a reply to message #957158] Thu, 25 October 2012 06:38 Go to previous message
Forrest Zhao is currently offline Forrest ZhaoFriend
Messages: 3
Registered: October 2012
Junior Member
I found the guide at http://wiki.eclipse.org/Acceleo/Getting_Started. It demonstrate how to generate Java code from UML.

Is there an example to demonstrate the generation of C code from XML? Or could give some clues on this?
Previous Topic:(Xpand) How to access ecore.ecore via Xpand code
Next Topic:Generation an XMI file to java file
Goto Forum:
  


Current Time: Tue Apr 23 17:09:31 GMT 2024

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

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

Back to the top