Skip to content
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 fails to highlight errors on codegen #966

Closed
edwardalee opened this issue Feb 16, 2022 · 0 comments · Fixed by #967
Closed

Epoch fails to highlight errors on codegen #966

edwardalee opened this issue Feb 16, 2022 · 0 comments · Fixed by #967
Labels
bug Something isn't working epoch Epoch IDE

Comments

@edwardalee
Copy link
Collaborator

Minimal example:

target C;
main reactorx {}

In Epoch, when code generating, the EclipseErrorReporter fails to highlight errors with the following message:

WARNING: Setting markers in the IDE failed:
org.eclipse.core.internal.resources.ResourceException: Resource '/CTests/src' does not exist.

Curiously, although Eclipse reports no compile errors, line 122 of EclipseErrorReporter.java has a compile error. The line is:

                IMarker marker = iResource.createMarker(IMarker.PROBLEM);

The error is:

The type org.eclipse.core.runtime.jobs.ISchedulingRule cannot be resolved. It is 
 indirectly referenced from required .class files

In branch epoch-error-reporting, I've added a dependency to org.eclipse.core.runtime to MANIFEST.MF. I hope this doesn't create other problems...

In addition, JavaGeneratorUtils.java has an error where it is trying to mark errors on the directory containing the source file rather than the source file itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working epoch Epoch IDE
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant