| Summary: | Timeout/heap space issue results in "ANTLR could not analyze this decision in rule Tokens" error | ||
|---|---|---|---|
| Product: | [Modeling] TMF | Reporter: | Jens Von Pilgrim <developer> |
| Component: | Xtext | Assignee: | Project Inbox <tmf.xtext-inbox> |
| Status: | CLOSED NOT_ECLIPSE | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | henrik.lindberg, sebastian.zarnekow, sven.efftinge |
| Version: | 1.0.1 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Jens Von Pilgrim
The timeout is configurable. See here: http://20000frames.blogspot.com/2010/09/dealing-with-could-not-even-do-k1-for.html I'm inclined to close this as not eclipse. Any objections? Sebastian, thanks for the link. So, this solves part of this problem, however, one still has to know about this timeout problem in the first place. I'm well aware of this issue being an ANTLR issue rather then an Xtext one. However, from the Xtext user's point of view, it is Xtext (Bad enough that ANTLR error messages pop up with some weird locations pointing to some weird *.g-files). As this problem is really hard to find, it would be extremely helpful to at least add a hint to the console output "fixing" the wrong ANTLR hint. Cheers, Jens We don't aim to make the usage of Antlr transparent. We also use EMF, Google Guice, Google Collection and most of the Eclipse Workbench. If we tried to abstract over any exception and error messages thrown by those libraries, you wouldn't be able to discuss the real issue within the corresponding projects, because you would still think it can be solved by us. But it can't we could just patch thy symptom, but even for that Antlr is the better place. So you really should spent your energy fixing the real problem, i.e. raise the issue over at Antlr.org. Thanks :-) (In reply to comment #1) > The timeout is configurable. > See here: > http://20000frames.blogspot.com/2010/09/dealing-with-could-not-even-do-k1-for.html > > I'm inclined to close this as not eclipse. Any objections? Maybe add the tip to the documentation ? |