gwt-comet issue with GWT 2.5

241 views
Skip to first unread message

Aldo Neto

unread,
Jan 12, 2013, 11:05:42 AM1/12/13
to google-web-toolkit
Hi All

I know this is not a GWT direct issue, but I was not able to find a solution for the problem, so maybe someone out there already dealt with this problem.

I'm using gwt-comet project and it has been working perfectly so far, but now that I'm upgrading to GWT 2.5 I'm getting an error (http://code.google.com/p/gwt-comet/issues/detail?id=33).

I need to know if there is a solution (a JAR available compiled with GWT 2.5) or if anyone suggest a different project so I can replace the gwt-comet.

Thanks in advance,
Aldo

Takapa

unread,
Feb 15, 2013, 11:34:00 AM2/15/13
to google-we...@googlegroups.com, google-web-toolkit
I'm having the exact same problem.

I went further and downloaded the source, but its not documented at all and seems to reference several classes underneath com.sun.* packages which are not available to modern JDKs.

Jens

unread,
Feb 15, 2013, 11:43:58 AM2/15/13
to google-we...@googlegroups.com, google-web-toolkit
The most easy workaround is probably to download the CometSerializerGenerator.java from the issue you have mentioned and put it into your app's project into the correct package. 

Then as long as your classes/output folder is before gwt-comet.jar in your classpath the GWT compiler should pick up the generator from your app's project instead of gwt-comet.jar.

Alternative is to rebuild gwt-comet from source and replace the file beforehand.

-- J.
Reply all
Reply to author
Forward
0 new messages