deploy module broken for converted project

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

deploy module broken for converted project

Postby alexzakharov » Fri Jun 26, 2009 9:05 am

Environment - latest designer (7.1....0626..), gwt 1.6, eclipse 3.4.2

I have simple one file java console project.
Right click on the project->convert to GWT
Add Module.
(Debug module - everything works - you see the 'ClickMe't button etc)
Deploy module: war is built successfully BUT Module's .html and .css are both wiped out!

This is very easy to duplicate by doing exactly what I did above.

Two Questions:
- I noticed that for brand-new 'pure' GWT project .html and .css for new module get added to war/WEB-INF. But for converted projects .html and .css get added to war/com.my.package.MyModule directory. Is this by design?
- I think the above causes the .html and .css to be wiped out for converted projects because deploy module gwtcompiles the project and is putting resulting files into war/moduleName subdirectory?

Thoughts? For new modules in converted projects should I manually move the auto-generated html and css to WEB-INF? Assuming I'm right... can you fix it in GWT Designer itself, so I dont have to move it manually...
alexzakharov
 
Posts: 19
Joined: Wed Jun 03, 2009 12:14 pm

Re: deploy module broken for converted project

Postby alexzakharov » Fri Jun 26, 2009 9:17 am

Actually, I was able to duplicate this with 'pure' (non converted) project as well.

- create a brand new GWT project, but do NOT select to automatically create a module for the project.
- then right click on the project to add a module: html, css and 4 gif files are created under web-inf/mymodule
- deploy module. war is created successfully. now, refresh web-inf/mymodule directory - css and html and 4 gifs are all wiped out.
alexzakharov
 
Posts: 19
Joined: Wed Jun 03, 2009 12:14 pm

Re: deploy module broken for converted project

Postby Eric Clayberg » Sat Jun 27, 2009 3:00 pm

Please give it a try using the very latest GWT Designer v7.1 build.

For the existing project move the gif files, mymodule .css and mymodule .html files out of the /war/mymodule folder to the root of the /war folder.
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: deploy module broken for converted project

Postby alexzakharov » Mon Jun 29, 2009 8:03 am

Thanks, latest designer fixes the issue.
alexzakharov
 
Posts: 19
Joined: Wed Jun 03, 2009 12:14 pm

Re: deploy module broken for converted project

Postby Eric Clayberg » Mon Jun 29, 2009 12:06 pm

alexzakharov wrote:Thanks, latest designer fixes the issue.

Great to hear that.
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 1 guest