Skip to content

Eclipse dependencies confuse IntelliJ #124

Description

@Virtlink

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-EnhancementCategory: enhancement. ImprovementP-LowPriority: low. Should yield priority to high and non-prioritized

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions