| [Acceleo] ESE2010 Tutorial [message #639286] |
Mon, 15 November 2010 17:16  |
Christophe Gregoire Messages: 5 Registered: February 2010 |
Junior Member |
|
|
Hello,
I followed the (very interesting) Xtext-Acceleo tutorial at the ESE 2010.
I am trying to reproduce the Acceleo part of the tutorial, but I am facing a lack of details in the slides regarding the launch of the Acceleo generation.
I tried to configure a new run configuration as described in the Acceleo doc, and pointing to the contact.android model (Xtext file). The problem is that Acceleo does not seem to be able to parse this file as it is not an xmi file.
What did I miss?
How can I launch an Acceleo generation based on a model edited using Xtext?
Thanks beforehand,
Christophe
|
|
|
| Re: [Acceleo] ESE2010 Tutorial [message #639345 is a reply to message #639286] |
Tue, 16 November 2010 03:00   |
Stephane Begaudeau Messages: 370 Registered: April 2010 Location: Nantes (France) |
Senior Member |

|
|
Hi Christophe,
We can generate code on this file because xText has defined a ResourceFactory for this type of files.
You should launch an Eclipse runtime (with Acceleo and xText installed) with these projects:
org.eclipse.ese.android.dsl
org.eclipse.ese.android.dsl.ui
org.eclipse.ese.android.model
Then, launch a second Eclipse runtime from the first one (right click, Run As, Eclipse Application), this will deploy the xText editor for the .android files (which will provide everything needed for us to manipulate .android files as models) and then, have fun 
Stéphane Bégaudeau, Obeo.
[Updated on: Tue, 16 November 2010 03:01] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.01507 seconds