Skip to content

Update plugin for Eclipse 4.20 with Java 11 #401

@difflaender

Description

@difflaender

We have forked the plugin and made a version that seems to be working fine with the current Eclipse 2021-06 (4.20).
profschumanngmbh@a66b0a4

However, there were a bunch of concessions we had to make, so I am not sure if it's suitable for an official pull request. But I wanted to at least discuss the possibility and the challenges:

  • We threw out all the targets for older Eclipse versions, since the code would not be compatible with the old libraries anyway.
  • We had to remove some dependencies to Eclipse JST and WST for plugins/com.gwtplugins.gwt.eclipse.wtp.test and plugins/com.gwtplugins.gwt.eclipse.wtp.maven.test, since those were no longer present in recent repositories. Corresponding unit tests from those projects seem to have been disabled anyway.
  • According to Brandon's pull request for Eclipse Photon, the built-in Jetty has some issues with Java 11. We don't use the built-in Jetty but instead start Jetty via a normal Java Launcher in Eclipse that uses Java 8, so this issue does not affect us. But this might be a showstopper for others.

Another thing to note: the SDBG Chrome JS Debugger does not seem to run properly with Java 11 due to the missing JAXB dependencies. This prevents debugging in SuperDevMode within Eclipse itself (though debugging via the browser's own debugger with source mapping is reportedly still possible). They already committed a fix to master some time ago, but the plugin's update repository does not seem to get updated. A third party team in sdbg/sdbg#161 mentioned their own repo from which the latest master version can be pulled, though. Alternatively, we can build it from source ourselves.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions