ServiceAsync is refreshed without changing Service

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

ServiceAsync is refreshed without changing Service

Postby ashouric » Wed Nov 22, 2006 4:12 am

Dear All,

When a project is associated with a VSS plugin, whenever I change anything, e.g. compiler settings that shouldn't affect existing code, Eclipse warns that all AsyncService are target of change, do you want to checkout or not.

I guess Designer is trying to refresh Async in some unneeded situations. it would be better to change Async only when the Service is changed.

Many thanks.
ashouric
 
Posts: 75
Joined: Sat Sep 30, 2006 9:13 pm

Re: ServiceAsync is refreshed without changing Service

Postby Eric Clayberg » Wed Nov 22, 2006 9:13 am

ashouric wrote:When a project is associated with a VSS plugin, whenever I change anything, e.g. compiler settings that shouldn't affect existing code, Eclipse warns that all AsyncService are target of change, do you want to checkout or not.

I guess Designer is trying to refresh Async in some unneeded situations. it would be better to change Async only when the Service is changed.

This appears to be default Eclipse behavior.

Changing compiler settings triggers a full build of your project. Any Eclipse builders (including the Eclipse compiler and the GWT Designer Service builder) are triggered automatically and any derived resources are regenerated. Derived resource include your .classs file and your *ServiceAsync Java files.

We are looking into seeing whether there is a work around for this such as selectively disabling the Service builder during a full 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

Re: ServiceAsync is refreshed without changing Service

Postby Eric Clayberg » Wed Nov 22, 2006 11:56 am

The latest GWT Designer build now includes a work around that will prevent our Service class builder from running during an Eclipse full 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


Return to GWT Designer

Who is online

Users browsing this forum: No registered users and 3 guests