Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » Acceleo xmi to java
Acceleo xmi to java [message #841825] Wed, 11 April 2012 15:17 Go to next message
wang jinlong is currently offline wang jinlong
Messages: 1
Registered: April 2012
Junior Member
I have transformed a java project (source file)by using Modisco and obtained a model of java, it's a file .xmi, conforms to Java metamodel java.ecore
and how to transform the file .xmi to java source file(M2T) using Acceleo?
Re: Acceleo xmi to java [message #842426 is a reply to message #841825] Thu, 12 April 2012 05:31 Go to previous message
Laurent Goubet is currently offline Laurent Goubet
Messages: 1621
Registered: July 2009
Senior Member
Hi,

As long as your xmi file can be opened as an EMF model (you can try through right-click > open with > sample reflective ecore editor : should open without errors), then you can feed it as the input of an Acceleo generation. "Launching an Acceleo generation" is described in the Getting Started guide.

Laurent Goubet
Obeo
Previous Topic:Invoking Acceleo template from java app
Next Topic:[Xpand] Dynamic position of generated text
Goto Forum:
  


Current Time: Fri Jul 25 05:13:06 EDT 2014

Powered by FUDForum. Page generated in 0.02463 seconds