Skip to main content



      Home
Home » Modeling » Epsilon » EGL - TemplateFactory.setRoot(Method 'setRoot' not found for: TemplateFactory)
EGL - TemplateFactory.setRoot [message #1003915] Tue, 22 January 2013 03:21 Go to next message
Eclipse UserFriend
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 15:21 Go to previous messageGo to next message
Eclipse UserFriend
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 08:28 Go to previous message
Eclipse UserFriend
Thanks!
Previous Topic:EmFatic
Next Topic:How to generate preserved regions from EGL @template operation
Goto Forum:
  


Current Time: Thu Jul 24 19:42:56 EDT 2025

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

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

Back to the top