GWT 2.5.1-rc1 available

1,456 views
Skip to first unread message

Matthew Dempsky

unread,
Feb 13, 2013, 1:54:49 PM2/13/13
to google-web-toolkit
Hi everyone,

We're excited to announce the GWT 2.5.1-rc1 release candidate!  There will be an announcement soon on the GWT Blog, and you can download it here.  This release candidate has been uploaded to Maven Central with the version string of "2.5.1-rc1".

GWT 2.5.1 contains over 50 new bug fixes, many of which were contributed by the community.  Thanks to everyone who reported issues and/or submitted patches.

Please test out this release candidate and let us know of any issues, especially any regressions from either 2.4.0 or 2.5.0.  Thanks!

-Matthew, on behalf of the GWT team

Paul Robinson

unread,
Feb 14, 2013, 8:11:21 AM2/14/13
to google-we...@googlegroups.com
While it's good to get rid of long-deprecated things, is it really a good idea to do that in a point release like this? Shouldn't it wait until GWT 2.6? I'm thinking in particular of GWTShell and GWTCompiler.

Paul

Thomas Broyer

unread,
Feb 14, 2013, 9:50:12 AM2/14/13
to google-we...@googlegroups.com


On Thursday, February 14, 2013 2:11:21 PM UTC+1, Paul Robinson wrote:
While it's good to get rid of long-deprecated things, is it really a good idea to do that in a point release like this? Shouldn't it wait until GWT 2.6? I'm thinking in particular of GWTShell and GWTCompiler.

GWTShell and GWTCompiler have been deprecated since GWT 1.6, first released 3 years ago (1.6.0 is dated Feb 4th)
HostedMode was the replacement for GWTShell in GWT 1.6 and has disappeared long ago, replaced by DevMode (there's still a HostedMode entry point, but it simply says "hey, I'm deprecated, use DevMode instead" and exits: that was in Sept/Oct 2009 !)

GWTShell survived HostedMode only because JUnitShell was still based on it for a while (until April 2010, when it was rewritten to extend DevMode instead, and thus use Jetty instead of Tomcat).

Removing GWTShell was a long-overdue task, we're just removing clutter here. This allows us to remove the Tomcat dependency and stop bundling it into gwt-dev.jar (which almost balances the growth of ICU, so that gwt-dev only grows by  1MB instead of ~3MB)

So if you ask me, yes, it's a good idea doing this even in a point release.

Juan Pablo Gardella

unread,
Feb 14, 2013, 10:43:04 AM2/14/13
to google-we...@googlegroups.com
Hi all,

Where are the last release notes? I saw here but the last was 2.5.0 

Thanks


2013/2/14 Thomas Broyer <t.br...@gmail.com>

--
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Thomas Broyer

unread,
Feb 14, 2013, 1:56:22 PM2/14/13
to google-we...@googlegroups.com


On Thursday, February 14, 2013 4:43:04 PM UTC+1, Juan Pablo Gardella wrote:
Hi all,

Where are the last release notes? I saw here but the last was 2.5.0 

Not ready yet (as well as the announcement on the blog).

And the commit log should be (more or less): https://gwt.googlesource.com/gwt/+log/306af3a..2.5.1-rc1 

Juan Pablo Gardella

unread,
Feb 14, 2013, 1:59:08 PM2/14/13
to google-we...@googlegroups.com
Thanks Thomas! 


2013/2/14 Thomas Broyer <t.br...@gmail.com>

--

Sachin Shekhar R

unread,
Feb 15, 2013, 2:03:25 AM2/15/13
to google-we...@googlegroups.com
Any idea when will they be become available on public maven repo's?

Thomas Broyer

unread,
Feb 15, 2013, 2:12:30 AM2/15/13
to google-we...@googlegroups.com


On Friday, February 15, 2013 8:03:25 AM UTC+1, Sachin Shekhar R wrote:
Any idea when will they be become available on public maven repo's?

They already are in Central for 10 days.

Sachin Shekhar R

unread,
Feb 15, 2013, 10:14:26 AM2/15/13
to google-we...@googlegroups.com
Thanks could not find it in mvnrepository.com.  Found  it via your twitter post :) at central repo !!!

EMan

unread,
Feb 15, 2013, 11:15:58 AM2/15/13
to google-we...@googlegroups.com
I tried upgrading from 2.5.0 to 2.5.1 but I am getting an error during the gwt compile.  I googled that I needed to remove my gwt-junitCache, which I tried but it doesn't seem to be helping.  I am still using the 2.5.0 gwt maven plugin since the 2.5.1 is not available.  Could that be causing the problem?  Thanks.

[INFO] java.lang.RuntimeException: Unexpected IOException on in-memory stream
[INFO] at com.google.gwt.dev.javac.CompilationUnit.getTypes(CompilationUnit.java:324)
[INFO] at com.google.gwt.dev.jjs.impl.UnifyAst.assimilateUnit(UnifyAst.java:672)
[INFO] at com.google.gwt.dev.jjs.impl.UnifyAst.searchForTypeBySource(UnifyAst.java:985)
[INFO] at com.google.gwt.dev.jjs.impl.UnifyAst.addRootTypes(UnifyAst.java:530)
[INFO] at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:621)
[INFO] at com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:33)
[INFO] at com.google.gwt.dev.Precompile.precompile(Precompile.java:278)
[INFO] at com.google.gwt.dev.Precompile.precompile(Precompile.java:229)
[INFO] at com.google.gwt.dev.Precompile.precompile(Precompile.java:141)
[INFO] at com.google.gwt.dev.Compiler.run(Compiler.java:232)
[INFO] at com.google.gwt.dev.Compiler.run(Compiler.java:198)
[INFO] at com.google.gwt.dev.Compiler$1.run(Compiler.java:170)
[INFO] at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:88)
[INFO] at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:82)
[INFO] at com.google.gwt.dev.Compiler.main(Compiler.java:177)
[INFO] Caused by: java.io.InvalidClassException: com.google.gwt.dev.jjs.ast.JDeclaredType; local class incompatible: stream classdesc serialVersionUID = -8155793964565947646, local class serialVersionUID = -1052417216019896795

Jens

unread,
Feb 15, 2013, 11:37:13 AM2/15/13
to google-we...@googlegroups.com
Deleting gwt-unitCache solved the issue for me. I have also deleted war/<appname> and war/WEB-INF/deploy but I think thats not needed.

Can you compile through Eclipse using GPE? I don't think the maven plugin itself is causing the problem. Maybe you still have a gwt-unitCache folder lying around somewhere that you haven't found/deleted yet?

-- J.

EMan

unread,
Feb 15, 2013, 1:44:13 PM2/15/13
to google-we...@googlegroups.com
I deleted all my target/war directories, but it is still not working.  I don't have an easy way to compile with eclipse.  I will wait until there is a gwt maven plugin and try again.  Thanks.

Joseph Lust

unread,
Feb 15, 2013, 5:00:43 PM2/15/13
to google-we...@googlegroups.com
Added a checkbox to automatically scroll the log.
I've been waiting so long for this!

Sincerely,
Joe

On Wednesday, February 13, 2013 1:54:49 PM UTC-5, Matthew Dempsky wrote:
Message has been deleted

sluramod

unread,
Feb 15, 2013, 5:49:37 PM2/15/13
to google-we...@googlegroups.com
This issue is open since August 2011. Is it a trivial fix, why is not being included in 2.5, 2.5.1?

https://code.google.com/p/google-web-toolkit/issues/detail?id=6653

Alexei

Matthew Dempsky

unread,
Feb 15, 2013, 5:50:01 PM2/15/13
to google-web-toolkit
On Fri, Feb 15, 2013 at 2:48 PM, sluramod <alexei....@gmail.com> wrote:
This issue is hanging there since Aug, 2011. It is a trivial change, why is it not being included in 2.5, 2.5.1?

Sorry, what issue are you referring to?

Matthew Dempsky

unread,
Feb 15, 2013, 5:55:47 PM2/15/13
to google-web-toolkit
On Fri, Feb 15, 2013 at 2:49 PM, sluramod <alexei....@gmail.com> wrote:
This issue is open since August 2011. Is it a trivial fix, why is not being included in 2.5, 2.5.1?

https://code.google.com/p/google-web-toolkit/issues/detail?id=6653

Sorry, I wasn't aware of that issue when we were triaging bugs for 2.5.1, and there wasn't a patch readily available so it didn't get prioritized.  If you want to make sure it gets fixed in the next release, the best thing to do is upload a patch to either gwt-code-reviews.appspot.com or gwt-review.googlesource.com.

sluramod

unread,
Feb 15, 2013, 6:08:10 PM2/15/13
to google-we...@googlegroups.com
Please read first comment in the issue:

This issue still exists in the final version (2.4.0).  It's a very easy fix.  Simply edit com.google.gwt.activity.shared.Activity and replace line 18 by the following:

import com.google.web.bindery.event.shared.EventBus;

Thomas Broyer

unread,
Feb 15, 2013, 6:31:38 PM2/15/13
to google-we...@googlegroups.com


On Saturday, February 16, 2013 12:08:10 AM UTC+1, sluramod wrote:
Please read first comment in the issue:

This issue still exists in the final version (2.4.0).  It's a very easy fix.  Simply edit com.google.gwt.activity.shared.Activity and replace line 18 by the following:

import com.google.web.bindery.event.shared.EventBus;

It's not as easy as it sounds: this is a breaking change. Changing the Activity interface that way breaks every subclass.
It'll be done in due time, when totally retiring the com.google.gwt.event.shared.EventBus, but no sooner.

Ümit Seren

unread,
Feb 16, 2013, 9:42:03 AM2/16/13
to google-we...@googlegroups.com
This happens if you have an older version of a gwt-x library in your classpath. 
It actually happened to me because the gwt-bootstrap version I used had a dependency to an old gwt-codeserver-1.5.0.jar version.  This dependency was removed in a latter gwt-bootstrap snapshot. 
Run  mvn dependency:tree -Dverbose on your gwt app and check if there any references to an older gwt version. 

Regarding gwt-maven plugin. Yes it is still version 2.5.0 but you can use newer GWT SDKs (http://mojo.codehaus.org/gwt-maven-plugin/user-guide/using-different-gwt-sdk-version.html)
Reply all
Reply to author
Forward
0 new messages