|
Re: [Acceleo] Debugging mtl templates with multiple model input [message #1159088 is a reply to message #1128146] |
Mon, 28 October 2013 09:35 |
|
Hi,
To debug mtl templates, the "Acceleo Plug-in Application" should be selected as the runner but this limits me only to 1 input model. Is there any way I can extend the "Acceleo Plug-in Application"? Or is there a way to debug mtl templates with multiple model inputs?
You can't specify multiple input models using the Eclipse user interface, if you want to use multiple input models, you have multiple generations. You can create your own launch configuration thanks to a dedicated "UI Launcher" in order to customize your generator like the one I did in the UML to Java generator 1 and 2.
And also how do I register a resource factory with the "Acceleo Plug-in Application"?
Use the method "registerResourceFactories" in the generated class used to launch your generator.
Regards,
Stephane Begaudeau, Obeo
--
Twitter: @sbegaudeau
Google+: +stephane.begaudeau
Blog: http://stephanebegaudeau.tumblr.com | Eclipse Java Development Tools Tips and Tricks
|
|
|
Powered by
FUDForum. Page generated in 0.03259 seconds