|
|
Re: Problem with plugin and egl files [message #1717515 is a reply to message #1717479] |
Mon, 14 December 2015 14:07 |
Luca Gherardi Messages: 62 Registered: November 2010 |
Member |
|
|
Hi Dimitris,
We are actually already passing the URI to the model parser.
I guess that the problem is that when the EGL module executes A.egl, it cannot load A1.egl because this is not in the same folder as A.egl (I don't know why they are not in the same folder).
A.egl is contained in a folder that is created, I suppose, when I install the plugin from the update site.
This is how A.egl looks like:
var myTemplate := TemplateFactory.load('A1.egl');
myTemplate.populate('myModel', myModel);
myTemplate.generate(output.xml);
Now, as I said before, I noticed after installing the plugin, if I run A.egl but not B.egl, then A.egl is present in the folder but B.egl doesn't.
Only when I run B.egl for the first time the file B.egl appears in the same folder where A.egl lives.
That's what made me thought that this files are somehow copied to this folder only on the first usage.
|
|
|
|
Powered by
FUDForum. Page generated in 0.03685 seconds