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

Eclipse dependencies confuse IntelliJ #124

Open
Virtlink opened this issue Jan 24, 2023 · 0 comments
Open

Eclipse dependencies confuse IntelliJ #124

Virtlink opened this issue Jan 24, 2023 · 0 comments
Labels
C-Enhancement Category: enhancement. Improvement P-Low Priority: low. Should yield priority to high and non-prioritized

Comments

@Virtlink
Copy link
Contributor

When setting breakpoints and debugging the Spoofax 3 Eclipse LWB using IntelliJ, it gets confused as to which sources belong to the running Eclipse instance.

Specifically, IntelliJ shows dependencies with the eclipse-2021-03-R group, and with the org.eclipse.platform group. The latter are the wrong ones, the former are introduced through Coronium.

The 'wrong' org.eclipse.platform dependencies come from JDT:

  • org.eclipse.jdt:org.eclipse.jdt.core test dependency in spoofax.pie/core/spoofax.compiler
  • org.eclipse.jdt:org.eclipse.jdt.core API dependency in pie/core/task.java.ecj
  • org.eclipse.jdt:org.eclipse.jdt.compiler.apt API dependency in pie/core/task.java.ecj
  • org.eclipse.jdt:org.eclipse.jdt.compiler.tool API dependency in pie/core/task.java.ecj

While not a fix, one workaround is to (temporarily) disable the task.java.ecj project and to temporarily disable the offending test dependency in spoofax.compiler.

@Virtlink Virtlink added C-Bug Category: bug. Not working as expected C-Enhancement Category: enhancement. Improvement P-Low Priority: low. Should yield priority to high and non-prioritized and removed C-Bug Category: bug. Not working as expected labels Jan 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-Enhancement Category: enhancement. Improvement P-Low Priority: low. Should yield priority to high and non-prioritized
Projects
None yet
Development

No branches or pull requests

1 participant