Unnecessary redeploys by "deploy on save"
- Dominant language
- Java
- Stars
- 3.1k
- Forks
- 935
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 17
Description
### Apache NetBeans version
Apache NetBeans 23
### What happened
Working and making changes on different files and jumping from one file to another one sometimes triggers a webapp redeploy even though when no file has been saved at all.
This is a problem because Wildfly, Tomcat and Glassfish run out of PermGen after 10 or so redeploys.
The webapp should only redeploy when changes has been saved. Or am I misunderstanding this feature?
### Language / Project Type / NetBeans Component
Java maven project
### How to reproduce
Reproduceable with any maven webapp.
### Did this work correctly in an earlier version?
No / Don't know
### Operating System
ubuntu 24.04
### JDK
openjdk 17
### Apache NetBeans packaging
Apache NetBeans Snap Package
### Anything else
_No response_
### Are you willing to submit a pull request?
No
Contributor guide
Research direction
Start by reproducing the unnecessary redeploy with a Maven webapp while switching between unsaved files, then trace the NetBeans deploy-on-save behavior involved in the webapp workflow. Verify the change by confirming that switching files without saving causes no redeploy, while saving a changed file still does.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100