Skip to main content



      Home
Home » Modeling » TMF (Xtext) » Errors in Xtext Grammar File
Errors in Xtext Grammar File [message #50944] Sat, 13 June 2009 16:04 Go to next message
Eclipse UserFriend
Originally posted by: oba.informatik.uni-kiel.de

Hi,

in the grammar editor of Xtext, some obvious errors are not shown.
Additionally, some errors are shown sometimes but not shown after a few
minutes although they are not fixed yet.

I have seen that there was a bug report regarding this issue:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=203671

Unfortunately, I can't deduce anything from that reports... What is the
current status? Will this bug in the editor be fixed soon?

What would I need to do and where would I need to start if I wanted to
fix it myself?

Example:

Rule :
Rule1 | Rule2
;
Rule 1:
lala=ID
;
Rule 1:
lala=ID
;



There are at least two bugs in the grammer above. These errors are
sometimes shown sometimes not..

Thanks

Inanc
Re: Errors in Xtext Grammar File [message #51000 is a reply to message #50944] Sat, 13 June 2009 16:08 Go to previous messageGo to next message
Eclipse UserFriend
Do you refer to oAW Xtext or TMF Xtext?
Looks like oAW Xtext as the grammar definition is missing in your
example grammar.

Sven

myName schrieb:
> Hi,
>
> in the grammar editor of Xtext, some obvious errors are not shown.
> Additionally, some errors are shown sometimes but not shown after a few
> minutes although they are not fixed yet.
>
> I have seen that there was a bug report regarding this issue:
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=203671
>
> Unfortunately, I can't deduce anything from that reports... What is the
> current status? Will this bug in the editor be fixed soon?
>
> What would I need to do and where would I need to start if I wanted to
> fix it myself?
>
> Example:
>
> Rule :
> Rule1 | Rule2
> ;
> Rule 1:
> lala=ID
> ;
> Rule 1:
> lala=ID
> ;
>
>
>
> There are at least two bugs in the grammer above. These errors are
> sometimes shown sometimes not..
>
> Thanks
>
> Inanc
>
>
>
>
Re: Errors in Xtext Grammar File [message #51028 is a reply to message #50944] Sat, 13 June 2009 16:08 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: oba.informatik.uni-kiel.de

myName wrote:
> Hi,
>
> in the grammar editor of Xtext, some obvious errors are not shown.
> Additionally, some errors are shown sometimes but not shown after a few
> minutes although they are not fixed yet.
I mean oAW Xtext.
Re: Errors in Xtext Grammar File [message #51056 is a reply to message #51028] Sun, 14 June 2009 09:42 Go to previous messageGo to next message
Eclipse UserFriend
So the answer is, yes, it has been fixed in TMF Xtext. :-)

Cheers,
Sven

myName schrieb:
> myName wrote:
>> Hi,
>>
>> in the grammar editor of Xtext, some obvious errors are not shown.
>> Additionally, some errors are shown sometimes but not shown after a few
>> minutes although they are not fixed yet.
> I mean oAW Xtext.
Re: Errors in Xtext Grammar File [message #51112 is a reply to message #51056] Sun, 14 June 2009 10:20 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: oba.informatik.uni-kiel.de

Sven Efftinge wrote:
> So the answer is, yes, it has been fixed in TMF Xtext. :-)

Thanks for your answer, Sven.

Well, the thing is: In the getting started documentation of TMF Xtext,
it says, that TMF Xtext needs Eclipse Galileo.

I am working on a project where we develop in Eclipse Ganymede. Can you
say anything about that?
- How compatible is TMF Xtext in Eclipse Ganymede? Do I "loose" any
features or so?

Thanks
Re: Errors in Xtext Grammar File [message #51138 is a reply to message #51112] Sun, 14 June 2009 10:31 Go to previous messageGo to next message
Eclipse UserFriend
It won't work, because the OSGi bundles explicitly require eclipse
galileo bundles (via version ranges).

Sven

myName schrieb:
> Sven Efftinge wrote:
>> So the answer is, yes, it has been fixed in TMF Xtext. :-)
>
> Thanks for your answer, Sven.
>
> Well, the thing is: In the getting started documentation of TMF Xtext,
> it says, that TMF Xtext needs Eclipse Galileo.
>
> I am working on a project where we develop in Eclipse Ganymede. Can you
> say anything about that?
> - How compatible is TMF Xtext in Eclipse Ganymede? Do I "loose" any
> features or so?
>
> Thanks
Re: Errors in Xtext Grammar File [message #51165 is a reply to message #51112] Sun, 14 June 2009 10:33 Go to previous messageGo to next message
Eclipse UserFriend
Hi myname,

I'm afraid you cannot use Xtext with Ganymede as we depend on EMF 2.5
which in turn requires Eclipse 3.5 Galileo.
The only way to overcome this is to compile EMF and Xtext yourself which
will propably no valid option for you.

Regards,
Sebastian

Am 14.06.2009 16:20 Uhr, schrieb myName:
> Sven Efftinge wrote:
>> So the answer is, yes, it has been fixed in TMF Xtext. :-)
>
> Thanks for your answer, Sven.
>
> Well, the thing is: In the getting started documentation of TMF Xtext,
> it says, that TMF Xtext needs Eclipse Galileo.
>
> I am working on a project where we develop in Eclipse Ganymede. Can you
> say anything about that?
> - How compatible is TMF Xtext in Eclipse Ganymede? Do I "loose" any
> features or so?
>
> Thanks
Re: Errors in Xtext Grammar File [message #51218 is a reply to message #51138] Sun, 14 June 2009 11:01 Go to previous message
Eclipse UserFriend
Originally posted by: oba.informatik.uni-kiel.de

Sven Efftinge wrote:
> It won't work, because the OSGi bundles explicitly require eclipse
> galileo bundles (via version ranges).
oh, thanks.
Previous Topic:TMF Xtext Getting Started Example
Next Topic:[Xtext] Code Formatting via menu, but "Source" menu is not present
Goto Forum:
  


Current Time: Thu May 08 19:05:02 EDT 2025

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

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

Back to the top