This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I have a WAR project with the option "Deploy on save" enabled. When I have multiple JAVA files opened and I switch from on to another, the IDE deploys the application. I'm also using Apache Tomcat 7.0.34.0.
I tried the following: - create web project with Tomcat target server - deploy project - add new Servlet => project was deployed automatically - add new Servlet => project was deployed - switch within servlets in editor but project was not deployed Please, try above test case and if you still encounter problems send us messages.log or your test case.
Created attachment 133032 [details] messages.log file
I did what you suggested and everything worked as expected. Then I tried to Run the project (F6) and, when I switch tabs, the IDE deploys the application. File messages.log is attached.
From messages.log I read you have Maven project and servlets in default package. But I am still not able to reproduce the problem. I have no idea what can trigger deployment in your case (some versioning system or some third-party plugin?).
I'll try to disable some plugins to check if one of them is triggering this behaviour. I'll let you know as soon as I have something.
Closing for now. If you have new findings feel free to reopen.