Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » [ACCELEO] Add model preprocessing before text generation
[ACCELEO] Add model preprocessing before text generation [message #1711062] Mon, 12 October 2015 15:40 Go to next message
Pierre Gaufillet is currently offline Pierre GaufilletFriend
Messages: 20
Registered: September 2015
Junior Member
Hi Acceleo team!

I am currently working on a text generator that requires first a complex transformation (coded in Java) of the input model. Where is the best place in the Acceleo start sequence for calling this transformation?

Pierre
Re: [ACCELEO] Add model preprocessing before text generation [message #1714165 is a reply to message #1711062] Tue, 10 November 2015 12:10 Go to previous messageGo to next message
Pierre Gaufillet is currently offline Pierre GaufilletFriend
Messages: 20
Registered: September 2015
Junior Member
Not even a suggestion? Shocked
Re: [ACCELEO] Add model preprocessing before text generation [message #1714167 is a reply to message #1714165] Tue, 10 November 2015 12:44 Go to previous messageGo to next message
Eclipse UserFriend
Hi Pierre,
If you take a look at the plugin source code generated by Acceleo wizard
(see how to do it in
https://wiki.eclipse.org/Acceleo/Getting_Started#Creating_a_UI_launcher
) you will find easily where to put it before the Acceleo engine is
invoked. Maybe in doGenerate method.

Best,

Víctor

El 10/11/2015 a las 13:10, Pierre Gaufillet escribió:
> Not even a suggestion? 8o
Re: [ACCELEO] Add model preprocessing before text generation [message #1714168 is a reply to message #1714167] Tue, 10 November 2015 12:49 Go to previous messageGo to next message
Pierre Gaufillet is currently offline Pierre GaufilletFriend
Messages: 20
Registered: September 2015
Junior Member
Thanks Victor!
Re: [ACCELEO] Add model preprocessing before text generation [message #1714170 is a reply to message #1714168] Tue, 10 November 2015 12:51 Go to previous messageGo to next message
Pierre Gaufillet is currently offline Pierre GaufilletFriend
Messages: 20
Registered: September 2015
Junior Member
For now I am relying on a Java helper called at the beginning of the Acceleo template. It works but I am not that confident with this approach. I'll try what you propose.

[Updated on: Tue, 10 November 2015 12:51]

Report message to a moderator

Re: [ACCELEO] Add model preprocessing before text generation [message #1714171 is a reply to message #1711062] Tue, 10 November 2015 13:00 Go to previous message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
HI

If you are building a transformation chain, I recommend using MWE2 to
sequence it.

Regards

Ed Willink


On 12/10/2015 18:23, Pierre Gaufillet wrote:
> Hi Acceleo team!
>
> I am currently working on a text generator that requires first a
> complex transformation (coded in Java) of the input model. Where is
> the best place in the Acceleo start sequence for calling this
> transformation?
>
> Pierre
Previous Topic:What happend to
Next Topic:Uml to Java issue
Goto Forum:
  


Current Time: Sat Apr 20 03:05:08 GMT 2024

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

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

Back to the top