Monday, August 9, 2021

Re: The GWT Eclipse Plugin stopped working in Eclipse 2021-06

Using SDGB built from recent code solves the issue (of it not working with Java 11).  Just do a maven build and install in eclipse from the archive.  At the time I moved to Java 11, it was at com.github.sdbg.releng.p2/target/com.github.sdbg.releng.p2-1.0.10.qualifier.zip

Perhaps the version has changed since then.  

I think the SDGB repo is in GitHub or someplace similar.  Not at my computer at the moment so can't confirm.

On Sun, Aug 8, 2021 at 3:05 Craig Mitchell <mail@craig-mitchell.com> wrote:
>  client side in Chrome or Edge

Yep, I can still do this.  And when I want to step into code, I often do just use the Chrome debugger (as the SDBG plugin was a bit of hit and miss when inspecting variable, etc.).

However, it's very convient to get the Chrome console right in Eclipse.  You can instantly see if anything is going wrong.  That's the main reason it'd be great to get the SDBG plugin working again.

I guess I could try to fix SDBG myself.  Looks like this is the problem:


I'll post a message in https://groups.google.com/g/sdbg first, and hope someone that knows something about the plugin responds.  :-)

On Sunday, 8 August 2021 at 4:38:53 pm UTC+10 ralph.f...@gmail.com wrote:
Stopped using Eclipse plug-ins just recently when going to JDK11. Am using Maven Jetty plugin to run code server and host the application. 

It was a bit cumbersome to set up (steep Maven learning curve!) but was worth it in the end: onboard a new developer in no time (if Maven is already configured). 

Server side debugging in Eclipse (or whatever is your preferred IDE), client side in Chrome or Edge. 


Craig Mitchell <ma...@craig-mitchell.com> schrieb am So. 8. Aug. 2021 um 08:25:
Tried a fresh Eclipse install, and also tried installing the GWT plugin without the Chrome debugger, and then adding the SDBG manually from here https://sdbg.github.io/ with no luck.

Looks like the SDBG died somewhere between my old 2018-12 Eclipse, and 2021-06 Eclipse.

Looking at the error:  javax/xml/bind/Datatypeconverter not found, it sounds like it's because Eclipse can no longer run on Java 8 (I'm running it on Java 11).

Does anyone have Chrome debug in Eclipse still working?  Or are there any other plugins that we can use?

On Saturday, 7 August 2021 at 2:46:30 pm UTC+10 Craig Mitchell wrote:
I just did a fresh install on a new PC, and the GWT plugin worked fine with Eclipse 2021-06.

The only issue I have is when I launch Chrome from Eclipse, Chrome opens fine, however, I get this error:
error.png
and I can't debug the browser in Eclipse.  Debugging still works fine in Chrome.


On Thursday, 17 June 2021 at 3:22:34 am UTC+10 Jim Douglas wrote:
I just updated my Eclipse development environment from 2021-03 to 2021-06. The installed GWT Eclipse Plugin (which hasn't been updated since 2017) no longer shows up in the menu bar, and it logs a bunch of errors. Is anyone (Brandon?) still maintaining it?


  GWT Eclipse Plugin 3.0.0.201710131939 com.gwtplugins.eclipse.suite.v3.feature.feature.group GWT Eclipse Plugin


org.osgi.framework.BundleException: Could not resolve module: com.gwtplugins.gdt.eclipse.core [3649]
  Unresolved requirement: Require-Bundle: com.gwtplugins.gdt.eclipse.platform
    -> Bundle-SymbolicName: com.gwtplugins.gdt.eclipse.platform; bundle-version="3.0.0.201710131939"; singleton:="true"
       com.gwtplugins.gdt.eclipse.platform [3651]
         No resolution report for the bundle.  Bundle was not resolved because of a uses constraint violation.
  org.apache.felix.resolver.reason.ReasonException: Uses constraint violation. Unable to resolve resource com.gwtplugins.gdt.eclipse.platform [osgi.identity; type="osgi.bundle"; version:Version="3.0.0.201710131939"; osgi.identity="com.gwtplugins.gdt.eclipse.platform"; singleton:="true"] because it is exposed to package 'javax.servlet' from resources javax.servlet [osgi.identity; type="osgi.bundle"; version:Version="3.0.0.v201112011016"; osgi.identity="javax.servlet"] and jakarta.servlet-api [osgi.identity; type="osgi.bundle"; version:Version="4.0.0"; osgi.identity="jakarta.servlet-api"] via two dependency chains.

Chain 1:
  com.gwtplugins.gdt.eclipse.platform [osgi.identity; type="osgi.bundle"; version:Version="3.0.0.201710131939"; osgi.identity="com.gwtplugins.gdt.eclipse.platform"; singleton:="true"]
    require: (osgi.wiring.bundle=javax.servlet)
     |
    provide: osgi.wiring.bundle: javax.servlet
  javax.servlet [osgi.identity; type="osgi.bundle"; version:Version="3.0.0.v201112011016"; osgi.identity="javax.servlet"]

Chain 2:
  com.gwtplugins.gdt.eclipse.platform [osgi.identity; type="osgi.bundle"; version:Version="3.0.0.201710131939"; osgi.identity="com.gwtplugins.gdt.eclipse.platform"; singleton:="true"]
    require: (osgi.wiring.bundle=org.eclipse.jetty.servlet)
     |
    provide: osgi.wiring.bundle; bundle-version:Version="10.0.5"; osgi.wiring.bundle="org.eclipse.jetty.servlet"
  org.eclipse.jetty.servlet [osgi.identity; type="osgi.bundle"; version:Version="10.0.5"; osgi.identity="org.eclipse.jetty.servlet"]
    import: (&(osgi.wiring.package=javax.servlet)(&(version>=4.0.0)(!(version>=5.0.0))))
     |
    export: osgi.wiring.package: javax.servlet
  jakarta.servlet-api [osgi.identity; type="osgi.bundle"; version:Version="4.0.0"; osgi.identity="jakarta.servlet-api"]
at org.eclipse.osgi.container.Module.start(Module.java:463)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel$2.run(ModuleContainer.java:1849)
at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor$1$1.execute(EquinoxContainerAdaptor.java:136)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1842)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1783)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1747)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1669)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:345)


--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-tool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/49bb17be-2903-4237-9b56-8b1ed85e3625n%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/ecfcd742-f94f-41a3-802f-4f3b47c20675n%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/CAEQ-_W3QhJJK9gdDoCf0pMHKwn%2BKD_oeEO5y15Wicr8kkP58Fg%40mail.gmail.com.

No comments:

Post a Comment