Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » [Solved - Thanks] Java Code generation with Acceleo from KDM model(Java Code generation with Acceleo)
[Solved - Thanks] Java Code generation with Acceleo from KDM model [message #1196585] Tue, 19 November 2013 13:43
E. BarNa is currently offline E. BarNaFriend
Messages: 3
Registered: November 2013
Junior Member
Good morning.
I'm trying to generate, through Acceleo, Java code from a model from a Java class that I discovered with MoDisco.
I select in Acceleo the URI's ''

The Acceleo template begins in the class JavaApplication ([template public generateElement(aJavaApp : JavaApplication)]) and I going down the model tree to reach BodyDeclaration class.

From then not let me go down to access MethodDeclaration class.

The sequence of classes that follow is:


How I can access the class Block or MethodDeclaration from BodyDeclaration?

Where I can get a good manual Acceleo and templates that I set an example?

Thank you very much for your answer.
Sorry for the wording, is a translation of google translator. Smile

[Updated on: Fri, 22 November 2013 07:39]

Report message to a moderator

Previous Topic:[Xpand] generate code from very large models
Next Topic:[Acceleo] MTL Metamodel
Goto Forum:

Current Time: Sun Apr 14 11:31:45 GMT 2024

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

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

Back to the top