Check editor problems [message #488442] |
Mon, 28 September 2009 12:58  |
Eclipse User |
|
|
|
Originally posted by: ML1984.gmx.de
Hi there,
I am experiencing trouble with the Check editor. I defined a Check file,
referencing a Xtend file. Although both files are accessible via class
path and there is a proper 'extension' declaration in the Check file,
the editor complains about not found operations:
"Couldn't find operation 'isNullOrEmpty(ecore::EString)'
for type 'tgg::Node'"
In fact, there is no operation for this type, but 'isNullOrEmpty' is
declared in the Xtend file. Interestingly, the check file works
properly, i.e. 'isNullOrEmpty' is called.
Am I doing something wrong?
Is this a bug in the editor?
How can the above problem be solved (for me)?
There are additional errors, but I think they are already filed as bugs
in: https://bugs.eclipse.org/bugs/show_bug.cgi?id=262258
Cheers,
Mark
PS. I am using Eclipse Modeling Tools SR1 with Xtext/Xpand 0.7.2.
|
|
|
Re: Check editor problems [message #488453 is a reply to message #488442] |
Mon, 28 September 2009 13:41   |
Eclipse User |
|
|
|
Hi Mark,
did you try to restart Eclipse? The editor messes things up if you open
and close projects that are on the classpath of the project that
contains the check / xpand files. Maybe there are other situations that
reveal this bug as well.
Regards,
Sebastian
--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com
Mark L. schrieb:
> Hi there,
>
> I am experiencing trouble with the Check editor. I defined a Check file,
> referencing a Xtend file. Although both files are accessible via class
> path and there is a proper 'extension' declaration in the Check file,
> the editor complains about not found operations:
>
> "Couldn't find operation 'isNullOrEmpty(ecore::EString)'
> for type 'tgg::Node'"
>
> In fact, there is no operation for this type, but 'isNullOrEmpty' is
> declared in the Xtend file. Interestingly, the check file works
> properly, i.e. 'isNullOrEmpty' is called.
>
> Am I doing something wrong?
> Is this a bug in the editor?
> How can the above problem be solved (for me)?
>
> There are additional errors, but I think they are already filed as bugs
> in: https://bugs.eclipse.org/bugs/show_bug.cgi?id=262258
>
> Cheers,
> Mark
>
> PS. I am using Eclipse Modeling Tools SR1 with Xtext/Xpand 0.7.2.
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05737 seconds