Executing GWT Projects

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

Executing GWT Projects

Postby balaarjunan » Wed Nov 15, 2006 8:09 pm

I am not able to the excute the created GWT project, In "Run as" am getting the GWT option,but if i SElect GWT, or if I select GWT new Configuration and run it, it throws an error message saying " Loading Failed"...
What Shall be done
balaarjunan
 
Posts: 5
Joined: Wed Nov 15, 2006 8:00 pm

Re: Executing GWT Projects

Postby Eric Clayberg » Wed Nov 15, 2006 8:46 pm

balaarjunan wrote:I am not able to the excute the created GWT project, In "Run as" am getting the GWT option,but if i SElect GWT, or if I select GWT new Configuration and run it, it throws an error message saying " Loading Failed"...
What Shall be done

Instructions for running a GWT application are provided in the Application Launching section of the GWT Designer documentation.

If you are seeing a specific exception, you should post it here.
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

Application Launcing

Postby balaarjunan » Wed Nov 15, 2006 8:55 pm

Yeah, I did that, but when i run my application, the GWT shell launches followed by the wrapper, and it throws an error message saying
"
Unable to Find type 'com.mycompany.project.client.ImageViewer"

then failure to load module message, two hints were given,one is reg the 'previous compile error' i checked that, but it isnt...then the second hint,

'check the inheritance from the module', i checked that also....

FYI: My project name is "SampleGwtproject", does this name relate with any of the 'com.mycompany.project.client.ImageViewer"????
If so what should i DO??
balaarjunan
 
Posts: 5
Joined: Wed Nov 15, 2006 8:00 pm

Re: Application Launcing

Postby Eric Clayberg » Wed Nov 15, 2006 8:59 pm

balaarjunan wrote:If so what should i DO??

I don't know based on what you have described.

You will need to send us a test case.
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

Executing GWT Projects

Postby balaarjunan » Wed Nov 15, 2006 10:32 pm

hi,
what is was telling is

I have a Project Named "SampleGwtproject", I have created this project in the Eclipse as described in the example Documentation in the site, when i opened this project, it had the "ImageViewer Class", now When i tried to run this project as Described in the "Application Launching" , I couldnt make it out, it throws an error saying" Error Launching the Application"
balaarjunan
 
Posts: 5
Joined: Wed Nov 15, 2006 8:00 pm

Re: Executing GWT Projects

Postby Eric Clayberg » Thu Nov 16, 2006 1:43 pm

Any exceptions in your Eclipse ".log" file?

Can you send us the project you created as a test case?

I don't know enough about the problem based on your description to help.
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

Same issue, but only with gwt 1.2

Postby cwang » Tue Nov 28, 2006 2:09 pm

I'm experiencing the same problem where I cannot execute even the default module (ImageViewer) when I'm using gwt 1.2.11. It runs fine with gwt 1.1.

Any input on this issue would be appreciated. There is nothing in my eclipse log file.
cwang
 
Posts: 6
Joined: Sat Oct 21, 2006 3:34 pm

Re: Same issue, but only with gwt 1.2

Postby Eric Clayberg » Tue Nov 28, 2006 3:42 pm

How exactly are you trying to execute it?

What version of GWT Designer are you using?

If you are using GWT 1.2.11, make sure that you are using the latest v1.0.1 build.
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

Here is what I'm doing...

Postby cwang » Tue Nov 28, 2006 4:22 pm

Hello, thanks for the quick response. What I'm doing is creating a new project and using the default module.

Then, I normally will use the keyboard shortcut of Alt-Shift-x-g. However, if I right-click and do the run-as command, I get the same result which is that it doesn't execute.

The only change that I make in Eclipse though is in the Window->Preference->GWT->Path to GWT Installation directory. Am I missing something?

I did download the latest version of the Instantiations binary today, so I have a feeling I must be missing some sort of setup thing that others are not missing.
cwang
 
Posts: 6
Joined: Sat Oct 21, 2006 3:34 pm

Re: Here is what I'm doing...

Postby Eric Clayberg » Tue Nov 28, 2006 6:42 pm

Does anything happen when you select Run As > GWT Application?

What happens if you create a launch configuration manually?

Does your project show any errors?

Can you send your project to us?

Can you also send us your 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

Solved by Eric

Postby cwang » Thu Nov 30, 2006 7:28 am

I sent Eric a sample project and some other info and basically what it boiled down to was a bug in Google's GWT1.2.11. If anyone else encounters this issue, upgrade to 1.2.22 (the stable release) and it should work.
cwang
 
Posts: 6
Joined: Sat Oct 21, 2006 3:34 pm

Re: Solved by Eric

Postby Eric Clayberg » Fri Dec 08, 2006 6:24 am

cwang wrote:I sent Eric a sample project and some other info and basically what it boiled down to was a bug in Google's GWT1.2.11. If anyone else encounters this issue, upgrade to 1.2.22 (the stable release) and it should work.

Yes. GWT 1.2.11 did not allow spaces in project names. GWT 1.2.22 fixed this problem.
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 3 guests