Is there any way to run GWT in “release” mode locally? I’m developing a project using canvas, and it’s so painfully slow that I can’t really be productive. In release mode the performance is fine. Obviously I’d lose all the benefits of debug mode, but in this case it’s taking too long to work,
Thanks
—————– Edit —————–
By “release” mode I mean “production” mode. Running “locally” means I right-click the project in eclipse, then choose Run As -> Web Application. Then I can navigate a browser to “http://127.0.0.1:8888/myproject.html?gwt.codesvr=127.0.0.1:9997” to view. It’s here that the canvas code runs way too slow to be productive.
Again, it runs fine in “production” mode (right-click the app, google -> deploy to app engine). When I hit the live url (http://myproject.appspot.com), the canvas code runs nice and fast.
So in “local” mode, every time I make a change to my source and refresh the browser, the changes are immediately available. But for this case, could I run production mode locally instead?
Thanks again
you don’t need to deploy to app engine.
Simply, right-click the project in eclipse, then choose Run As -> Web Application
Then,
‘http://127.0.0.1:8888/myproject.html?gwt.codesvr=127.0.0.1:9997‘