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?
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.
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-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment