Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » [Acceleo] How does trace block in Acceleo work
[Acceleo] How does trace block in Acceleo work [message #1022398] Thu, 21 March 2013 19:44 Go to next message
Anna Unikat is currently offline Anna UnikatFriend
Messages: 3
Registered: November 2012
Junior Member
Hi,

I am trying to use the trace block in Acceleo.

I have the following [template] rule snippet which is not working for me.

Sample :
[template public foo(c : Class)]
[file (aClass.name+'.h', false, 'UTF-8')]

[trace(c.name) ]
class [c.name/]
{
// Constructor
[c.name/]()
{
}
}
[/trace]
[/template]

Could you help me with this feature? Do you have any code examples with trace blocks?
Or is there a description, how to make use of them?

Best Regards,
Anna
Re: [Acceleo] How does trace block in Acceleo work [message #1034529 is a reply to message #1022398] Fri, 05 April 2013 14:56 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,

Quote:
How does trace block in Acceleo work?

It does not.

Regards,

Stephane Begaudeau, Obeo

--
Twitter: @sbegaudeau
Google+: +stephane.begaudeau
Blog: http://stephanebegaudeau.tumblr.com | Eclipse Java Development Tools Tips and Tricks
Re: [Acceleo] How does trace block in Acceleo work [message #1760818 is a reply to message #1034529] Wed, 03 May 2017 09:47 Go to previous message
Fy Za is currently offline Fy ZaFriend
Messages: 245
Registered: March 2010
Senior Member
Hi all,
I want to use the trace block in my Acceleo M2T generator but I obtain erros during the generation.

does not always work?

best regards
Previous Topic:Acceleo
Next Topic:how can we get DataType values in Acceleo
Goto Forum:
  


Current Time: Wed Dec 04 04:14:49 GMT 2024

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

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

Back to the top