Skip to main content


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 07:18 Go to next message
Eduardo Jr. Sapugay is currently offline Eduardo Jr. SapugayFriend
Messages: 2
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 09:28 Go to previous message
Stephane Begaudeau is currently offline Stephane BegaudeauFriend
Messages: 458
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: Fri Dec 27 03:13:51 GMT 2024

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

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

Back to the top