IDE setup: How to dynamically reload/display code changes?

Hi,

I am running a basic Vaadin application (HelloVaadin) on Tomcat 7. I do a change to the code (e.g. change a label) and get the following message in the server console:

29.03.2011 09:04:49 org.apache.catalina.core.StandardContext reload
INFO: Reloading Context with name
[/HelloVaadin] has started
29.03.2011 09:04:50 org.apache.catalina.core.StandardContext reload
INFO: Reloading Context with name
[/HelloVaadin] is completed

Nevertheless I do not see the change when I reload the site in my webbrowser (normal startup and also debug mode). What do I need to achive this? I don’t want to restart my server all the time.

Regards,
-Steffen-

My experience is in combination with jetty 6.1.13 and maven.

http://docs.codehaus.org/display/JETTY/Maven+Jetty+Plugin

But you still need to include ?restartApplication in your url to reload the layout again, because it is stored in the session and the session store is not cleaned during a redeploy.

Maybe you can do it with Tomcat but i have no experience with that so far.

Thanks for the quick reply, adding ?restartApplication to the URL seems to work. Is this documented somewhere?

And how can I achive this if I develop for Google App Engine? There the ?restartApplication parameter is not working.

Regards,
-Steffen-