| Summary: | [xtext] Linking fails when AutoBuild is disabled | ||
|---|---|---|---|
| Product: | [Modeling] TMF | Reporter: | Laurent <laurent.hubert> |
| Component: | Xtext | Assignee: | Project Inbox <tmf.xtext-inbox> |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | Holger.Schill, sebastian.zarnekow, sven.efftinge |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | Macintosh | ||
| OS: | Mac OS X - Carbon (unsup.) | ||
| Whiteboard: | |||
|
Description
Laurent
When the checkbox "Start a build immediately" in the dialog to clean projects is checked the described problem is not reproduceable. Could you please verify. Yes indeed, "Start a build immediately" ensures that the project is built and linking works. Although, by modifying the sources, the descriptions saved during build may become outdated and linking may not work as intended. This is true for Java too. So this is the expected behavior. The default global scope is contructed through a builder. If the automatic build is disabled the scope gest outdated. There must be something I do wrong. In Java, when I disable AutoBuild and clean the project, global references are NOT marked as errors (but incorrect references are, which means that some linking is done). It is also possible to Open Declaration (F3), or find References, which is not possible for languages implemented with XText. That may be true for Java. However, Xtext's default linking is based on the index which is populated by a builder. We will not reimplement all the infrastructure as the JDT guys did. |