Skip to main content



      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 14:59 Go to next message
Eclipse UserFriend
No Message Body

[Updated on: Sat, 12 December 2020 12:43] by Moderator

Re: [Acceleo][Xbase] Transforming Xbase expression into java [message #1835563 is a reply to message #1835555] Mon, 07 December 2020 00:49 Go to previous message
Eclipse UserFriend
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: Mon Jun 23 21:56:29 EDT 2025

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

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

Back to the top