Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » EGL - TemplateFactory.setRoot(Method 'setRoot' not found for: TemplateFactory)
EGL - TemplateFactory.setRoot [message #1003915] Tue, 22 January 2013 08:21 Go to next message
Juan Quirós is currently offline Juan Quirós
Messages: 4
Registered: November 2012
Junior Member
Hi! I am new on epsilon, so I am developing a simple template to get confidence on it. I am using the default TemplateFactory object. When I try to execute TemplateFactory.setRoot("/new/root"), eclipse returns an error. Does TemplateFactory have this method? According to the EpsilonBook it does, indeed, it is used in listing 7.8.

Input
[%
TemplateFactory.setTemplateRoot("/tmp");
TemplateFactory.setRoot("/tmp");
%]

Running
I have configured a running execution.

Error
Method 'setRoot' not found for: TemplateFactory: root='file:/tmp/' (/home/jquiros/data/proyectos/dte/crimsonCell/code_local/mde/org.us.mca.almond.eglProject/egl/ps.almond.egl@3:20)
Cause: Method 'setRoot' not found for: TemplateFactory: root='file:/tmp/' (/home/jquiros/data/proyectos/dte/crimsonCell/code_local/mde/org.us.mca.almond.eglProject/egl/ps.almond.egl@3:20)

Thanks in advance!


Re: EGL - TemplateFactory.setRoot [message #1004216 is a reply to message #1003915] Tue, 22 January 2013 20:21 Go to previous messageGo to next message
Dimitris Kolovos is currently offline Dimitris Kolovos
Messages: 877
Registered: July 2009
Senior Member
Hi Juan,

Thanks for reporting this. This appears to be an error in the book (fixed now). The correct method is setOutputRoot(String path).

Cheers,
Dimitris
Re: EGL - TemplateFactory.setRoot [message #1007306 is a reply to message #1004216] Tue, 05 February 2013 13:28 Go to previous message
Juan Quirós is currently offline Juan Quirós
Messages: 4
Registered: November 2012
Junior Member
Thanks!
Previous Topic:EmFatic
Next Topic:How to generate preserved regions from EGL @template operation
Goto Forum:
  


Current Time: Thu Oct 02 12:34:43 GMT 2014

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

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