GWT 2.5 RC2 Is Here!

1,908 views
Skip to first unread message

unnurg

unread,
Oct 3, 2012, 11:34:41 PM10/3/12
to google-we...@googlegroups.com
Hey all,

We're excited to announce the GWT 2.5 Release Candidate 2! There will be an announcement soon on the GWT Blog, and you can download it here (bottom of the page). The RC has been uploaded to Maven Central with the version string of 2.5.0-rc2.

We are hoping to graduate this RC to 2.5 Final within a few weeks, so please give it a try and let us know your feedback!  Also, many thanks to all of you for your contributions. Without your help, we wouldn't have had a GWT 2.5 release at all!


-Unnur, on behalf of the GWT team
(yes - this is a re-post - this time with the correct subject line)

unnurg

unread,
Oct 3, 2012, 11:36:57 PM10/3/12
to google-we...@googlegroups.com
Changes from RC1 are fairly minimal - details are in the release notes (and pasted below)

Release Notes for 2.5.0 (RC2)

This is release candidate 2 of GWT 2.5. See the What's new in GWT 2.5 page as well as release notes below for the full list of features and bugfixes in this release.

Changes since RC1

  • The GWT tools can now run on JDK 7. (However, no JDK 7 language or library features are available in GWT code yet.)
  • The accessibility library introduced in RC1 has been cleaned up for release.
  • Support for validation is improved, documented, and no longer considered experimental.
  • Other fixes; see the issue tracker for more.

Juan Pablo Gardella

unread,
Oct 3, 2012, 11:56:46 PM10/3/12
to google-we...@googlegroups.com
Great!!! Thanks!

2012/10/4 unnurg <unn...@google.com>

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/ndBmkBQgpUcJ.

To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Thomas Broyer

unread,
Oct 4, 2012, 3:55:30 AM10/4/12
to google-we...@googlegroups.com, unn...@google.com
Hi Unnur,

First, congrats for this well-driven release!

Just to let you know that the svn:mime-type is missing from the javadoc, so it displays in plain text. Both http://google-web-toolkit.googlecode.com/svn/javadoc/2.5/index.html and http://google-web-toolkit.googlecode.com/svn/javadoc/latest/index.html (minutes ago I wanted to link to the javadoc in a StackOverflow response and stumbled on that text/plain response; in the mean time I just linked to the 2.4 version)

Thomas Broyer

unread,
Oct 4, 2012, 4:08:22 AM10/4/12
to google-we...@googlegroups.com, unn...@google.com


On Thursday, October 4, 2012 9:55:30 AM UTC+2, Thomas Broyer wrote:
Hi Unnur,

First, congrats for this well-driven release!

Just to let you know that the svn:mime-type is missing from the javadoc, so it displays in plain text. Both http://google-web-toolkit.googlecode.com/svn/javadoc/2.5/index.html and http://google-web-toolkit.googlecode.com/svn/javadoc/latest/index.html (minutes ago I wanted to link to the javadoc in a StackOverflow response and stumbled on that text/plain response; in the mean time I just linked to the 2.4 version)

BTW, someone else noticed and filed a bug: http://code.google.com/p/google-web-toolkit/issues/detail?id=7711

Thomas Broyer

unread,
Oct 4, 2012, 4:35:02 AM10/4/12
to google-we...@googlegroups.com


On Thursday, October 4, 2012 5:36:57 AM UTC+2, unnurg wrote:
Changes from RC1 are fairly minimal - details are in the release notes (and pasted below)

Release Notes for 2.5.0 (RC2)

This is release candidate 2 of GWT 2.5. See the What's new in GWT 2.5 page as well as release notes below for the full list of features and bugfixes in this release.

Changes since RC1

  • The GWT tools can now run on JDK 7. (However, no JDK 7 language or library features are available in GWT code yet.)
  • The accessibility library introduced in RC1 has been cleaned up for release.
The "Accessibility" entry in the menu is missing the "(2.5)" and "New!" tags.

 
  • Support for validation is improved, documented, and no longer considered experimental.
That page says "Hibernate Validator 4.1.0 or later" whereas it actually only works with 4.1.0 (see http://code.google.com/p/google-web-toolkit/issues/detail?id=7661 )

nas

unread,
Oct 4, 2012, 4:39:14 AM10/4/12
to google-we...@googlegroups.com
Thanks for the release.  Would the Validation work with AppEngine - at least the client-side? Has anyone managed to implement the client side validation with GAE?   I have tested GWT 2.4 but gives security exceptions while testing on dev sdk, even for Client-side validation.
Thanks

Thomas Broyer

unread,
Oct 4, 2012, 7:33:38 AM10/4/12
to google-we...@googlegroups.com, unn...@google.com
Looks like some commits haven't been cherry-picked in the releases/2.5 branch :-(


On Thursday, October 4, 2012 5:34:41 AM UTC+2, unnurg wrote:

unnurg

unread,
Oct 4, 2012, 3:43:20 PM10/4/12
to google-we...@googlegroups.com
Quick update - there was a small issue in the samples/build.xml which made it so that ant eclipse.generate was not working.  The binary has been updated with a fix for that issue.

unnurg

unread,
Oct 4, 2012, 3:43:57 PM10/4/12
to google-we...@googlegroups.com, unn...@google.com
Chatted with Thomas and we think this was not actually the issue - details on the bug thread

Rodrigo Chandia

unread,
Oct 5, 2012, 1:56:52 PM10/5/12
to google-we...@googlegroups.com
Thanks for catching the mistakes! It'll be fixed shortly.


On Thu, Oct 4, 2012 at 4:53 AM, Frédéric Lallemand <thread...@gmail.com> wrote:
I have noticed a few mistakes in the section on uiRenderer

https://developers.google.com/web-toolkit/doc/latest/DevGuideUiBinder#Rendering_HTML_for_Cells
-> UiRenderer isn't generics

https://developers.google.com/web-toolkit/doc/latest/DevGuideUiBinder#UiRenderer_for_event_handling
-> @UiHandler("{nameSpan}") "{" have to be outside quotes

Congrats for this new release :)
Best regards

P.S. Sorry for my childish English...


On Thursday, October 4, 2012 5:34:41 AM UTC+2, unnurg wrote:
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.

To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.



--
Rodrigo Chandia | Software Engineer | rcha...@google.com | 678 7431725

Andy Stevko

unread,
Oct 5, 2012, 3:53:43 PM10/5/12
to google-we...@googlegroups.com
Has anyone tried the 2.5rc2 release with an app that uses the GAE Channel api?

On production servers and version 2.4, my app has a stable inbound messaging sink whereas on 2.5rc2 the very same software is getting bombarded with repeated inbound messages.

-- Andy Stevko
===========
"If everything seems under control, you're just not going fast enough." M. Andretti





cd

unread,
Oct 10, 2012, 7:49:05 AM10/10/12
to google-we...@googlegroups.com
Hi all,

Is it me, or is the SHA1 sum not correctly displayed at the download page (https://developers.google.com/web-toolkit/versions)? 

It says it should be bbb906bdd0250c73c2f8e530b4a8c0039710f329, but I get 9a9d0f16c9fda7ffebc04016aa3c735e1057b0e8

Thanks for checking
Erwin

Op donderdag 4 oktober 2012 05:34:41 UTC+2 schreef unnurg het volgende:

Thomas Broyer

unread,
Oct 10, 2012, 11:17:03 AM10/10/12
to google-we...@googlegroups.com


On Wednesday, October 10, 2012 1:49:05 PM UTC+2, cd wrote:
Hi all,

Is it me, or is the SHA1 sum not correctly displayed at the download page (https://developers.google.com/web-toolkit/versions)? 

It says it should be bbb906bdd0250c73c2f8e530b4a8c0039710f329, but I get 9a9d0f16c9fda7ffebc04016aa3c735e1057b0e8

Thanks for checking

Brian Slesinsky

unread,
Oct 10, 2012, 5:45:46 PM10/10/12
to google-we...@googlegroups.com
It looks like we updated the checksum in source control but forgot to make the change live. It should be correct now.

Paul Wagland

unread,
Oct 10, 2012, 6:35:33 PM10/10/12
to google-we...@googlegroups.com
Great news! This results is massive code reductions for us! Especially with the closure compiler. Wow!

The only problem I see so far, is that my issue is still not addressed. For some reason when compiling I am getting two types that seem to have different Oracles, but the same name.

Changing line 275 of dev/core/src/com/google/gwt/dev/javac/typemodel/JAbstractMethod.java as follows

-      if (candidate.getType() != paramTypes[i]) {
+      if (!candidate.getType().toString().equals(paramTypes[i].toString())) {

fixes my problem. Is there any chance that this fix could be included in 2.5 final?


The simple example as given in that issue does not reproduce the problem, and I have not been able to reduce the problem down to the simplest case.

If it can't be fixed, I will live with it, since I already know the modifications that I need to make to get it to work with my product, but I would really like to be able to use GWT "out of the box".

Thanks in advance for your considerations.

Brian Slesinsky

unread,
Oct 10, 2012, 6:58:58 PM10/10/12
to google-we...@googlegroups.com
Probably not since it isn't a regression. At this point most changes will be after 2.5. (Figuring out a clean test case will help for making that happen.)

cd

unread,
Oct 11, 2012, 1:35:34 AM10/11/12
to google-we...@googlegroups.com
Thanks, Brian.
Best,
Erwin

Op woensdag 10 oktober 2012 23:45:46 UTC+2 schreef Brian Slesinsky het volgende:

Thomas Broyer

unread,
Oct 12, 2012, 5:11:52 AM10/12/12
to google-we...@googlegroups.com


On Friday, October 12, 2012 5:30:05 AM UTC+2, Nagesh Salunke wrote:
Hey,
Congratulations. first of all !
.
a curiosity question..
As GWT doesnot support Drag and drop feature of HTML5 yet,I am excited to know when the drag and drop feature will be introduced.

It's actually been added in 2.4 a year ago! Or are you looking for something else?

Dimitrijević Ivan

unread,
Oct 16, 2012, 3:55:16 AM10/16/12
to google-we...@googlegroups.com
The problem is that there is no documentation and/or tutorial at all about drag & drop support.
There is only one session from Google IO 2011 conference http://www.google.com/events/io/2011/sessions/gwt-html5-a-web-developers-dream.html

Thomas Broyer

unread,
Oct 16, 2012, 4:13:35 AM10/16/12
to google-we...@googlegroups.com


On Tuesday, October 16, 2012 9:55:16 AM UTC+2, Dimitrijević Ivan wrote:
The problem is that there is no documentation and/or tutorial at all about drag & drop support.

It's a thin wrapper around HTML5's DnD API, so any documentation and/or tutorial about HTML5 DnD (e.g. http://www.html5rocks.com/en/tutorials/dnd/basics/ ) applies, and the mapping from JS to GWT is rather straightforward.
Not all features are exposed by the GWT API though (no DropEffect for instance), so you might have to use JSNI at times.
If you ask me, the API is small enough that you can easily screen the javadoc (search for "drag" or "drop" in the class list) to grasp what's in there and what's not, how it maps to the native (JS) API, and how to use it (e.g. DragDropEventBase.isSupported()).

Dimitrijević Ivan

unread,
Oct 16, 2012, 5:19:19 AM10/16/12
to google-we...@googlegroups.com
I have to disagree with you. 
In order to use D&D you must set dragable property to true, uset setData method, and so forth...

Milan Cvejic

unread,
Oct 16, 2012, 11:56:48 AM10/16/12
to google-we...@googlegroups.com
I must say that documentation is by far worst part of GWT by my opinion. There is no clear documentation on advanced usage of editors, validation, UiBinder and so on... Yep, someone can go and see how some things are implemented in source, but sometimes it is not straight forward and difficult to grasp... Same goes with DnD api...

Drew Spencer

unread,
Oct 22, 2012, 8:28:45 AM10/22/12
to google-we...@googlegroups.com
I have to agree with Milan here.

We really could do with more tutorials and examples for the more complex features like validation and editors. Most of the time the best we get are fragments of code, half examples and javadocs.

If you aren't a super programmer with lots of experience then it's quite hard to really get how these things work with just basic documentation.

Drew
Reply all
Reply to author
Forward
0 new messages