Archive for the ‘gwt’ tag
GWT 2.0 SVN Snapshots have stopped working with Eclipse GWT Plugin
I regularly follow the development of Google Web Toolkit 2.0 and I compile and use its SVN snapshots in my projects.
Recently, after doing the regular svn update to SVN revision 7229 (Last Changed Date: 2009-12-02 08:01:22 +0200 (Wed, 02 Dec 2009)), I discovered that, in GWT Plugin for Eclipse 3.5, regular “Web Application” configuration fails with message:
Unknown argument: -style
It looks like some breaking change.
Luckily, it is possible to launch and debug your GWT project without using GWT Eclipse plugin. Just create a regular “Java Application” launch configuration, set “Main Class” to com.google.gwt.dev.DevMode, at the “Arguments” section set “Program Arguments” to something like -codeServerPort 9997 -port 8888 -war war -startupUrl myproject.html foo.bar.MyProject. One more thing to do is adding your “src” folder to “User Entries” in “Classpath” section and you are ready to continue your development.