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.
This situation was encountered using a Tomcat 5.5 Web Project in NB 6.5 beta. If "Deploy on Change" is enabled, NB will deploy the project even when only a JSP file changes. There is no reason to redeploy when a JSP file changes. The JSP compiler (e.g. Jasper) takes care of that by detecting changes and recompiling the JSP as necessary. (This is how this feature worked in previous versions of NetBeans like 6.1.) These unnecessary redeploys slow down development. Redeploying when a JSP changes is only really necessary if antiResourceLocking="true" in the project's context.xml file.
same for GlassFish: Only changes in *.java files should trigger a real compile an project deploy. For html, jsp, images, script files (js, json,...) the behavior of 6.1 (copy file on save both on project source and build area) is enough. Currently, for JSP/html users, it seems a regression from 6.1 to do a real redeploy on file save, as opposed to a mere file copy in the build area.
Changed summary. Previously: "NB should not redeploy when a JSP file changes" The in-place deployment may be more complicated than we think it is, but the only time a redeployment should occur is when a file is copied to build/web/WEB-INF/classes/
I tested with tomcat 5.5 and beta and web app is not redeployed when JSP is changed. It provides UI feedback that "server & IDE is handling it" but this does not necessarily mean real redeployment. This bug was found GFv2 plugin and has been fixed already. Issue 144756. Do yo report that real app redeployment is made for JSP?
No response from reporter. Closing as WORKSFORME.
Sorry, I actually can't test it anymore. Thanks to issue 141921, I can't even deploy my project. I'll try updating to one of the nightly builds. If it still occurs, I'll reopen.
You're right. An actual redeployment is not happening in 6.5 (Build 200811100001). Still, feedback is provided as if a deployment is happening. Could this misleading feedback be suppressed? Updating a JSP is instantaneous, yet sometimes the "deploying..." progress bar stays up for 10-20 seconds after the JSP file has been saved. The changes have already been made and are even visible when you access the page, but this progress bar indicates that the IDE is still performing some deployment-related work when it clearly isn't. Changed summary (was "Unnecessary deploy-on-change when changing non-java files") and priority (was P3).
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss