Monday, November 29, 2010

Deprecated HandlerManager and svn 2.1 branch question

I'm updating my little gwt-traction library and noticed that it's
giving compile warnings when I compile with the 2.1 jar downloaded
from http://code.google.com/webtoolkit/download.html

I often build from source and looking at the 2.1 branch, it doesn't
look deprecated:

http://code.google.com/p/google-web-toolkit/source/browse/branches/2.1/user/src/com/google/gwt/event/shared/HandlerManager.java

I made the jump from cvs to mercurial and haven't used svn
extensively, so maybe there's something about svn that I'm missing,
but I assumed that this would be the code for the 2.1 release.

Question 1: What svn branch should I build to create the equivalent of
the released jars?

I understand that HandlerManager is being replaced with SimpleEventBus
but there was some discussion in September that it's still OK within
Widgets. See here http://groups.google.com/group/google-web-toolkit/browse_frm/thread/4c96f539e1b863fe/a73f6eb3d9f7e2f6

Question 2: Should I just suppress warnings or actually change the
HandlerManager in the Viewport code below?

http://code.google.com/p/gwt-traction/source/browse/src/com/tractionsoftware/gwt/user/client/Viewport.java

Thanks,
Andy

--
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-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment