To avoid generating a default locale makes Designer to crash

GWT Designer allows you to quickly create the modules, composites, panels, remote services and other elements that comprise Google Web Tookit applications.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

To avoid generating a default locale makes Designer to crash

Postby eguardiola » Wed Oct 27, 2010 1:14 am

I'm using above lines to say to GWT compiler that i want two locales (en, es), default is en and generate only en and es.
Code: Select all
   <extend-property name="locale" values="en,es"/>
   <set-property-fallback name="locale" value="en"/>
   <set-property name="locale" value="en,es"/>


The problem is that the last line makes GWT Designer to crash(WindowBuilder internal error
). Log file says:

Rebinding com.google.gwt.i18n.client.impl.LocaleInfoImpl
Invoking generator com.google.gwt.i18n.rebind.LocaleInfoGenerator
[WARN] Unable to get locale properties, using defaults
com.google.gwt.core.ext.BadPropertyValueException: Property 'locale' cannot be set to unexpected value 'default'

My target is to avoid having to generate permutations for the fake default locale. My idea comes from the comment on this page:

http://code.google.com/p/google-web-too ... aleBinding


Thanks.
eguardiola
 
Posts: 7
Joined: Tue Oct 26, 2010 11:56 pm

Re: To avoid generating a default locale makes Designer to c

Postby Eric Clayberg » Wed Oct 27, 2010 5:05 am

Please submit this case using the Contact Support button in the error window. We need to see a test case and all of the log files.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Re: To avoid generating a default locale makes Designer to c

Postby eguardiola » Wed Oct 27, 2010 6:05 am

Attached a TestCase project.
Attachments
report6094262258859397311.xml
(143.85 KiB) Downloaded 17 times
eguardiola
 
Posts: 7
Joined: Tue Oct 26, 2010 11:56 pm

Re: To avoid generating a default locale makes Designer to c

Postby Eric Clayberg » Mon Nov 08, 2010 6:46 pm

Give this a try using the latest WindowBuilder 8.1 build...

http://code.google.com/javadevtools/dow ... -beta.html
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Re: To avoid generating a default locale makes Designer to c

Postby eguardiola » Wed Nov 10, 2010 7:14 am

i have found 8.1 in 'latest' channel, not 'beta' (beta seems void ¿?).

The problem persist for me. :?
Attachments
report3230195556046073247.xml
(136.9 KiB) Downloaded 7 times
eguardiola
 
Posts: 7
Joined: Tue Oct 26, 2010 11:56 pm

Re: To avoid generating a default locale makes Designer to c

Postby Eric Clayberg » Wed Nov 10, 2010 12:43 pm

Hmm. Try the beta channel again. The latest channel won't help you as it would exhibit the same issue.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Re: To avoid generating a default locale makes Designer to c

Postby eguardiola » Thu Nov 11, 2010 12:52 am

Seems to work properly with the designer from beta channel. Thanks! :)
eguardiola
 
Posts: 7
Joined: Tue Oct 26, 2010 11:56 pm

Re: To avoid generating a default locale makes Designer to c

Postby Eric Clayberg » Thu Nov 11, 2010 9:26 am

Glad that worked for you.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA


Return to GWT Designer

Who is online

Users browsing this forum: No registered users and 2 guests

cron