Skip to main content



      Home
Home » Modeling » M2T (model-to-text transformation) » M2T transformation for Android Applications
M2T transformation for Android Applications [message #662029] Mon, 28 March 2011 19:21 Go to next message
Eclipse UserFriend
Hi,

I am working on an academic project to develop a DSL for Android GUI (ofcourse not full fledge GUI generation). I am intended to use xtext to develop DSL and xpand or acceleo for code generation. My questions are:

1) As in Android applications there are three main files, Activity.java, main.xml, and manifest.xml so do I need to generate all these three files or only generation of Activity.java will serve the purpose of fully-executable code generation.

2) is there any tutorial textual/video that is helpful for beginners ?
Re: M2T transformation for Android Applications [message #662073 is a reply to message #662029] Tue, 29 March 2011 03:48 Go to previous messageGo to next message
Eclipse UserFriend
Hi Muhammad,

In my opinion, you should generate all those files in order to maintain the cohesion of your generated application. If you are looking for resources for an Android generator with Acceleo, you can follow the Android tutorial available here
You can also have a look at the videos from the Topcased Days presentation of Acceleo in order to see how Acceleo can be used for Android application generation. those videos are available here.

Stephane Begaudeau, Obeo

--
Twitter: @sbegaudeau
Acceleo wiki: http://wiki.eclipse.org/Acceleo
Blogs: http://stephanebegaudeau.tumblr.com & http://sbegaudeau.tumblr.com
Re: M2T transformation for Android Applications [message #662103 is a reply to message #662073] Tue, 29 March 2011 06:42 Go to previous messageGo to next message
Eclipse UserFriend
Hi Stephane,

Thanks for replying. In these videos Acceleo is used with ecore model. Is there an example that Acceleo is used with xtext (actually I dont know how to convert xtext meta model to ecore meta model, I am searching for it).

Thank you
Re: M2T transformation for Android Applications [message #662117 is a reply to message #662103] Tue, 29 March 2011 08:31 Go to previous message
Eclipse UserFriend
I got answer to my own question. ecore is generated as part of xtext artifacts. Thanks
Previous Topic:[MWE2] Referring to paths/files inside standalone JAR
Next Topic:[Xpand] Error "Couldn't find property 'a' for type 'b::c'" when "a" is EDataType
Goto Forum:
  


Current Time: Wed Jul 02 19:37:21 EDT 2025

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

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

Back to the top