Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » [acceleo] How to create file "Android Model" with EMF Eclipse(Creat an Android Project with Acceleo,)
[acceleo] How to create file "Android Model" with EMF Eclipse [message #1039301] Thu, 11 April 2013 22:12 Go to next message
ngoc ngoc is currently offline ngoc ngoc
Messages: 6
Registered: April 2013
Junior Member
Hi everyone;
I'm a new member, i'm learning about Acceleo code generator for Android. i study in the below link: (http://help.eclipse.org/helios/index.jsp?topic=%2Forg.eclipse.acceleo.doc%2Fdoc%2Fhtml%2Facceleo_tutorial_android_example.html)
and have a error: there is not " Android model in Example EML Model Creation Wizards", i don't know how to creat file .android, the error that i have attached file;
Thanks so much;
Re: [acceleo] How to create file "Android Model" with EMF Eclipse [message #1039716 is a reply to message #1039301] Fri, 12 April 2013 09:47 Go to previous messageGo to next message
Mathias Colpaert is currently offline Mathias Colpaert
Messages: 13
Registered: November 2012
Junior Member
Are you running the eclipse application to edit the model? On your screenshot I see a lot of projects, that doesn't seem right.

right click
org.eclipse.acceleo.mudule.example.android.model.editor
-> run as -> eclipse application

In this new eclipse instance you should be able to create a model instance..

[Updated on: Fri, 12 April 2013 09:48]

Report message to a moderator

Re: [acceleo] How to create file "Android Model" with EMF Eclipse [message #1040097 is a reply to message #1039716] Fri, 12 April 2013 22:58 Go to previous messageGo to next message
ngoc ngoc is currently offline ngoc ngoc
Messages: 6
Registered: April 2013
Junior Member
Thanks for your help.
Thanks so much;
Re: [acceleo] How to create file "Android Model" with EMF Eclipse [message #1058057 is a reply to message #1040097] Fri, 10 May 2013 12:47 Go to previous messageGo to next message
ngoc ngoc is currently offline ngoc ngoc
Messages: 6
Registered: April 2013
Junior Member
Hi Mathias Colpaert;
Can you help me?
The example about Acceleo - android: http://help.eclipse.org/helios/index.jsp?topic=%2Forg.eclipse.acceleo.doc%2Fdoc%2Fhtml%2Facceleo_tutorial_android_example.html
I'm going to study at at "Acceleo Code Generation - Let's start with an Android example" and at "http://www.obeo.fr/videos/acceleo-eclipse/eclipse-modeling-runaway-acceleo.htm" is video tutorial about Acceleo code generation. But i don't understand: How to creat MyContactsActivities.java file and the content of it ?

Please help me. I study for my graduation thesis.
Thanks you so much.
  • Attachment: acceleo2.png
    (Size: 156.20KB, Downloaded 47 times)

[Updated on: Fri, 10 May 2013 12:53]

Report message to a moderator

Re: [acceleo] How to create file "Android Model" with EMF Eclipse [message #1058269 is a reply to message #1058057] Mon, 13 May 2013 08:26 Go to previous message
Stephane Begaudeau is currently offline Stephane Begaudeau
Messages: 406
Registered: April 2010
Location: Nantes (France)
Senior Member

Hi,

The video is old, for the example, you should use the project available on Github or at the bottom of the documentation.

Regards,

Stephane Begaudeau, Obeo

--
Twitter: @sbegaudeau
Google+: +stephane.begaudeau
Blog: http://stephanebegaudeau.tumblr.com | Eclipse Java Development Tools Tips and Tricks



Previous Topic:[Acceleo] How to iterate through the global UML model from inside a template
Next Topic:[acceleo] loading EMF resource with a folder URI
Goto Forum:
  


Current Time: Fri Jul 25 01:18:36 EDT 2014

Powered by FUDForum. Page generated in 0.33041 seconds