Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » Debugging Acceleo Project([Acceleo Project] debugging both java service files and mtl templates)
Debugging Acceleo Project [message #1128984] Tue, 08 October 2013 03:18 Go to next message
Eduardo Jr. Sapugay is currently offline Eduardo Jr. Sapugay
Messages: 1
Registered: October 2013
Junior Member
Hello,

Debugging java service files, the "Java Application (Advanced)" should be selected as the runner in debug configuration.

Debugging mtl templates, the "Acceleo Plug-in Application (Default)" should be selected as the runner in debug configuration.

Is there a way to debug both java service files and mtl templates together? Where the mtl template invokes or uses java services for some logic codes.

Kind regards,
Ed
Re: Debugging Acceleo Project [message #1159080 is a reply to message #1128984] Mon, 28 October 2013 05:28 Go to previous message
Stephane Begaudeau is currently offline Stephane Begaudeau
Messages: 406
Registered: April 2010
Location: Nantes (France)
Senior Member

Hi,

Debugging java service files, the "Java Application (Advanced)" should be selected as the runner in debug configuration. Debugging mtl templates, the "Acceleo Plug-in Application (Default)" should be selected as the runner in debug configuration.

Since both configuration have different requirement in terms of manual registration of the meta-models, resource factories, etc, we do not want regular users to be able to launch their generator using the "Java Application" mode by mistake.

Quote:
Is there a way to debug both java service files and mtl templates together? Where the mtl template invokes or uses java services for some logic codes.

It is not possible unfortunately.

Regards,

Stephane Begaudeau, Obeo

--
Twitter: @sbegaudeau
Google+: +stephane.begaudeau
Blog: http://stephanebegaudeau.tumblr.com | Eclipse Java Development Tools Tips and Tricks



Previous Topic:[Acceleo] Compilations errors when Acceleo is deployed throuh update site
Next Topic:[Acceleo] Debugging mtl templates with multiple model input
Goto Forum:
  


Current Time: Wed Apr 16 06:43:20 EDT 2014

Powered by FUDForum. Page generated in 0.01609 seconds