gwt-maven-plugin 2.7.0-SNAPSHOT

1,383 views
Skip to first unread message

Thomas Broyer

unread,
Sep 13, 2014, 11:07:05 PM9/13/14
to google-we...@googlegroups.com
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.

Manuel Carrasco Moñino

unread,
Sep 15, 2014, 2:45:45 PM9/15/14
to Google-Web-Toolkit
Hi Thomas,

I've tried the snapshot and seems that DevMode with -superDevMode option is not being passed.
I tried either, set <superDevMode>true</superDevMode> in my pom.xml and run mvn gwt:run -Dgwt.superDevMode=true  but in both cases DevMode.main is not receiving the -superDevMode argument.

Am I doing something wrong?

- Manolo


--
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-tool...@googlegroups.com.
To post to this group, send email to google-we...@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

unread,
Sep 15, 2014, 5:52:14 PM9/15/14
to google-we...@googlegroups.com

Doh, don't know why, I'm passing nosuperDevMode if superDevMode is false, as if it's enabled by default in GWT. Will fix as soon as I find a computer.

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-tool...@googlegroups.com.

Thomas Broyer

unread,
Sep 16, 2014, 5:27:09 AM9/16/14
to google-we...@googlegroups.com
Fixed in master, and new snapshot deployed.


On Monday, September 15, 2014 11:52:14 PM UTC+2, Thomas Broyer wrote:

Doh, don't know why, I'm passing nosuperDevMode if superDevMode is false, as if it's enabled by default in GWT. Will fix as soon as I find a computer.

Le 15 sept. 2014 20:45, "Manuel Carrasco Moñino" <man...@apache.org> a écrit :
Hi Thomas,

I've tried the snapshot and seems that DevMode with -superDevMode option is not being passed.
I tried either, set <superDevMode>true</superDevMode> in my pom.xml and run mvn gwt:run -Dgwt.superDevMode=true  but in both cases DevMode.main is not receiving the -superDevMode argument.

Am I doing something wrong?

- Manolo

On Sun, Sep 14, 2014 at 5:07 AM, Thomas Broyer <t.br...@gmail.com> 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 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+unsub...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.

--
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+unsub...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.

Manuel Carrasco Moñino

unread,
Sep 16, 2014, 2:33:45 PM9/16/14
to Google-Web-Toolkit
Works like a charm.

Thanks.
- Manolo

To unsubscribe from this group and stop receiving emails from it, send an email to google-web-tool...@googlegroups.com.
To post to this group, send email to google-we...@googlegroups.com.

Luca

unread,
Sep 23, 2014, 5:12:52 AM9/23/14
to google-we...@googlegroups.com
I can't find Maven dependencies.

Here


No jars or poms.

What am I missing ?


Il giorno martedì 16 settembre 2014 11:27:09 UTC+2, Thomas Broyer ha scritto:
Fixed in master, and new snapshot deployed.

On Monday, September 15, 2014 11:52:14 PM UTC+2, Thomas Broyer wrote:

Doh, don't know why, I'm passing nosuperDevMode if superDevMode is false, as if it's enabled by default in GWT. Will fix as soon as I find a computer.

Le 15 sept. 2014 20:45, "Manuel Carrasco Moñino" <man...@apache.org> a écrit :
Hi Thomas,

I've tried the snapshot and seems that DevMode with -superDevMode option is not being passed.
I tried either, set <superDevMode>true</superDevMode> in my pom.xml and run mvn gwt:run -Dgwt.superDevMode=true  but in both cases DevMode.main is not receiving the -superDevMode argument.

Am I doing something wrong?

- Manolo

On Sun, Sep 14, 2014 at 5:07 AM, Thomas Broyer <t.br...@gmail.com> 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 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+unsub...@googlegroups.com.
To post to this group, send email to google-we...@googlegroups.com.

--
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+unsub...@googlegroups.com.
To post to this group, send email to google-we...@googlegroups.com.

Thomas Broyer

unread,
Sep 23, 2014, 6:00:56 AM9/23/14
to Google Web Toolkit
On Tue, Sep 23, 2014 at 11:12 AM, Luca wrote:
I can't find Maven dependencies.

Here


No jars or poms.

What am I missing ?

Hmm, the maven-metadata.xml has been updated yesterday, so maybe they're expiring the snapshots and just did some cleanup.
Hopefully we should have a new SNAPSHOT soon, but the last build failed again: http://build.gwtproject.org/job/gwt/

Thomas Broyer

unread,
Sep 24, 2014, 3:43:43 AM9/24/14
to google-we...@googlegroups.com
Build is back to normal, new snapshots available.

Mihai Stanciu

unread,
Oct 2, 2014, 4:33:05 AM10/2/14
to google-we...@googlegroups.com
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,

Thomas Broyer

unread,
Oct 2, 2014, 9:28:23 AM10/2/14
to google-we...@googlegroups.com
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)

Thomas Broyer

unread,
Oct 3, 2014, 5:56:50 AM10/3/14
to google-we...@googlegroups.com
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.

Mihai Stanciu

unread,
Oct 3, 2014, 8:03:25 AM10/3/14
to google-we...@googlegroups.com
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

Thomas Broyer

unread,
Oct 3, 2014, 8:42:27 AM10/3/14
to Google Web Toolkit
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.

--
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-tool...@googlegroups.com.

To post to this group, send email to google-we...@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/

Mihai Stanciu

unread,
Oct 3, 2014, 9:10:57 AM10/3/14
to google-we...@googlegroups.com
Works as expected.

Thank you!
To unsubscribe from this group and all its topics, send an email to google-web-toolkit+unsub...@googlegroups.com.

To post to this group, send email to google-we...@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/

Mihai Stanciu

unread,
Oct 23, 2014, 11:22:10 AM10/23/14
to google-we...@googlegroups.com
Hi found a strange issue using gwt-maven-plugin:2.7.0-beta1:run

Seems to be related to the "compileSourcesArtifacts"

I get the following error

[ERROR] Failed to execute goal org.codehaus.mojo:gwt-maven-plugin:2.7.0-beta1:run (default-cli) on project portal: artifact not found - Failure to find com.123:map-gwt:jar:sources:1.1.2 in http://.....:8081/artifactory/plugins-snapshot was cached in the local repository, resolution will not be reattempted until the update interval of artifactory-plugins has elapsed or updates are forced
[ERROR] 
[ERROR] Try downloading the file manually from the project website.
[ERROR] 
[ERROR] Then, install it using the command:
[ERROR] mvn install:install-file -DgroupId=com.123 -DartifactId=map-gwt -Dversion=1.1.2 -Dclassifier=sources -Dpackaging=jar -Dfile=/path/to/file
[ERROR] 
[ERROR] Alternatively, if you host your own repository you can deploy the file there:
[ERROR] mvn deploy:deploy-file -DgroupId=com.123 -DartifactId=map-gwt -Dversion=1.1.2 -Dclassifier=sources -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[ERROR] 
[ERROR] 
[ERROR] com.anritsu:map-gwt:jar:1.1.2

this only happens only when the artifact is not in the local repo. If manually added the build works.

This surfaced when i tried to enable gwt 2.7 beta on the continuous integration servers.

With gwt-maven-plugin:2.6.1 there is no problems.
and the only particularity for this artifact is that is used with 

<compileSourcesArtifacts>
                        <compileSourcesArtifact>com.123:map-gwt</compileSourcesArtifact>
 </compileSourcesArtifacts>

Thanks 

Thomas Broyer

unread,
Oct 27, 2014, 5:41:33 AM10/27/14
to google-we...@googlegroups.com
This is probably the same bug we had with resolving the gwt-dev dependencies, probably due to upgrading some Maven dependencies.
I'll see what I can do for rc1, but compileSourcesArtifacts is a hack that I think we'd better remove in the next version (or the one after that), so don't expect a miracle and switch to using an explicit classifier=sources dependency instead.
Reply all
Reply to author
Forward
0 new messages