sharkman / cypal-studio

Automatically exported from code.google.com/p/cypal-studio
0 stars 0 forks source link

Support for gwt 1.6 #120

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
GWT 1.6 doesn't works out of the box under cypal 1.0.
It seem that gwt 1.6 doesn't use the tomcat/webapp/ROOT/web.xml anymore ...

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by olivier....@gmail.com on 20 Nov 2008 at 2:59

GoogleCodeExporter commented 9 years ago
Ok I've made it work :)

Many things have change from 1.5.x to 1.6.x visibly 
1) Shell class
 1.5.x: com.google.gwt.dev.GWTShell
 1.6.x: com.google.gwt.dev.GWTHosted

2) parameter: module must be added.
 1.5.x: -out out my.module/myPage.html
 1.6.x: -out out -startUrl my.module/myPage.html my.module

3) web.xml
 1.5.x: is taken from tomcat/webapps/ROOT/WEB-INF/web.xml
 1.6.x: is taken from $out/WEB-INF/web.xml

Patched is attached as an explanation support, more than to a definitive patch 
, that
solved this under *hosted with server* mode, but don't works in -noserver mode, 
but I
don't know if it's working (-noserver) in the trunk ...

I've try to isolate this changes to let the patch simple.

The GWT compilateur must be run before launching hosted mode (to copy static 
file in
gwtOutputDir).

Those configuration switch might be perhaps be part of an extension.

HIH && thanks you for cypal code, it's very very instructive.

Original comment by olivier....@gmail.com on 21 Nov 2008 at 4:26

Attachments:

GoogleCodeExporter commented 9 years ago
Found why it's not working in -noserver mode...
The GWT 1.6 is not changed from 1.5 in -noserver mode.

Patch provided.

Please note that this patch also modify the wtp deployment to deploy module in 
their
folder instead of deploying them in the root of the webapp (to provide the same
behaviour of a maven build).

Original comment by olivier....@gmail.com on 24 Nov 2008 at 10:14

Attachments:

GoogleCodeExporter commented 9 years ago
@olivier.nouguier,

   Just to say that I'm not ignoring your patch by not commenting on this bug. I'm
extremely thankful for providing this patch. I'm quite busy with my day job (a 
code
freeze is on Dec 5th and need to fix few bugs there...) and couldn't dedicate 
any
useful time for reviewing your patch. Will try to do this by next weekend and 
update
my comments here.

   Thanks again!

Original comment by grprakash on 24 Nov 2008 at 10:36

GoogleCodeExporter commented 9 years ago
Any news on this topic ?

May I use cypal for gwt 2.0 for gwt 1.6 support ?

Original comment by damien.cuvillier on 2 Apr 2009 at 11:01

GoogleCodeExporter commented 9 years ago
any news at all on this Cypal?

Original comment by mark.mac...@gmail.com on 20 Apr 2009 at 11:45

GoogleCodeExporter commented 9 years ago
Google has released its own plugin a few days ago...
It seems good...

Original comment by damien.cuvillier on 21 Apr 2009 at 10:44

GoogleCodeExporter commented 9 years ago
FYI:
http://groups.google.com/group/cypal-studio-for-gwt/browse_thread/thread/ee899b2
9910c9a8e

Original comment by grprakash on 22 Apr 2009 at 4:07

GoogleCodeExporter commented 9 years ago
Thanks guys!

Original comment by mark.mac...@gmail.com on 22 Apr 2009 at 5:07

GoogleCodeExporter commented 9 years ago
Are there any news regarding this? I think a lot of people is expecting the next
release of your great plugin to update their projects to GWT 1.6/1.7. 

Original comment by jmpe...@gmail.com on 31 Jul 2009 at 8:03