Reputation: 39691
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
Upvotes: 3
Views: 1566
Reputation: 10285
you don't need to deploy to app engine.
Simply, right-click the project in eclipse, then choose Run As -> Web Application
Then,
Upvotes: 3
Reputation: 2389
In general, it's not normal that your Developper
mode runs slow. Maybe you should take a look to find why it's slow.
To run in Production
mode, you can locally :
Tomcat
You should find more information here :
https://developers.google.com/web-toolkit/doc/2.4/DevGuideCompilingAndDebugging?hl=fr
Upvotes: 0