Serveral questions from GWT newbie

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

Serveral questions from GWT newbie

Postby kelvin » Wed Mar 14, 2007 6:05 am

I just downloaded the latest trial version of GWT Designer 1.6 20070314 build and I got some problems (environment, eclipse 3.2 + WTP 1.5.3 + gwt-yui-ext 3rd party GWT widget). Here attached my eclipse project and any advice are hightly appreciated. Thanks:)

https://ikelvin.com/TEST2.rar

1) right click on the src/newGriffin/gwt/MainImpl.gwt.xml, run as GWT Application, it popup a run wizard with a alert "Module HTML MainImpl.html does not exist. If I browse for the html, it always filters all the html file except com.google.gwt.core.Core/history.html. so I must rename the MainImpl.html to MainImpl.htm in order to make it run.

2) right click on src/newGriffin/client/gwt/MainImpl.java and run as GWT Application, no response at all.

3) Open the src/newGriffin/client/gwt/MainImpl.java and switch to Design tag, the GWT Designer popup a alert box "com.swrdesigner.properties.PropertyException: java.lang.reflect.Invocation.TargetException"
Last edited by kelvin on Thu Mar 15, 2007 10:42 pm, edited 1 time in total.
kelvin
 
Posts: 14
Joined: Tue Mar 13, 2007 7:57 am

Re: Serveral questions from GWT newbie

Postby Eric Clayberg » Thu Mar 15, 2007 7:27 pm

1. Don't use multiple modules in a single package.

2. Don't place one module inside another.

3. An exception fragment isn't helpful (we need to see the complete Eclipse ".log" file).
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: Serveral questions from GWT newbie

Postby kelvin » Fri Mar 16, 2007 6:28 pm

Eric Clayberg wrote:1. Don't use multiple modules in a single package.


But even google use multiple modules in a single package (com.google.gwt.user).

And it seems not the reason of the Q1
kelvin
 
Posts: 14
Joined: Tue Mar 13, 2007 7:57 am

Re: Serveral questions from GWT newbie

Postby Konstantin.Scheglov » Sun Mar 18, 2007 9:17 pm

kelvin wrote:
Eric Clayberg wrote:1. Don't use multiple modules in a single package.


But even google use multiple modules in a single package (com.google.gwt.user).


"Even google" does not provide GUI builder for GWT. :-)

Problem with multiple modules in same package is that when you open GUI class, you need to exactly know to which GWT module it belongs. We need this to create correct class loader and support loading of public resources.

For example, if there is modules A and B in same package and in "client" there is GUI class that references some 1.png image. But modules A and B have different "public" folders, so we don't know where to look for image - in "public" of A or B.


kelvin wrote:And it seems not the reason of the Q1


Eric will give you better answer on Q1.

But it works for me - I can select "HTML", "HTM" and even "HtmL" files.
Konstantin.Scheglov
Moderator
 
Posts: 186
Joined: Tue Oct 18, 2005 8:11 pm
Location: Russian Federation, Lipetsk


Return to GWT Designer

Who is online

Users browsing this forum: No registered users and 3 guests