-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Epoch error reporting #967
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm surprised to see that it has been reporting errors on the path (not the file). I think @petervdonovan should review. Adding the dependency is fine, but we should use the right version (see suggestion).
It looks like this change happened during refactoring only 2 weeks ago (commit b57c402), so maybe it is not that surprising that the problem was only found recently. What I do find strange is that, directory/file confusion aside, I am not sure that the idea behind the change introduced in b57c402 was correct. Before b57c402, we reported errors on the resource that had just been validated. Now, the error is reported on the root file of the code generation process. |
Ah, you're right -- very good detective work! I recall b57c402. Looks like we should just revert the changes on line 231. We should probably answer the |
Update version of eclipse.core.runtime. Co-authored-by: Marten Lohstroh <[email protected]>
I committed your suggestion, and it cause CI to fail with this error:
So we should revert this commit. |
Let me downgrade the dependency in Gradle/Maven and see if that works... |
…ipse and Gradle build config.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, but I haven't had a chance to check it with Epoch, so please check with the latest changes before merging.
@a-sr: this PR is now in a state where there is a remaining problem that we don't seem able to fix. If an error marker is added through validation triggered by the Compile button, then the marker will not be removed if the error is fixed (even if the document is saved) until the Compile action is invoked again. It appears that validator instances only remove markers that they have added, leaving markers added by others untouched. I attempted removing the markers explicitly in |
The EclipseErrorReporter has a method As far as I know, this method is called in |
This fixes #966 . It modifies MANIFEST.MF, which makes me nervous.