--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-tool...@googlegroups.com.
To post to this group, send email to google-we...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
Waiting for Maven Central......
Quick question - has anyone had any problems with deploying to appengine using the maven-gae-plugin? I tried a couple of times with 2.7rc1 and when I tried to load the deployed version it seemed to be looking for the dev mode server.
Why isn't this available from the Eclipse update site (luna)? For that matter I can't find 2.6.1 there either.
I tried to use GWT 2.7 SDM with Tomcat server. From Eclipse, I launched our app launcher file used to work with GWT 2.6 Dev mode, and so now with GWT2.7 it becomes SDM by default.
The initial compilation is OK and code server starts fine and our app web server (using GWT RPC) starts fine. But when I tried to load from Chrome, the page is empty and the console said cannot load module nocache.js file. I searched the issue and found a old post with workaround to point the moudule nocache.js file to code server instead of the web server: https://code.google.com/p/google-web-toolkit/issues/detail?id=8886
When you start DevMode -war /path/to/war/ then GWT 2.7 will generate a <module>.nocache.js file in the specified war folder. However it does not override any existing <module>nocache.js file. So the best thing you can do is to delete your old /path/to/war/<module> folder so that you start with a fresh one generated by GWT 2.7. After SDM has started you can deploy the war and recompile on reload should work.The above also means that if you build a production version of your app you should first clean that folder again so you do not accidentally deploy a generated <module>.nocache.js file into production that was actually meant to be used with SDM only.-- J.
Thanks for your info. I clean the war/client dir and then launch SDM but still the launch page http://127.0.0.1:8888/module.html still cannot load client/module.nocache.js file although the module.nocache.js file is really under war/client/module.nocache.js. This is Tomcat server, does SDM create other server than Jetty different?
I did a test to manually rename the module.nocache.js to module-nocache.js file and upate module.htmi to load client/module-nocache.js file, it works. How come?
If you use Tomcat then you launch DevMode -noserver -war <exploded war folder> which tells GWT to not start the Jetty server provided by GWT. Instead GWT assumes that you deploy <exploded war folder> yourself using whatever server you like.DevMode -noserver -war <exploded war folder> is the same as CodeServer -launcherDir <exploded war folder> . Both just start the SDM code server and don't care about deploying your server side code.
I did a test to manually rename the module.nocache.js to module-nocache.js file and upate module.htmi to load client/module-nocache.js file, it works. How come?No idea. Most likely there is something strange with your setup.-- J.
By downloading, you agree to the Terms of Service and Privacy Policy.
For help or troubleshooting, ask questions in the discussion group.
what i do help me thanks in advance
--
You received this message because you are subscribed to a topic in the Google Groups "GWT Users" group.