Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » M2T transformation for Android Applications
M2T transformation for Android Applications [message #662029] Mon, 28 March 2011 23:21 Go to next message
Muhammad  is currently offline Muhammad Friend
Messages: 13
Registered: March 2011
Junior Member
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 07:48 Go to previous messageGo to next message
Stephane Begaudeau is currently offline Stephane BegaudeauFriend
Messages: 458
Registered: April 2010
Location: Nantes (France)
Senior Member

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 10:42 Go to previous messageGo to next message
Muhammad  is currently offline Muhammad Friend
Messages: 13
Registered: March 2011
Junior Member
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 12:31 Go to previous message
Muhammad  is currently offline Muhammad Friend
Messages: 13
Registered: March 2011
Junior Member
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: Thu Apr 25 01:22:25 GMT 2024

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

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

Back to the top