Help with finding a building? bug. [message #1839088] |
Fri, 12 March 2021 13:29  |
Eclipse User |
|
|
|
Help! I've been working with Xtext for about a year and feel pretty comfortable. I've got a fairly complex language for specifying AI models. It's been working quite well up until I recently updated all of my Eclipse installations, including moving from 2.24 to 2.25, and fully updating from Java11 to 15. Somewhere in that process I introduced a new anomalous behavior. Let me describe that behavior and maybe you can point me in a debugging direction, because I'm at a loss.
On a fresh start of Eclipse, I can open and edit my language files with no problem. Fast and normal validators all work as expected. However, after the first save, any subsequent edits will trigger a series of validation errors for what were previously valid parses. The validation errors all relate to content that was imported using xtext's importNamespace magic. I can manually delete the problem markers and go about business as usual until I have to edit the language file, when the process repeats.
Furthermore, the validation errors are not just for the source file edited, but also its copy residing in the compilation folder (i.e., bin/). This seems to be new behavior. I don't recall the validators running on the compiled folder before. Did I screw up a setting to trigger this?
It seems like after validating in the editor, the builder is being triggered but for some reason it's not resolving the imports correctly.
I've verified that none of my validators are throwing exceptions or the like. I've verified that the language behaves as expected in standalone mode (i.e., valid files don't throw import related validation errors). It's just in the GUI mode that I'm getting this parallel behavior, one with no validation errors, the other with import related failures.
I'm at a loss. I'm looking for classes to debug or enable logging for, maybe some undocumented configuration to prevent parsing of the bin/ folder (to test that theory). Anything.
Many thanks.
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04514 seconds