I think currently the codeserver only serves the compiled JavaScript of 
your app. So you still have to use a server that serves your server side 
code.

Thats what I do:

1.) create a new module.gwt.xml that inherits your main app and adds the 
xsiframe linker and sets the devModeRedirectEnabled property 
(see: 
http://code.google.com/p/google-web-toolkit/source/browse/trunk/samples/hello/src/com/google/gwt/sample/hello/Hello.gwt.xml?spec=svn11016&r=11016)

2.) Start code server with that new module

3.) copy your apps host html page and modify it to point to the bootstrap 
file provided by the code server. So instead of <script 
src="app/app.nocache.js"> you now have <script 
src="http://host:port/app/app.nocache.js";>. Thats why you need a different 
linker in your module.gwt.xml.

4.) Deploy your gwt app like always, e.g. starting the normal dev mode to 
use embedded jetty or deploy it using an external server.

5.) Open your deployed host html page in the browser and it should load the 
compiled app from the SuperDevMode code server. If you have started the 
normal dev mode to use embedded jetty as server you would omit the 
gwt.codeserver GET parameter when loading the host html page.


-- J.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/9oYq7mW0Er8J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to