Saturday, May 14, 2016

Re: Dear GWT

> You (or your tools) must be doing something wrong. Can you tell more about how you're launching SDM


I'm using IntelliJ. I have a GWT sdm run configuration in IntelliJ.

This is getting a bit ridiculous, I seem to be needing restarts even when I make changes to existing files.

E.g, I'm editing a file called FooView.java which is a uibinder view file.

As soon as I begin typing, I see this exception pop up in the SDM console:

java.nio.file.NoSuchFileException: /home/ali/foo/src/main/java/com/gevald/web/FooView.java___jb_old___
at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
at sun.nio.fs.UnixException.asIOException(UnixException.java:111)
at sun.nio.fs.LinuxWatchService$Poller.implRegister(LinuxWatchService.java:246)
at sun.nio.fs.AbstractPoller.processRequests(AbstractPoller.java:260)
at sun.nio.fs.LinuxWatchService$Poller.run(LinuxWatchService.java:329)
at java.lang.Thread.run(Thread.java:745)
java.nio.file.NoSuchFileException: /home/ali/xxx/src/main/java/com/foo/web/FooView.java___jb_old___
at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
at sun.nio.fs.UnixException.asIOException(UnixException.java:111)
at sun.nio.fs.LinuxWatchService$Poller.implRegister(LinuxWatchService.java:246)
at sun.nio.fs.AbstractPoller.processRequests(AbstractPoller.java:260)
at sun.nio.fs.LinuxWatchService$Poller.run(LinuxWatchService.java:329)
at java.lang.Thread.run(Thread.java:745)

When I next refresh the window, I get a compile error:

  [ERROR] Errors in 'file:/home/ali/foo/src/main/java/com/foo/web/client/nav/MemberNavigator.java'
               [ERROR] Line 47: No source code is available for type com.foo.web.FooView; did you forget to inherit a required module?

--
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 post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment