Has anyone upgraded an app from GWT 1.5 to GWT 1.6? I'd like to hear if you had a strategy that you liked for this, or if you even needed a strategy.
Obviously, I can read the upgrade doc. Just wondering if someone's done the upgrade and hit any gotchas.
I went ahead and began the conversion. I haven't finished yet, but in case someone else is considering an upgrade from 1.5 to 1.6, I'll go ahead and answer the question with what I've seen so far.
For many people (all?), the compiler won't work, and fails with a stack overflow error. You can fix this with the command line tools, but I haven't found a way to fix it with the plugin. To fix this from the command line, you'll need to add a stack parameter to increase the size of the stack. I build with ant, so I added the following line to build.xml:
<jvmarg value="-Xss64M" />
As I learn more, I'll update this.
Update 5/3/2009:
The upgrade is done. Not sure I like it as much as 1.5. Eclipse isn't entirely in tune with the new file layout. That is, it's not recognizing the war directory as being the root for web content now. There's probably a setting for this somewhere.
Additional notes:
For the last item, the code isn't being instrumented by the ant build, so the production deploy isn't affected by this bug. It's only the code generated by Eclipse, which I explicitly exclude from the production war.
The following is a gratuitous plug for the web site where this is deployed, so don't read it if such things annoy you: https://penwag.com/
Update 5/9/2009
Update 6/2/2009
GWT Upgrade Page
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With