Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » code too long(this is the error that i keep getting in my xtext project)
icon9.gif  code too long [message #692811] Tue, 05 July 2011 09:34 Go to next message
irfan  is currently offline irfan Friend
Messages: 16
Registered: July 2011
Junior Member
Hi all,
This is the error that i am getting when generating the artifacts for my grammar...
The error only started coming when i have updated the xtext with newer version.
The same grammar is running fine with the older version of xtext Confused .
Error:
The code of method specialStateTransition(int, IntStream) is exceeding the 65535 bytes limit InternalVizJsonLexer.java
/org.xtext.example.vizjson.ui/src-gen/org/xtext/example/vizjson/ui/contentassist/antlr/internal line 7188 Java Problem


Now as this error is generated in the scr-gen...i am kind of stuck...

thanks in advance
Irfan.

Re: code too long [message #692814 is a reply to message #692811] Tue, 05 July 2011 09:39 Go to previous messageGo to next message
Alexander Nittka is currently offline Alexander NittkaFriend
Messages: 1193
Registered: July 2009
Senior Member
Hi,

did you activate the class splitting options in the antlr generator fragments?
fragment = parser.antlr.XtextAntlr(UI)GeneratorFragment {
options = {
classSplitting=true
}
}

Alex


Need training, onsite consulting or any other kind of help for Xtext?
Go visit http://xtext.itemis.com or send a mail to xtext@itemis.de
Re: code too long [message #692857 is a reply to message #692814] Tue, 05 July 2011 11:02 Go to previous messageGo to next message
Sebastian Zarnekow is currently offline Sebastian ZarnekowFriend
Messages: 3108
Registered: July 2009
Senior Member
Hi Alex, Hi Irfan,

you have run into this regression:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=349992

Regards,
Sebastian
--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com

On 05.07.11 11:39, Alexander Nittka wrote:
> Hi,
>
> did you activate the class splitting options in the antlr generator
> fragments?
> fragment = parser.antlr.XtextAntlr(UI)GeneratorFragment {
> options = {
> classSplitting=true
> }
> }
>
> Alex
icon9.gif  Re: code too long [message #693243 is a reply to message #692814] Wed, 06 July 2011 06:03 Go to previous message
irfan  is currently offline irfan Friend
Messages: 16
Registered: July 2011
Junior Member
thanks for the Rply Alex..
i have tried that to but its not working...
guess have to wait for sebastain and team to solve the bug...
Previous Topic:How to put Xtext project into version control system
Next Topic:Retrieving Xtext resources in project
Goto Forum:
  


Current Time: Mon Sep 28 06:50:49 GMT 2020

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

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

Back to the top