TemplateFactory.load help [message #16125] |
Tue, 21 April 2009 06:56  |
Eclipse User |
|
|
|
Hi there,
I have in an EGL script the following line:
var t : Template := TemplateFactory.load('./Other.egl');
Previously, this line worked, but after my version of Epsilon from the SVN
I find that I get the following error:
Internal error: java.lang.IllegalArgumentException: URI is not absolute
at java.net.URI.toURL[URI.java:1080]
at org.eclipse.epsilon.egl.EglModule.parse[EglModule.java:97]
at org.eclipse.epsilon.egl.types.EglTemplate.<init>[EglTemplate.java:48]
at
org.eclipse.epsilon.egl.types.EglFileGeneratingTemplate.<init >[EglFileGeneratingTemplate.java:50]
at
org.eclipse.epsilon.egl.template.FileGeneratingTemplateFacto ry.load[FileGeneratingTemplateFactory.java:51]
at sun.reflect.NativeMethodAccessorImpl.invoke0[Native Method]
...
Do you have any ideas why this might have occurred.
I believe I am probably using the method incorrectly, as I may have
unintentionally changed some of my code along the lines. However, when
having a naive look in to the code, as to why this might error might be
happenning I noticed that in:
org.eclipse.epsilon.egl.template.TemplateFactory
the resolveTemplate method calls UriUtil.resolve(path, templateRoot, root)
-- and on inspection templateRoot and root are null. Should this be the
case? Perhaps I need to call the TemplateFactory.load method differently?!
Any help to resolve this issue would be much appreciated.
PS. I'm running this EGL script from a standard launch configuration.
All the best,
Edd
|
|
|
|
|
|
|
Re: TemplateFactory.load help [message #16238 is a reply to message #16223] |
Wed, 22 April 2009 07:35  |
Eclipse User |
|
|
|
Edward Turner wrote:
> Hi Louis,
>
> Thanks for the prompt reply and update -- this has fixed the problem...
> thanks, that's great!
>
Hi Edd,
You're welcome. Thanks for the report - sorry about the regression!
Cheers,
Louis.
|
|
|
Re: TemplateFactory.load help [message #566895 is a reply to message #16125] |
Tue, 21 April 2009 06:59  |
Eclipse User |
|
|
|
Whoops! Noticed I missed the crucial word of a sentence in my previous
message, sorry!! The sentence should read
...
Previously, this line worked, but after **updating** my version of Epsilon
from the SVN I find that I get the following error:
...
|
|
|
Re: TemplateFactory.load help [message #566905 is a reply to message #16139] |
Tue, 21 April 2009 07:09  |
Eclipse User |
|
|
|
Hi Edd,
This appears to be yet another path-related regression. Could you please
open a bug for it and we'll look into it asap.
Cheers,
Dimitris
Edward Turner wrote:
> Whoops! Noticed I missed the crucial word of a sentence in my previous
> message, sorry!! The sentence should read
>
> ..
> Previously, this line worked, but after **updating** my version of
> Epsilon from the SVN I find that I get the following error:
>
> ..
>
>
|
|
|
Re: TemplateFactory.load help [message #566991 is a reply to message #16153] |
Wed, 22 April 2009 06:21  |
Eclipse User |
|
|
|
Hi Edd,
Thanks for the message. This is a regression introduced in a recent
change to EGL. I'm about to commit a change to SVN that should fix the
problem. Do let me know if you have any further problems.
I'm investigating why our tests didn't fail. I've opened a bug to track
this, and any further issues:
https://bugs.eclipse.org/273222
Cheers,
Louis.
Dimitris Kolovos wrote:
> Hi Edd,
>
> This appears to be yet another path-related regression. Could you please
> open a bug for it and we'll look into it asap.
>
> Cheers,
> Dimitris
>
> Edward Turner wrote:
>> Whoops! Noticed I missed the crucial word of a sentence in my previous
>> message, sorry!! The sentence should read
>>
>> ..
>> Previously, this line worked, but after **updating** my version of
>> Epsilon from the SVN I find that I get the following error:
>>
>> ..
>>
>>
|
|
|
Re: TemplateFactory.load help [message #567029 is a reply to message #16194] |
Wed, 22 April 2009 07:03  |
Eclipse User |
|
|
|
Hi Louis,
Thanks for the prompt reply and update -- this has fixed the problem...
thanks, that's great!
> ... I've opened a bug to track
> this, and any further issues:
> https://bugs.eclipse.org/273222
Thanks for opening the bug report for me -- I wasn't available for some of
yesterday and this morning I had the nice surprise that you'd resolved the
problem!
> Cheers,
> Louis.
Many thanks,
Edd
|
|
|
Re: TemplateFactory.load help [message #567048 is a reply to message #16223] |
Wed, 22 April 2009 07:35  |
Eclipse User |
|
|
|
Edward Turner wrote:
> Hi Louis,
>
> Thanks for the prompt reply and update -- this has fixed the problem...
> thanks, that's great!
>
Hi Edd,
You're welcome. Thanks for the report - sorry about the regression!
Cheers,
Louis.
|
|
|
Powered by
FUDForum. Page generated in 0.53506 seconds