When you compile a class when Tomcat is running, IDEA prompts you if you want to redeploy the web app. If however you say yes, then on subsequent recompiles IDEA automatically redeploys the web app. I haven't found a way to change this setting from IDEA once you say "yes" to redeploy. You can however examine the IDEA .iml file for the project and you'll find this setting there which you can modify.
I just say "no" when IDEA asks me if I want to redeploy the web app on compile and on subsequent recompiles, the behaviour of not redeploying is preserved. On 1/12/07, Matt Raible <[EMAIL PROTECTED]> wrote:
I believe this is expected behavior. Tomcat doesn't have the ability to dynamically reload a single changed class. However, if you run it in debug mode, you may be able to get this feature.
I recompile and dynamically reload classes all the time. For this to happen, you need to be running the app with the debugger attached. Ofcouse any structural changes to the class cannot be dynamically reloaded. Only code changes within methods can be dynamically reloaded. This is a huge time saver for me. Sanjiv
