On Sat, May 16, 2009 at 10:41 PM, Cameron Braid <[email protected]>wrote:

> I am tryng gwt trunk r5406 and have run into issues with GWT's rebinding.
>
> here are some errors from my different modules :
>
>      [java]    [ERROR] Errors in
> 'jar:file:/media/home/cameronbraid/.m2/repository/gwtquery/gwtquery/0.3-a/gwtquery-0.3-a.jar!/gwtquery/client/SelectorEngine.java'
>      [java]       [ERROR] Line 20:  Rebind result
> 'gwtquery.client.impl.SelectorEngineImpl' cannot be abstract
>
>      [java]    [ERROR] Errors in
> 'jar:file:/media/home/cameronbraid/.m2/repository/com/google/gwt/incubator/gwt-incubator/r1539/gwt-incubator-r1539.jar!/com/google/gwt/gen2/logging/impl/client/ClientConsoleLogHandlerImpl.java'
>      [java]       [ERROR] Line 206:  Rebind result
> 'com.google.gwt.gen2.logging.impl.client.ClientConsoleLogHandlerImpl.Impl'
> must be a class
>
>      [java]    [ERROR] Errors in
> 'jar:file:/media/home/cameronbraid/.m2/repository/com/extjs/gxt/1.2.2-r1236/gxt-1.2.2-r1236.jar!/com/extjs/gxt/ui/client/widget/form/NumberPropertyEditor.java'
>      [java]       [ERROR] Line 29:  Rebind result
> 'com.google.gwt.i18n.client.constants.NumberConstants' must be a class
>
> These errors didn't occur using an older GWT trunk version r4619
>

The first two are probably running into the IE8 changes (where you need the
ie8 deferred binding rules for user.agent-sensitive bindings).

The NumberConstants change was due to adding runtime locales support, and
you should no longer be GWT.create'ing it, but instead use
LocaleInfo.getCurrentLocale().getNumberConstants().  If you really must do
GWT.create, you can use NumberConstantsImpl but that is an implementation
class and may change, and you will lose the ability to use runtime locales.

-- 
John A. Tamplin
Software Engineer (GWT), Google

--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~----------~----~----~----~------~----~------~--~---

Reply via email to