Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » [Acceleo][Xbase] Transforming Xbase expression into java(How to transform Xbase types into java code with acceleo)
[Acceleo][Xbase] Transforming Xbase expression into java [message #1835555] Sun, 06 December 2020 19:59 Go to next message
Andreas Jonassen is currently offline Andreas JonassenFriend
Messages: 1
Registered: December 2020
Junior Member
No Message Body

[Updated on: Sat, 12 December 2020 17:43]

Report message to a moderator

Re: [Acceleo][Xbase] Transforming Xbase expression into java [message #1835563 is a reply to message #1835555] Mon, 07 December 2020 05:49 Go to previous message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7060
Registered: July 2009
Senior Member
Hi

If you really want to use an M2T for a complex metamodel then expect to write a hierarchy of rules for each type and perhaps a sequence of passes so that your code rather than toString() does the formatting.

But since Xbase already translates to Java as part of its normal usage, why not just re-use the facilities that come with Xbase. A day or two struggling to understand how to re-use what is there will be much quicker than a feww weeks writing a full transformation.

Regards

Ed Willink
Previous Topic:[Acceleo] Write in linked folder
Next Topic:UML/Sysml Profile..
Goto Forum:
  


Current Time: Tue Mar 09 12:15:17 GMT 2021

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

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

Back to the top