Friday, October 3, 2014

Re: gwt-maven-plugin 2.7.0-SNAPSHOT

Oh crap, I misremembered; it's -incremental that changed behavior recently (and was already patched in); -superDevMode is still off by default for now.
I made a new change that's future-proof (passing an explicit -superDevMode or -nosuperDevMode, always, without presuming any default value in DevMode) and am currently building/deploying a new snapshot.

On Fri, Oct 3, 2014 at 2:03 PM, Mihai Stanciu <mihaisdm@gmail.com> wrote:
Hi

Did the new flag get into the latest gwt-SNAPSHOT ?
i downloaded the latest snapshots for gwt and gwt-maven-plugin but now i can't enable it any more.

no mather what values i try to pass
<superDevMode>true</superDevMode> in my pom.xml and run mvn gwt:run -Dgwt.superDevMode=true

SuperdevMode with auto recompile is not started.

Ps. your suggestion was working before.

Regards,
Mihai

On Friday, October 3, 2014 12:56:50 PM UTC+3, Thomas Broyer wrote:
Should be fixed now (in master, and I just deployed a new snapshot).
I also updated how we pass -superDevMode to the DevMode as the default behavior has changed in GWT proper.

On Thursday, October 2, 2014 3:28:23 PM UTC+2, Thomas Broyer wrote:
Ah, right. I'll fix it ASAP (add gwt-codeserver to the DevMode classpath when superDevMode is 'true').
As a workaround, declare a dependency on gwt-codeserver in your project (<scope>provided</scope> should work)

On Thursday, October 2, 2014 10:33:05 AM UTC+2, Mihai Stanciu wrote:
Hi

[ERROR] java.lang.RuntimeException: java.lang.ClassNotFoundException: com.google.gwt.dev.codeserver.CodeServer
[ERROR] at com.google.gwt.dev.shell.SuperDevListener.<init>(SuperDevListener.java:116)
[ERROR] at com.google.gwt.dev.DevMode.ensureCodeServerListener(DevMode.java:638)
[ERROR] at com.google.gwt.dev.DevModeBase.doStartup(DevModeBase.java:940)
[ERROR] at com.google.gwt.dev.DevMode.doStartup(DevMode.java:529)
[ERROR] at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1044)
[ERROR] at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:836)
[ERROR] at com.google.gwt.dev.DevMode.main(DevMode.java:411)
[ERROR] Caused by: java.lang.ClassNotFoundException: com.google.gwt.dev.codeserver.CodeServer
[ERROR] at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
[ERROR] at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
[ERROR] at java.security.AccessController.doPrivileged(Native Method)
[ERROR] at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
[ERROR] at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
[ERROR] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
[ERROR] at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
[ERROR] at java.lang.Class.forName0(Native Method)
[ERROR] at java.lang.Class.forName(Class.java:188)
[ERROR] at com.google.gwt.dev.shell.SuperDevListener.<init>(SuperDevListener.java:111)
[ERROR] ... 6 more


It only starts if i set:
<superDevMode>false</superDevMode>

Thanks,

On Sunday, September 14, 2014 6:07:05 AM UTC+3, Thomas Broyer wrote:
Hi all,

I spent some hours updating the gwt-maven-plugin to GWT 2.7.0-SNAPSHOT, and just deployed a snapshot to the https://nexus.codehaus.org/content/repositories/snapshots/ repository.

You should thus be able to test GWT 2.7.0-SNAPSHOT more easily by switching to gwt-maven-plugin 2.7.0-SNAPSHOT.

Feedback welcome, both on the plugin and on GWT.

--
You received this message because you are subscribed to a topic in the Google Groups "Google Web Toolkit" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-web-toolkit/gFPCB3-nJIc/unsubscribe.
To unsubscribe from this group and all its topics, 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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.



--
Thomas Broyer
/tɔ.ma.bʁwa.je/

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" 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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment