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 15:44 Go to next message
Anna Unikat is currently offline Anna Unikat
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 10:56 Go to previous message
Stephane Begaudeau is currently offline Stephane Begaudeau
Messages: 406
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



Previous Topic:[Acceleo] Cannot find the Acceleo perspective after installation
Next Topic:[Acceleo] Doesn't transform classes that are inside packages
Goto Forum:
  


Current Time: Wed Jul 30 23:34:27 EDT 2014

Powered by FUDForum. Page generated in 0.01424 seconds