Async stubs generation for RemoteServices stopped working

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

Async stubs generation for RemoteServices stopped working

Postby alexzakharov » Wed Jun 03, 2009 12:25 pm

I've been playing with GWT Designer for the last week and things work as advertised. Yesterday I upgraded to the latest version of the designer to pickup GWT 1.6 integration and successfully built a couple of test projects. Again things work as expected. Among other things the stubs get automatically generated when a new remote service is created.

However for some reason today the the stub generation stopped working. I downloaded the latest designer, made sure 'Generate Async interfaces for RemoteServices' is checked in preferences but still - stubs are not generated.

Any thoughts?

My environment:
Eclipse 3.4.2
GWT 1.6
GWT Designer 7.0.0.200906031200
alexzakharov
 
Posts: 19
Joined: Wed Jun 03, 2009 12:14 pm

Re: Async stubs generation for RemoteServices stopped working

Postby Eric Clayberg » Wed Jun 03, 2009 5:33 pm

Do you have Auto Build turned off in Eclipse?
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: Async stubs generation for RemoteServices stopped working

Postby alexzakharov » Thu Jun 04, 2009 6:48 am

I do indeed! Must have happened when my Eclipse crashed really hard midday yesterday as I was creating a massive project from existing source. Anyway turning it back on fixed the stub generation.

much thanks

alex
alexzakharov
 
Posts: 19
Joined: Wed Jun 03, 2009 12:14 pm

Re: Async stubs generation for RemoteServices stopped working

Postby Eric Clayberg » Thu Jun 04, 2009 12:26 pm

Good. Glad that worked. The asyn stub generation is done using an Eclipse builder (just like the one used to create .class files from .java 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: Async stubs generation for RemoteServices stopped working

Postby .Sweeney. » Fri Jun 05, 2009 10:29 am

Hello,

I've got a similar (maybe the same) problem and I'm uncertain how to solve it. I attempt to add a new Remote service and it creates the client interface but not the Async interface of the server side implementation. Build Automatically is checked in my project menu. Build Async interfaces is checked in my GWT-Designer settings. When I go to project properties and select the builders tree item i see two builders: one of them is Java Builder, the other is Missing builder (com.swtdesigner.gwt.GWTBuilder). Could this be my problem? If so what do I do?

Thanks,
brian
.Sweeney.
 
Posts: 3
Joined: Fri Jun 05, 2009 10:22 am

Re: Async stubs generation for RemoteServices stopped working

Postby Eric Clayberg » Fri Jun 05, 2009 5:24 pm

Change the builder name to com.instantiations.designer.gwt.GWTBuilder and the nature name to com.instantiations.designer.gwt.GWTNature.
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: Async stubs generation for RemoteServices stopped working

Postby .Sweeney. » Sat Jun 06, 2009 8:45 am

Eric Clayberg wrote:Change the builder name to com.instantiations.designer.gwt.GWTBuilder and the nature name to com.instantiations.designer.gwt.GWTNature.


Eric could you please elaborate? Im unable to 'edit' the GWT builder and there is no Nature builder present. Could you walk me through the import of a new builder, I'm unfamiliar with the process. Or would it simply be better to just remove the software and reinstall it?

thanks,
brian
.Sweeney.
 
Posts: 3
Joined: Fri Jun 05, 2009 10:22 am

Re: Async stubs generation for RemoteServices stopped working

Postby Eric Clayberg » Sat Jun 06, 2009 12:04 pm

.Sweeney. wrote:Eric could you please elaborate?

Open and edit your project's .project 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: Async stubs generation for RemoteServices stopped working

Postby .Sweeney. » Tue Jun 09, 2009 7:24 am

Eric this seems to have done the trick - thanks! For those experiencing similar difficulty here is my .project file just for reference:

Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
   <name>MyProjectNameHere</name>
   <comment></comment>
   <projects>
   </projects>
   <buildSpec>
      <buildCommand>
         <name>com.instantiations.designer.gwt.GWTBuilder</name>
         <arguments>
         </arguments>
      </buildCommand>
      <buildCommand>
         <name>org.eclipse.jdt.core.javabuilder</name>
         <arguments>
         </arguments>
      </buildCommand>
   </buildSpec>
   <natures>
      <nature>org.eclipse.jdt.core.javanature</nature>
      <nature>com.instantiations.designer.gwt.GWTNature</nature>
   </natures>
</projectDescription>


brian
.Sweeney.
 
Posts: 3
Joined: Fri Jun 05, 2009 10:22 am

Re: Async stubs generation for RemoteServices stopped working

Postby Eric Clayberg » Tue Jun 09, 2009 12:04 pm

Glad that worked.
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